1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
231 #define SWIGTYPE_p_wxColourData swig_types[22]
232 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
233 #define SWIGTYPE_p_wxPyWindow swig_types[24]
234 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
235 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
236 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
237 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
238 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
239 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
240 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxFileDialog swig_types[32]
242 #define SWIGTYPE_p_wxPrinter swig_types[33]
243 #define SWIGTYPE_p_wxArrayInt swig_types[34]
244 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
245 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
247 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
248 #define SWIGTYPE_p_wxRect swig_types[39]
249 #define SWIGTYPE_p_char swig_types[40]
250 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
251 #define SWIGTYPE_p_wxFrame swig_types[42]
252 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
253 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
254 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
255 #define SWIGTYPE_p_wxStatusBar swig_types[46]
256 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
257 #define SWIGTYPE_p_wxPoint swig_types[48]
258 #define SWIGTYPE_p_wxObject swig_types[49]
259 #define SWIGTYPE_p_wxOutputStream swig_types[50]
260 #define SWIGTYPE_p_unsigned_long swig_types[51]
261 #define SWIGTYPE_p_wxMDIClientWindow swig_types[52]
262 #define SWIGTYPE_p_wxTipWindow swig_types[53]
263 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[54]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57]
267 #define SWIGTYPE_p_wxPopupWindow swig_types[58]
268 #define SWIGTYPE_p_wxSashWindow swig_types[59]
269 #define SWIGTYPE_p_wxTopLevelWindow swig_types[60]
270 #define SWIGTYPE_p_wxWindow swig_types[61]
271 #define SWIGTYPE_p_wxScrolledWindow swig_types[62]
272 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
273 #define SWIGTYPE_p_wxMenuBar swig_types[64]
274 #define SWIGTYPE_p_wxPrintPreview swig_types[65]
275 #define SWIGTYPE_p_wxSashEvent swig_types[66]
276 #define SWIGTYPE_p_wxString swig_types[67]
277 #define SWIGTYPE_p_wxPyPrintPreview swig_types[68]
278 #define SWIGTYPE_p_wxFontDialog swig_types[69]
279 #define SWIGTYPE_p_wxDirDialog swig_types[70]
280 #define SWIGTYPE_p_wxColourDialog swig_types[71]
281 #define SWIGTYPE_p_wxDialog swig_types[72]
282 #define SWIGTYPE_p_wxPanel swig_types[73]
283 #define SWIGTYPE_p_wxPageSetupDialog swig_types[74]
284 #define SWIGTYPE_p_wxPrintDialog swig_types[75]
285 #define SWIGTYPE_p_wxBitmap swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxPreviewControlBar swig_types[78]
288 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[79]
289 #define SWIGTYPE_p_wxColour swig_types[80]
290 #define SWIGTYPE_p_wxToolBar swig_types[81]
291 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[82]
292 #define SWIGTYPE_p_wxPrintDialogData swig_types[83]
293 static swig_type_info
*swig_types
[85];
295 /* -------- TYPES TABLE (END) -------- */
298 /*-----------------------------------------------
299 @(target):= _windows.so
300 ------------------------------------------------*/
301 #define SWIG_init init_windows
303 #define SWIG_name "_windows"
305 /* Auxiliar swig macros */
308 #define SWIGSTATICINLINE(a) static inline a
309 #define SWIGSTATIC(a) static a
310 #define swig_new_array(type, size) (new type[(size)])
311 #define swig_delete_array(cptr) delete[] cptr
312 #define swig_const_cast(type,a) const_cast<type>(a)
313 #define swig_static_cast(type,a) static_cast<type>(a)
314 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316 #ifdef HAVE_NUMERIC_CAST
317 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #define swig_numeric_cast(type,a) static_cast<type>(a)
324 #define SWIGSTATICINLINE(a) static a
325 #define SWIGSTATIC(a) static a
326 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327 #define swig_delete_array(cptr) free((char*)cptr)
328 #define swig_const_cast(type,a) (type)(a)
329 #define swig_static_cast(type,a) (type)(a)
330 #define swig_reinterpret_cast(type,a) (type)(a)
331 #define swig_numeric_cast(type,a) (type)(a)
333 #endif /* __cplusplus */
336 #define SWIG_FromSignedChar PyInt_FromLong
337 #define SWIG_FromUnsignedChar PyInt_FromLong
338 #define SWIG_FromShort PyInt_FromLong
339 #define SWIG_FromUnsignedShort PyInt_FromLong
340 #define SWIG_FromInt PyInt_FromLong
341 #define SWIG_FromLong PyInt_FromLong
342 #define SWIG_FromFloat PyFloat_FromDouble
343 #define SWIG_FromDouble PyFloat_FromDouble
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
348 #include "wx/wxPython/wxPython.h"
349 #include "wx/wxPython/pyclasses.h"
352 static const wxString
wxPyEmptyString(wxEmptyString
);
353 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
360 SWIGSTATICINLINE(long)
361 SWIG_CheckLongInRange(long value
, const char* type
,
362 long min_value
, long max_value
)
364 if (!PyErr_Occurred()) {
365 if (value
< min_value
) {
367 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
368 value
, type
, min_value
);
370 PyErr_SetObject(PyExc_OverflowError
, err
);
372 } else if (value
> max_value
) {
374 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
375 value
, type
, max_value
);
376 PyErr_SetObject(PyExc_OverflowError
, err
);
384 SWIGSTATICINLINE(long)
385 SWIG_AsLong(PyObject
* obj
)
387 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
391 #if INT_MAX != LONG_MAX
392 SWIGSTATICINLINE(int)
393 SWIG_AsInt(PyObject
*obj
)
395 return swig_numeric_cast(int,
396 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
397 "int", INT_MIN
, INT_MAX
));
400 #define SWIG_AsInt SWIG_AsLong
404 SWIGSTATICINLINE(int)
405 SWIG_CheckInt(PyObject
* obj
)
408 if (PyErr_Occurred()) {
417 SWIGSTATICINLINE(int)
418 SWIG_CheckLong(PyObject
* obj
)
421 if (PyErr_Occurred()) {
430 SWIGSTATICINLINE(bool)
431 SWIG_AsBool(PyObject
*obj
)
433 return PyObject_IsTrue(obj
) ? true : false;
437 SWIGSTATICINLINE(int)
438 SWIG_CheckBool(PyObject
* obj
)
441 if (PyErr_Occurred()) {
450 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
456 } else if (target
== Py_None
) {
460 if (!PyTuple_Check(target
)) {
462 target
= PyTuple_New(1);
463 PyTuple_SetItem(target
, 0, o2
);
466 PyTuple_SetItem(o3
, 0, o
);
469 target
= PySequence_Concat(o2
, o3
);
477 SWIGSTATICINLINE(double)
478 SWIG_AsDouble(PyObject
*obj
)
480 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
482 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
484 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
486 if (PyErr_Occurred()) {
488 PyErr_SetString(PyExc_TypeError
, "a double is expected");
494 SWIGSTATICINLINE(int)
495 SWIG_CheckDouble(PyObject
* obj
)
498 if (PyErr_Occurred()) {
506 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
507 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
508 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
509 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
510 bool wxDialog_IsModalShowing(wxDialog
*self
){
514 return self
->IsModalShowing();
519 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
521 self
->GetFieldRect(i
, r
);
524 static const wxString
wxPySplitterNameStr(wxT("splitter"));
525 static const wxString
wxPySashNameStr(wxT("sashWindow"));
526 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
528 #include <wx/popupwin.h>
531 class wxPopupWindow
: public wxWindow
{
533 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
534 wxPopupWindow() { wxPyRaiseNotImplemented(); }
537 class wxPyPopupTransientWindow
: public wxPopupWindow
540 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
541 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
545 #include <wx/tipwin.h>
547 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
548 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
551 #include <wx/tipwin.h>
554 #include <wx/vscroll.h>
557 class wxPyVScrolledWindow
: public wxVScrolledWindow
559 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
561 wxPyVScrolledWindow() : wxVScrolledWindow() {}
563 wxPyVScrolledWindow(wxWindow
*parent
,
564 wxWindowID id
= wxID_ANY
,
565 const wxPoint
& pos
= wxDefaultPosition
,
566 const wxSize
& size
= wxDefaultSize
,
568 const wxString
& name
= wxPyPanelNameStr
)
569 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
572 // Overridable virtuals
574 // this function must be overridden in the derived class and it should
575 // return the height of the given line in pixels
576 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
579 // this function doesn't have to be overridden but it may be useful to do
580 // it if calculating the lines heights is a relatively expensive operation
581 // as it gives the user code a possibility to calculate several of them at
584 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
585 // shouldn't rely on the latter being called for all lines in the interval
586 // specified here. It is also possible that OnGetLineHeight() will be
587 // called for the lines outside of this interval, so this is really just a
588 // hint, not a promise.
590 // finally note that lineMin is inclusive, while lineMax is exclusive, as
592 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
595 // when the number of lines changes, we try to estimate the total height
596 // of all lines which is a rather expensive operation in terms of lines
597 // access, so if the user code may estimate the average height
598 // better/faster than we do, it should override this function to implement
601 // this function should return the best guess for the total height it may
603 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
606 // Also expose some other interesting protected methods
609 // find the index of the line we need to show at the top of the window such
610 // that the last (fully or partially) visible line is the given one
611 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
612 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
614 // get the total height of the lines between lineMin (inclusive) and
615 // lineMax (exclusive)
616 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
617 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
623 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
625 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
626 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
627 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
630 SWIGSTATICINLINE(unsigned long)
631 SWIG_AsUnsignedLong(PyObject
* obj
)
633 if (PyLong_Check(obj
)) {
634 return PyLong_AsUnsignedLong(obj
);
636 long i
= PyInt_AsLong(obj
);
637 if ( !PyErr_Occurred() && (i
< 0)) {
638 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
645 SWIGSTATICINLINE(int)
646 SWIG_CheckUnsignedLong(PyObject
* obj
)
648 SWIG_AsUnsignedLong(obj
);
649 if (PyErr_Occurred()) {
658 SWIGSTATICINLINE(PyObject
* )
659 SWIG_FromUnsignedLong(unsigned long value
)
661 return (value
> LONG_MAX
) ?
662 PyLong_FromUnsignedLong(value
)
663 : PyInt_FromLong(swig_numeric_cast(long,value
));
667 #include <wx/vlbox.h>
669 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
671 class wxPyVListBox
: public wxVListBox
673 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
675 wxPyVListBox() : wxVListBox() {}
677 wxPyVListBox(wxWindow
*parent
,
678 wxWindowID id
= wxID_ANY
,
679 const wxPoint
& pos
= wxDefaultPosition
,
680 const wxSize
& size
= wxDefaultSize
,
682 const wxString
& name
= wxPyVListBoxNameStr
)
683 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
686 // Overridable virtuals
688 // the derived class must implement this function to actually draw the item
689 // with the given index on the provided DC
690 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
691 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
694 // the derived class must implement this method to return the height of the
696 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
697 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
700 // this method may be used to draw separators between the lines; note that
701 // the rectangle may be modified, typically to deflate it a bit before
702 // passing to OnDrawItem()
704 // the base class version doesn't do anything
705 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
706 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
709 // this method is used to draw the items background and, maybe, a border
712 // the base class version implements a reasonable default behaviour which
713 // consists in drawing the selected item with the standard background
714 // colour and drawing a border around the item if it is either selected or
716 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
717 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
723 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
725 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
726 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
727 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
728 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
732 #include <wx/htmllbox.h>
735 class wxPyHtmlListBox
: public wxHtmlListBox
737 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
739 wxPyHtmlListBox() : wxHtmlListBox() {}
741 wxPyHtmlListBox(wxWindow
*parent
,
742 wxWindowID id
= wxID_ANY
,
743 const wxPoint
& pos
= wxDefaultPosition
,
744 const wxSize
& size
= wxDefaultSize
,
746 const wxString
& name
= wxPyVListBoxNameStr
)
747 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
750 // Overridable virtuals
752 // this method must be implemented in the derived class and should return
753 // the body (i.e. without <html>) of the HTML for the given item
754 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
756 // this function may be overridden to decorate HTML returned by OnGetItem()
757 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
760 // // this method allows to customize the selection appearance: it may be used
761 // // to specify the colour of the text which normally has the given colour
762 // // colFg when it is inside the selection
764 // // by default, the original colour is not used at all and all text has the
765 // // same (default for this system) colour inside selection
766 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
768 // // this is the same as GetSelectedTextColour() but allows to customize the
769 // // background colour -- this is even more rarely used as you can change it
770 // // globally using SetSelectionBackground()
771 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
778 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
780 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
781 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
788 // implement dummy classes and such for wxMac
790 class wxTaskBarIcon
: public wxEvtHandler
793 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
797 class wxTaskBarIconEvent
: public wxEvent
800 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
801 { wxPyRaiseNotImplemented(); }
802 virtual wxEvent
* Clone() const { return NULL
; }
806 wxEVT_TASKBAR_MOVE
= 0,
807 wxEVT_TASKBAR_LEFT_DOWN
= 0,
808 wxEVT_TASKBAR_LEFT_UP
= 0,
809 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
810 wxEVT_TASKBAR_RIGHT_UP
= 0,
811 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
812 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
816 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
817 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
818 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
819 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
820 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
821 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
822 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
824 self
->GetFilenames(arr
);
825 return wxArrayString2PyList_helper(arr
);
827 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
830 return wxArrayString2PyList_helper(arr
);
832 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
833 return wxArrayInt2PyList_helper(self
->GetSelections());
835 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
836 return new wxSingleChoiceDialog(parent
, message
, caption
,
837 choices
, choices_array
, NULL
, style
, pos
);
842 // C++ version of Python aware wxWindow
843 class wxPyWindow
: public wxWindow
845 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
847 wxPyWindow() : wxWindow() {}
848 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
849 const wxPoint
& pos
= wxDefaultPosition
,
850 const wxSize
& size
= wxDefaultSize
,
852 const wxString
& name
= wxPyPanelNameStr
)
853 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
856 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
857 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
858 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
859 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
861 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
862 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
863 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
865 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
866 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
868 DEC_PYCALLBACK__(InitDialog
);
869 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
870 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
871 DEC_PYCALLBACK_BOOL_(Validate
);
873 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
874 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
875 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
877 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
878 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
883 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
885 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
886 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
887 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
888 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
890 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
891 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
892 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
894 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
895 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
897 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
898 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
899 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
900 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
902 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
903 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
904 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
906 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
907 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
910 // C++ version of Python aware wxPanel
911 class wxPyPanel
: public wxPanel
913 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
915 wxPyPanel() : wxPanel() {}
916 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
917 const wxPoint
& pos
= wxDefaultPosition
,
918 const wxSize
& size
= wxDefaultSize
,
920 const wxString
& name
= wxPyPanelNameStr
)
921 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
924 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
925 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
926 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
927 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
929 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
930 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
931 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
933 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
934 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
936 DEC_PYCALLBACK__(InitDialog
);
937 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
938 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
939 DEC_PYCALLBACK_BOOL_(Validate
);
941 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
942 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
943 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
945 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
946 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
951 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
953 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
954 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
955 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
956 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
958 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
959 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
960 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
962 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
963 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
965 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
966 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
967 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
968 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
970 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
971 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
972 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
974 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
975 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
979 #include "wx/wxPython/printfw.h"
982 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
983 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
987 // Since this one would be tough and ugly to do with the Macros...
988 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
992 wxPyBeginBlockThreads();
993 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
994 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
995 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
998 val
= PyTuple_GetItem(result
, 0);
999 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1002 val
= PyTuple_GetItem(result
, 1);
1003 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1006 val
= PyTuple_GetItem(result
, 2);
1007 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1010 val
= PyTuple_GetItem(result
, 3);
1011 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1018 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1023 wxPyEndBlockThreads();
1025 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1028 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1029 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1033 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1034 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1035 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1036 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1037 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1038 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1039 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1045 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1046 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1047 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1050 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1051 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1054 wxPyBeginBlockThreads(); \
1055 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1056 PyObject* win = wxPyMake_wxObject(a); \
1057 PyObject* dc = wxPyMake_wxObject(&b); \
1058 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1062 wxPyEndBlockThreads(); \
1064 rval = PCLASS::CBNAME(a, b); \
1067 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1068 return PCLASS::CBNAME(a, b); \
1074 class wxPyPrintPreview
: public wxPrintPreview
1076 DECLARE_CLASS(wxPyPrintPreview
)
1078 wxPyPrintPreview(wxPyPrintout
* printout
,
1079 wxPyPrintout
* printoutForPrinting
,
1080 wxPrintData
* data
=NULL
)
1081 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1084 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1085 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1086 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1087 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1088 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1089 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1090 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1095 // Stupid renamed classes... Fix this in 2.5...
1096 #if defined(__WXMSW__)
1097 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1098 #elif defined(__WXMAC__)
1099 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1101 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1104 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1105 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1106 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1107 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1108 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1109 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1110 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1113 class wxPyPreviewFrame
: public wxPreviewFrame
1115 DECLARE_CLASS(wxPyPreviewFrame
);
1117 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1118 const wxString
& title
,
1119 const wxPoint
& pos
= wxDefaultPosition
,
1120 const wxSize
& size
= wxDefaultSize
,
1121 long style
= wxDEFAULT_FRAME_STYLE
,
1122 const wxString
& name
= wxPyFrameNameStr
)
1123 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1126 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1127 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1129 DEC_PYCALLBACK_VOID_(Initialize
);
1130 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1131 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1136 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1138 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1139 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1140 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1143 class wxPyPreviewControlBar
: public wxPreviewControlBar
1145 DECLARE_CLASS(wxPyPreviewControlBar
);
1147 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1150 const wxPoint
& pos
= wxDefaultPosition
,
1151 const wxSize
& size
= wxDefaultSize
,
1153 const wxString
& name
= wxPyPanelNameStr
)
1154 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1157 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1159 DEC_PYCALLBACK_VOID_(CreateButtons
);
1160 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1165 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1166 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1167 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1172 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
*resultobj
;
1174 wxWindow
*arg1
= (wxWindow
*) 0 ;
1175 int arg2
= (int) (int)-1 ;
1176 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1177 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1178 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1179 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1180 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1181 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1182 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1186 bool temp6
= False
;
1187 PyObject
* obj0
= 0 ;
1188 PyObject
* obj1
= 0 ;
1189 PyObject
* obj2
= 0 ;
1190 PyObject
* obj3
= 0 ;
1191 PyObject
* obj4
= 0 ;
1192 PyObject
* obj5
= 0 ;
1194 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1201 arg2
= (int const) SWIG_AsInt(obj1
);
1202 if (PyErr_Occurred()) SWIG_fail
;
1207 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1213 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1217 arg5
= (long) SWIG_AsLong(obj4
);
1218 if (PyErr_Occurred()) SWIG_fail
;
1222 arg6
= wxString_in_helper(obj5
);
1223 if (arg6
== NULL
) SWIG_fail
;
1228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1229 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1231 wxPyEndAllowThreads(__tstate
);
1232 if (PyErr_Occurred()) SWIG_fail
;
1234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1249 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
*resultobj
;
1256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1259 result
= (wxPanel
*)new wxPanel();
1261 wxPyEndAllowThreads(__tstate
);
1262 if (PyErr_Occurred()) SWIG_fail
;
1264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1271 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
*resultobj
;
1273 wxPanel
*arg1
= (wxPanel
*) 0 ;
1274 wxWindow
*arg2
= (wxWindow
*) 0 ;
1276 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1277 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1278 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1279 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1280 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1281 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1282 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1286 bool temp7
= False
;
1287 PyObject
* obj0
= 0 ;
1288 PyObject
* obj1
= 0 ;
1289 PyObject
* obj2
= 0 ;
1290 PyObject
* obj3
= 0 ;
1291 PyObject
* obj4
= 0 ;
1292 PyObject
* obj5
= 0 ;
1293 PyObject
* obj6
= 0 ;
1295 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1303 arg3
= (int const) SWIG_AsInt(obj2
);
1304 if (PyErr_Occurred()) SWIG_fail
;
1308 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1314 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1318 arg6
= (long) SWIG_AsLong(obj5
);
1319 if (PyErr_Occurred()) SWIG_fail
;
1323 arg7
= wxString_in_helper(obj6
);
1324 if (arg7
== NULL
) SWIG_fail
;
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) SWIG_fail
;
1335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1350 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1351 PyObject
*resultobj
;
1352 wxPanel
*arg1
= (wxPanel
*) 0 ;
1353 PyObject
* obj0
= 0 ;
1355 (char *) "self", NULL
1358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1363 (arg1
)->InitDialog();
1365 wxPyEndAllowThreads(__tstate
);
1366 if (PyErr_Occurred()) SWIG_fail
;
1368 Py_INCREF(Py_None
); resultobj
= Py_None
;
1375 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1378 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1380 return Py_BuildValue((char *)"");
1382 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1383 PyObject
*resultobj
;
1384 wxWindow
*arg1
= (wxWindow
*) 0 ;
1385 int arg2
= (int) (int)-1 ;
1386 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1387 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1388 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1389 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1390 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1391 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1392 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1393 wxScrolledWindow
*result
;
1396 bool temp6
= False
;
1397 PyObject
* obj0
= 0 ;
1398 PyObject
* obj1
= 0 ;
1399 PyObject
* obj2
= 0 ;
1400 PyObject
* obj3
= 0 ;
1401 PyObject
* obj4
= 0 ;
1402 PyObject
* obj5
= 0 ;
1404 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1411 arg2
= (int const) SWIG_AsInt(obj1
);
1412 if (PyErr_Occurred()) SWIG_fail
;
1417 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1423 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1427 arg5
= (long) SWIG_AsLong(obj4
);
1428 if (PyErr_Occurred()) SWIG_fail
;
1432 arg6
= wxString_in_helper(obj5
);
1433 if (arg6
== NULL
) SWIG_fail
;
1438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1439 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1441 wxPyEndAllowThreads(__tstate
);
1442 if (PyErr_Occurred()) SWIG_fail
;
1444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1459 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
*resultobj
;
1461 wxScrolledWindow
*result
;
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1469 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1471 wxPyEndAllowThreads(__tstate
);
1472 if (PyErr_Occurred()) SWIG_fail
;
1474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1481 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
*resultobj
;
1483 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1484 wxWindow
*arg2
= (wxWindow
*) 0 ;
1485 int arg3
= (int) (int)-1 ;
1486 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1487 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1488 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1489 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1490 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1491 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1492 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1496 bool temp7
= False
;
1497 PyObject
* obj0
= 0 ;
1498 PyObject
* obj1
= 0 ;
1499 PyObject
* obj2
= 0 ;
1500 PyObject
* obj3
= 0 ;
1501 PyObject
* obj4
= 0 ;
1502 PyObject
* obj5
= 0 ;
1503 PyObject
* obj6
= 0 ;
1505 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1514 arg3
= (int const) SWIG_AsInt(obj2
);
1515 if (PyErr_Occurred()) SWIG_fail
;
1520 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1526 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1530 arg6
= (long) SWIG_AsLong(obj5
);
1531 if (PyErr_Occurred()) SWIG_fail
;
1535 arg7
= wxString_in_helper(obj6
);
1536 if (arg7
== NULL
) SWIG_fail
;
1541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1542 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1544 wxPyEndAllowThreads(__tstate
);
1545 if (PyErr_Occurred()) SWIG_fail
;
1547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1562 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
*resultobj
;
1564 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1569 int arg6
= (int) 0 ;
1570 int arg7
= (int) 0 ;
1571 bool arg8
= (bool) False
;
1572 PyObject
* obj0
= 0 ;
1573 PyObject
* obj1
= 0 ;
1574 PyObject
* obj2
= 0 ;
1575 PyObject
* obj3
= 0 ;
1576 PyObject
* obj4
= 0 ;
1577 PyObject
* obj5
= 0 ;
1578 PyObject
* obj6
= 0 ;
1579 PyObject
* obj7
= 0 ;
1581 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1587 arg2
= (int) SWIG_AsInt(obj1
);
1588 if (PyErr_Occurred()) SWIG_fail
;
1589 arg3
= (int) SWIG_AsInt(obj2
);
1590 if (PyErr_Occurred()) SWIG_fail
;
1591 arg4
= (int) SWIG_AsInt(obj3
);
1592 if (PyErr_Occurred()) SWIG_fail
;
1593 arg5
= (int) SWIG_AsInt(obj4
);
1594 if (PyErr_Occurred()) SWIG_fail
;
1596 arg6
= (int) SWIG_AsInt(obj5
);
1597 if (PyErr_Occurred()) SWIG_fail
;
1600 arg7
= (int) SWIG_AsInt(obj6
);
1601 if (PyErr_Occurred()) SWIG_fail
;
1604 arg8
= (bool) SWIG_AsBool(obj7
);
1605 if (PyErr_Occurred()) SWIG_fail
;
1608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1609 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1611 wxPyEndAllowThreads(__tstate
);
1612 if (PyErr_Occurred()) SWIG_fail
;
1614 Py_INCREF(Py_None
); resultobj
= Py_None
;
1621 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1622 PyObject
*resultobj
;
1623 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1626 PyObject
* obj0
= 0 ;
1627 PyObject
* obj1
= 0 ;
1628 PyObject
* obj2
= 0 ;
1630 (char *) "self",(char *) "x",(char *) "y", NULL
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1636 arg2
= (int) SWIG_AsInt(obj1
);
1637 if (PyErr_Occurred()) SWIG_fail
;
1638 arg3
= (int) SWIG_AsInt(obj2
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 (arg1
)->Scroll(arg2
,arg3
);
1644 wxPyEndAllowThreads(__tstate
);
1645 if (PyErr_Occurred()) SWIG_fail
;
1647 Py_INCREF(Py_None
); resultobj
= Py_None
;
1654 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
*resultobj
;
1656 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1659 PyObject
* obj0
= 0 ;
1660 PyObject
* obj1
= 0 ;
1662 (char *) "self",(char *) "orient", NULL
1665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1668 arg2
= (int) SWIG_AsInt(obj1
);
1669 if (PyErr_Occurred()) SWIG_fail
;
1671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1672 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1674 wxPyEndAllowThreads(__tstate
);
1675 if (PyErr_Occurred()) SWIG_fail
;
1677 resultobj
= SWIG_FromInt((int)result
);
1684 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
*resultobj
;
1686 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1689 PyObject
* obj0
= 0 ;
1690 PyObject
* obj1
= 0 ;
1691 PyObject
* obj2
= 0 ;
1693 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1699 arg2
= (int) SWIG_AsInt(obj1
);
1700 if (PyErr_Occurred()) SWIG_fail
;
1701 arg3
= (int) SWIG_AsInt(obj2
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1705 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1707 wxPyEndAllowThreads(__tstate
);
1708 if (PyErr_Occurred()) SWIG_fail
;
1710 Py_INCREF(Py_None
); resultobj
= Py_None
;
1717 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
*resultobj
;
1719 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1722 PyObject
* obj0
= 0 ;
1723 PyObject
* obj1
= 0 ;
1724 PyObject
* obj2
= 0 ;
1726 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1732 arg2
= (int) SWIG_AsInt(obj1
);
1733 if (PyErr_Occurred()) SWIG_fail
;
1734 arg3
= (int) SWIG_AsInt(obj2
);
1735 if (PyErr_Occurred()) SWIG_fail
;
1737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1738 (arg1
)->SetScrollRate(arg2
,arg3
);
1740 wxPyEndAllowThreads(__tstate
);
1741 if (PyErr_Occurred()) SWIG_fail
;
1743 Py_INCREF(Py_None
); resultobj
= Py_None
;
1750 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
*resultobj
;
1752 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1753 int *arg2
= (int *) 0 ;
1754 int *arg3
= (int *) 0 ;
1757 PyObject
* obj0
= 0 ;
1759 (char *) "self", NULL
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) SWIG_fail
;
1774 Py_INCREF(Py_None
); resultobj
= Py_None
;
1776 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1777 resultobj
= t_output_helper(resultobj
,o
);
1780 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1781 resultobj
= t_output_helper(resultobj
,o
);
1789 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
*resultobj
;
1791 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1794 PyObject
* obj0
= 0 ;
1795 PyObject
* obj1
= 0 ;
1796 PyObject
* obj2
= 0 ;
1798 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1804 arg2
= (bool) SWIG_AsBool(obj1
);
1805 if (PyErr_Occurred()) SWIG_fail
;
1806 arg3
= (bool) SWIG_AsBool(obj2
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 (arg1
)->EnableScrolling(arg2
,arg3
);
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1815 Py_INCREF(Py_None
); resultobj
= Py_None
;
1822 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
*resultobj
;
1824 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1825 int *arg2
= (int *) 0 ;
1826 int *arg3
= (int *) 0 ;
1829 PyObject
* obj0
= 0 ;
1831 (char *) "self", NULL
1836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1841 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1843 wxPyEndAllowThreads(__tstate
);
1844 if (PyErr_Occurred()) SWIG_fail
;
1846 Py_INCREF(Py_None
); resultobj
= Py_None
;
1848 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1849 resultobj
= t_output_helper(resultobj
,o
);
1852 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1853 resultobj
= t_output_helper(resultobj
,o
);
1861 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
*resultobj
;
1863 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1866 PyObject
* obj0
= 0 ;
1867 PyObject
* obj1
= 0 ;
1868 PyObject
* obj2
= 0 ;
1870 (char *) "self",(char *) "xs",(char *) "ys", NULL
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1876 arg2
= (double) SWIG_AsDouble(obj1
);
1877 if (PyErr_Occurred()) SWIG_fail
;
1878 arg3
= (double) SWIG_AsDouble(obj2
);
1879 if (PyErr_Occurred()) SWIG_fail
;
1881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1882 (arg1
)->SetScale(arg2
,arg3
);
1884 wxPyEndAllowThreads(__tstate
);
1885 if (PyErr_Occurred()) SWIG_fail
;
1887 Py_INCREF(Py_None
); resultobj
= Py_None
;
1894 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
*resultobj
;
1896 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1898 PyObject
* obj0
= 0 ;
1900 (char *) "self", NULL
1903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1908 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1910 wxPyEndAllowThreads(__tstate
);
1911 if (PyErr_Occurred()) SWIG_fail
;
1913 resultobj
= SWIG_FromDouble((double)result
);
1920 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
*resultobj
;
1922 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1924 PyObject
* obj0
= 0 ;
1926 (char *) "self", NULL
1929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1934 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1936 wxPyEndAllowThreads(__tstate
);
1937 if (PyErr_Occurred()) SWIG_fail
;
1939 resultobj
= SWIG_FromDouble((double)result
);
1946 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
1947 PyObject
*resultobj
;
1948 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1952 PyObject
* obj0
= 0 ;
1953 PyObject
* obj1
= 0 ;
1955 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1960 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1966 wxPyEndAllowThreads(__tstate
);
1967 if (PyErr_Occurred()) SWIG_fail
;
1970 wxPoint
* resultptr
;
1971 resultptr
= new wxPoint((wxPoint
&) result
);
1972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
1980 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
1981 PyObject
*resultobj
;
1982 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1985 int *arg4
= (int *) 0 ;
1986 int *arg5
= (int *) 0 ;
1989 PyObject
* obj0
= 0 ;
1990 PyObject
* obj1
= 0 ;
1991 PyObject
* obj2
= 0 ;
1995 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
1996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1998 arg2
= (int) SWIG_AsInt(obj1
);
1999 if (PyErr_Occurred()) SWIG_fail
;
2000 arg3
= (int) SWIG_AsInt(obj2
);
2001 if (PyErr_Occurred()) SWIG_fail
;
2003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2004 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2006 wxPyEndAllowThreads(__tstate
);
2007 if (PyErr_Occurred()) SWIG_fail
;
2009 Py_INCREF(Py_None
); resultobj
= Py_None
;
2011 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2012 resultobj
= t_output_helper(resultobj
,o
);
2015 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2016 resultobj
= t_output_helper(resultobj
,o
);
2024 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2029 argc
= PyObject_Length(args
);
2030 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2031 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2037 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2046 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2049 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2057 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2065 _v
= SWIG_CheckInt(argv
[1]);
2067 _v
= SWIG_CheckInt(argv
[2]);
2069 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2075 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2080 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2081 PyObject
*resultobj
;
2082 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2086 PyObject
* obj0
= 0 ;
2087 PyObject
* obj1
= 0 ;
2089 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2094 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2098 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2100 wxPyEndAllowThreads(__tstate
);
2101 if (PyErr_Occurred()) SWIG_fail
;
2104 wxPoint
* resultptr
;
2105 resultptr
= new wxPoint((wxPoint
&) result
);
2106 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2114 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2115 PyObject
*resultobj
;
2116 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2119 int *arg4
= (int *) 0 ;
2120 int *arg5
= (int *) 0 ;
2123 PyObject
* obj0
= 0 ;
2124 PyObject
* obj1
= 0 ;
2125 PyObject
* obj2
= 0 ;
2129 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2132 arg2
= (int) SWIG_AsInt(obj1
);
2133 if (PyErr_Occurred()) SWIG_fail
;
2134 arg3
= (int) SWIG_AsInt(obj2
);
2135 if (PyErr_Occurred()) SWIG_fail
;
2137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2138 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2140 wxPyEndAllowThreads(__tstate
);
2141 if (PyErr_Occurred()) SWIG_fail
;
2143 Py_INCREF(Py_None
); resultobj
= Py_None
;
2145 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2146 resultobj
= t_output_helper(resultobj
,o
);
2149 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2150 resultobj
= t_output_helper(resultobj
,o
);
2158 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2163 argc
= PyObject_Length(args
);
2164 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2165 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2171 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2180 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2183 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2191 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2199 _v
= SWIG_CheckInt(argv
[1]);
2201 _v
= SWIG_CheckInt(argv
[2]);
2203 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2209 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2214 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
*resultobj
;
2216 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2217 PyObject
* obj0
= 0 ;
2219 (char *) "self", NULL
2222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2227 (arg1
)->AdjustScrollbars();
2229 wxPyEndAllowThreads(__tstate
);
2230 if (PyErr_Occurred()) SWIG_fail
;
2232 Py_INCREF(Py_None
); resultobj
= Py_None
;
2239 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
*resultobj
;
2241 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2242 wxScrollWinEvent
*arg2
= 0 ;
2244 PyObject
* obj0
= 0 ;
2245 PyObject
* obj1
= 0 ;
2247 (char *) "self",(char *) "event", NULL
2250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2254 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2257 PyErr_SetString(PyExc_TypeError
,"null reference");
2261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2262 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2264 wxPyEndAllowThreads(__tstate
);
2265 if (PyErr_Occurred()) SWIG_fail
;
2267 resultobj
= SWIG_FromInt((int)result
);
2274 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
*resultobj
;
2276 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2277 wxWindow
*arg2
= (wxWindow
*) 0 ;
2278 PyObject
* obj0
= 0 ;
2279 PyObject
* obj1
= 0 ;
2281 (char *) "self",(char *) "target", NULL
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2291 (arg1
)->SetTargetWindow(arg2
);
2293 wxPyEndAllowThreads(__tstate
);
2294 if (PyErr_Occurred()) SWIG_fail
;
2296 Py_INCREF(Py_None
); resultobj
= Py_None
;
2303 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
*resultobj
;
2305 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2307 PyObject
* obj0
= 0 ;
2309 (char *) "self", NULL
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2317 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2319 wxPyEndAllowThreads(__tstate
);
2320 if (PyErr_Occurred()) SWIG_fail
;
2323 resultobj
= wxPyMake_wxObject(result
);
2331 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
*resultobj
;
2333 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2336 PyObject
* obj0
= 0 ;
2337 PyObject
* obj1
= 0 ;
2339 (char *) "self",(char *) "rect", NULL
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2347 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) SWIG_fail
;
2356 Py_INCREF(Py_None
); resultobj
= Py_None
;
2363 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
*resultobj
;
2365 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2367 PyObject
* obj0
= 0 ;
2369 (char *) "self", NULL
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2377 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) SWIG_fail
;
2384 resultptr
= new wxRect((wxRect
&) result
);
2385 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2393 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2396 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2398 return Py_BuildValue((char *)"");
2400 static int _wrap_FrameNameStr_set(PyObject
*) {
2401 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2406 static PyObject
*_wrap_FrameNameStr_get() {
2411 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2413 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2420 static int _wrap_DialogNameStr_set(PyObject
*) {
2421 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2426 static PyObject
*_wrap_DialogNameStr_get() {
2431 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2433 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2440 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2441 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2446 static PyObject
*_wrap_StatusLineNameStr_get() {
2451 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2453 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2460 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2461 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2466 static PyObject
*_wrap_ToolBarNameStr_get() {
2471 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2473 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2480 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
*resultobj
;
2482 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2483 bool arg2
= (bool) True
;
2484 PyObject
* obj0
= 0 ;
2485 PyObject
* obj1
= 0 ;
2487 (char *) "self",(char *) "maximize", NULL
2490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2494 arg2
= (bool) SWIG_AsBool(obj1
);
2495 if (PyErr_Occurred()) SWIG_fail
;
2498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2499 (arg1
)->Maximize(arg2
);
2501 wxPyEndAllowThreads(__tstate
);
2502 if (PyErr_Occurred()) SWIG_fail
;
2504 Py_INCREF(Py_None
); resultobj
= Py_None
;
2511 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
*resultobj
;
2513 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2514 PyObject
* obj0
= 0 ;
2516 (char *) "self", NULL
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2529 Py_INCREF(Py_None
); resultobj
= Py_None
;
2536 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2538 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2539 bool arg2
= (bool) True
;
2540 PyObject
* obj0
= 0 ;
2541 PyObject
* obj1
= 0 ;
2543 (char *) "self",(char *) "iconize", NULL
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2550 arg2
= (bool) SWIG_AsBool(obj1
);
2551 if (PyErr_Occurred()) SWIG_fail
;
2554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2555 (arg1
)->Iconize(arg2
);
2557 wxPyEndAllowThreads(__tstate
);
2558 if (PyErr_Occurred()) SWIG_fail
;
2560 Py_INCREF(Py_None
); resultobj
= Py_None
;
2567 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
*resultobj
;
2569 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2571 PyObject
* obj0
= 0 ;
2573 (char *) "self", NULL
2576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2581 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2583 wxPyEndAllowThreads(__tstate
);
2584 if (PyErr_Occurred()) SWIG_fail
;
2586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2593 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2594 PyObject
*resultobj
;
2595 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2597 PyObject
* obj0
= 0 ;
2599 (char *) "self", NULL
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2607 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2609 wxPyEndAllowThreads(__tstate
);
2610 if (PyErr_Occurred()) SWIG_fail
;
2612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2619 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
*resultobj
;
2621 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2623 PyObject
* obj0
= 0 ;
2625 (char *) "self", NULL
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) SWIG_fail
;
2640 resultptr
= new wxIcon((wxIcon
&) result
);
2641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2649 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
*resultobj
;
2651 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2653 PyObject
* obj0
= 0 ;
2654 PyObject
* obj1
= 0 ;
2656 (char *) "self",(char *) "icon", NULL
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2666 PyErr_SetString(PyExc_TypeError
,"null reference");
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2676 Py_INCREF(Py_None
); resultobj
= Py_None
;
2683 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2684 PyObject
*resultobj
;
2685 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2686 wxIconBundle
*arg2
= 0 ;
2687 PyObject
* obj0
= 0 ;
2688 PyObject
* obj1
= 0 ;
2690 (char *) "self",(char *) "icons", NULL
2693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2700 PyErr_SetString(PyExc_TypeError
,"null reference");
2704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2705 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2707 wxPyEndAllowThreads(__tstate
);
2708 if (PyErr_Occurred()) SWIG_fail
;
2710 Py_INCREF(Py_None
); resultobj
= Py_None
;
2717 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
*resultobj
;
2719 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2721 long arg3
= (long) wxFULLSCREEN_ALL
;
2723 PyObject
* obj0
= 0 ;
2724 PyObject
* obj1
= 0 ;
2725 PyObject
* obj2
= 0 ;
2727 (char *) "self",(char *) "show",(char *) "style", NULL
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2733 arg2
= (bool) SWIG_AsBool(obj1
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2736 arg3
= (long) SWIG_AsLong(obj2
);
2737 if (PyErr_Occurred()) SWIG_fail
;
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2753 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2757 PyObject
* obj0
= 0 ;
2759 (char *) "self", NULL
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2767 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2769 wxPyEndAllowThreads(__tstate
);
2770 if (PyErr_Occurred()) SWIG_fail
;
2772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2779 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
*resultobj
;
2781 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2782 wxString
*arg2
= 0 ;
2783 bool temp2
= False
;
2784 PyObject
* obj0
= 0 ;
2785 PyObject
* obj1
= 0 ;
2787 (char *) "self",(char *) "title", NULL
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2794 arg2
= wxString_in_helper(obj1
);
2795 if (arg2
== NULL
) SWIG_fail
;
2799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2800 (arg1
)->SetTitle((wxString
const &)*arg2
);
2802 wxPyEndAllowThreads(__tstate
);
2803 if (PyErr_Occurred()) SWIG_fail
;
2805 Py_INCREF(Py_None
); resultobj
= Py_None
;
2820 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
*resultobj
;
2822 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2824 PyObject
* obj0
= 0 ;
2826 (char *) "self", NULL
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2834 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2836 wxPyEndAllowThreads(__tstate
);
2837 if (PyErr_Occurred()) SWIG_fail
;
2841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2852 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
*resultobj
;
2854 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2855 wxRegion
*arg2
= 0 ;
2857 PyObject
* obj0
= 0 ;
2858 PyObject
* obj1
= 0 ;
2860 (char *) "self",(char *) "region", NULL
2863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2870 PyErr_SetString(PyExc_TypeError
,"null reference");
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2887 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
2889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2890 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2892 return Py_BuildValue((char *)"");
2894 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2896 wxWindow
*arg1
= (wxWindow
*) 0 ;
2898 wxString
*arg3
= 0 ;
2899 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2900 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2901 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2902 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2903 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2904 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2905 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2907 bool temp3
= False
;
2910 bool temp7
= False
;
2911 PyObject
* obj0
= 0 ;
2912 PyObject
* obj1
= 0 ;
2913 PyObject
* obj2
= 0 ;
2914 PyObject
* obj3
= 0 ;
2915 PyObject
* obj4
= 0 ;
2916 PyObject
* obj5
= 0 ;
2917 PyObject
* obj6
= 0 ;
2919 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2925 arg2
= (int const) SWIG_AsInt(obj1
);
2926 if (PyErr_Occurred()) SWIG_fail
;
2928 arg3
= wxString_in_helper(obj2
);
2929 if (arg3
== NULL
) SWIG_fail
;
2935 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2941 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2945 arg6
= (long) SWIG_AsLong(obj5
);
2946 if (PyErr_Occurred()) SWIG_fail
;
2950 arg7
= wxString_in_helper(obj6
);
2951 if (arg7
== NULL
) SWIG_fail
;
2956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2957 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2959 wxPyEndAllowThreads(__tstate
);
2960 if (PyErr_Occurred()) SWIG_fail
;
2963 resultobj
= wxPyMake_wxObject(result
);
2987 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
*resultobj
;
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 result
= (wxFrame
*)new wxFrame();
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3003 resultobj
= wxPyMake_wxObject(result
);
3011 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3012 PyObject
*resultobj
;
3013 wxFrame
*arg1
= (wxFrame
*) 0 ;
3014 wxWindow
*arg2
= (wxWindow
*) 0 ;
3016 wxString
*arg4
= 0 ;
3017 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3018 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3019 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3020 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3021 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3022 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3023 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3025 bool temp4
= False
;
3028 bool temp8
= False
;
3029 PyObject
* obj0
= 0 ;
3030 PyObject
* obj1
= 0 ;
3031 PyObject
* obj2
= 0 ;
3032 PyObject
* obj3
= 0 ;
3033 PyObject
* obj4
= 0 ;
3034 PyObject
* obj5
= 0 ;
3035 PyObject
* obj6
= 0 ;
3036 PyObject
* obj7
= 0 ;
3038 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3046 arg3
= (int const) SWIG_AsInt(obj2
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3049 arg4
= wxString_in_helper(obj3
);
3050 if (arg4
== NULL
) SWIG_fail
;
3056 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3062 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3066 arg7
= (long) SWIG_AsLong(obj6
);
3067 if (PyErr_Occurred()) SWIG_fail
;
3071 arg8
= wxString_in_helper(obj7
);
3072 if (arg8
== NULL
) SWIG_fail
;
3077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3078 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3080 wxPyEndAllowThreads(__tstate
);
3081 if (PyErr_Occurred()) SWIG_fail
;
3083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3106 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
*resultobj
;
3108 wxFrame
*arg1
= (wxFrame
*) 0 ;
3110 PyObject
* obj0
= 0 ;
3112 (char *) "self", NULL
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3126 wxPoint
* resultptr
;
3127 resultptr
= new wxPoint((wxPoint
&) result
);
3128 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3136 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3137 PyObject
*resultobj
;
3138 wxFrame
*arg1
= (wxFrame
*) 0 ;
3139 PyObject
* obj0
= 0 ;
3141 (char *) "self", NULL
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 (arg1
)->SendSizeEvent();
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3154 Py_INCREF(Py_None
); resultobj
= Py_None
;
3161 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
*resultobj
;
3163 wxFrame
*arg1
= (wxFrame
*) 0 ;
3164 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3165 PyObject
* obj0
= 0 ;
3166 PyObject
* obj1
= 0 ;
3168 (char *) "self",(char *) "menubar", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 (arg1
)->SetMenuBar(arg2
);
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3183 Py_INCREF(Py_None
); resultobj
= Py_None
;
3190 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
*resultobj
;
3192 wxFrame
*arg1
= (wxFrame
*) 0 ;
3194 PyObject
* obj0
= 0 ;
3196 (char *) "self", NULL
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3204 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) SWIG_fail
;
3210 resultobj
= wxPyMake_wxObject(result
);
3218 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
*resultobj
;
3220 wxFrame
*arg1
= (wxFrame
*) 0 ;
3223 PyObject
* obj0
= 0 ;
3224 PyObject
* obj1
= 0 ;
3226 (char *) "self",(char *) "winid", NULL
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3232 arg2
= (int) SWIG_AsInt(obj1
);
3233 if (PyErr_Occurred()) SWIG_fail
;
3235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3236 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3238 wxPyEndAllowThreads(__tstate
);
3239 if (PyErr_Occurred()) SWIG_fail
;
3241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3248 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
*resultobj
;
3250 wxFrame
*arg1
= (wxFrame
*) 0 ;
3251 int arg2
= (int) 1 ;
3252 long arg3
= (long) wxST_SIZEGRIP
;
3253 int arg4
= (int) 0 ;
3254 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3255 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3256 wxStatusBar
*result
;
3257 bool temp5
= False
;
3258 PyObject
* obj0
= 0 ;
3259 PyObject
* obj1
= 0 ;
3260 PyObject
* obj2
= 0 ;
3261 PyObject
* obj3
= 0 ;
3262 PyObject
* obj4
= 0 ;
3264 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3271 arg2
= (int) SWIG_AsInt(obj1
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3275 arg3
= (long) SWIG_AsLong(obj2
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3279 arg4
= (int) SWIG_AsInt(obj3
);
3280 if (PyErr_Occurred()) SWIG_fail
;
3284 arg5
= wxString_in_helper(obj4
);
3285 if (arg5
== NULL
) SWIG_fail
;
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3297 resultobj
= wxPyMake_wxObject(result
);
3313 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3315 wxFrame
*arg1
= (wxFrame
*) 0 ;
3316 wxStatusBar
*result
;
3317 PyObject
* obj0
= 0 ;
3319 (char *) "self", NULL
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3327 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3329 wxPyEndAllowThreads(__tstate
);
3330 if (PyErr_Occurred()) SWIG_fail
;
3333 resultobj
= wxPyMake_wxObject(result
);
3341 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3343 wxFrame
*arg1
= (wxFrame
*) 0 ;
3344 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3345 PyObject
* obj0
= 0 ;
3346 PyObject
* obj1
= 0 ;
3348 (char *) "self",(char *) "statBar", NULL
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 (arg1
)->SetStatusBar(arg2
);
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3363 Py_INCREF(Py_None
); resultobj
= Py_None
;
3370 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 wxFrame
*arg1
= (wxFrame
*) 0 ;
3373 wxString
*arg2
= 0 ;
3374 int arg3
= (int) 0 ;
3375 bool temp2
= False
;
3376 PyObject
* obj0
= 0 ;
3377 PyObject
* obj1
= 0 ;
3378 PyObject
* obj2
= 0 ;
3380 (char *) "self",(char *) "text",(char *) "number", NULL
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3387 arg2
= wxString_in_helper(obj1
);
3388 if (arg2
== NULL
) SWIG_fail
;
3392 arg3
= (int) SWIG_AsInt(obj2
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3397 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3399 wxPyEndAllowThreads(__tstate
);
3400 if (PyErr_Occurred()) SWIG_fail
;
3402 Py_INCREF(Py_None
); resultobj
= Py_None
;
3417 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
;
3419 wxFrame
*arg1
= (wxFrame
*) 0 ;
3421 int *arg3
= (int *) 0 ;
3422 PyObject
* obj0
= 0 ;
3423 PyObject
* obj1
= 0 ;
3425 (char *) "self",(char *) "widths", NULL
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3432 arg2
= PyList_Size(obj1
);
3433 arg3
= int_LIST_helper(obj1
);
3434 if (arg3
== NULL
) SWIG_fail
;
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) SWIG_fail
;
3443 Py_INCREF(Py_None
); resultobj
= Py_None
;
3445 if (arg3
) delete [] arg3
;
3450 if (arg3
) delete [] arg3
;
3456 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
*resultobj
;
3458 wxFrame
*arg1
= (wxFrame
*) 0 ;
3459 wxString
*arg2
= 0 ;
3460 int arg3
= (int) 0 ;
3461 bool temp2
= False
;
3462 PyObject
* obj0
= 0 ;
3463 PyObject
* obj1
= 0 ;
3464 PyObject
* obj2
= 0 ;
3466 (char *) "self",(char *) "text",(char *) "number", NULL
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3473 arg2
= wxString_in_helper(obj1
);
3474 if (arg2
== NULL
) SWIG_fail
;
3478 arg3
= (int) SWIG_AsInt(obj2
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3488 Py_INCREF(Py_None
); resultobj
= Py_None
;
3503 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
*resultobj
;
3505 wxFrame
*arg1
= (wxFrame
*) 0 ;
3506 int arg2
= (int) 0 ;
3507 PyObject
* obj0
= 0 ;
3508 PyObject
* obj1
= 0 ;
3510 (char *) "self",(char *) "number", NULL
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3517 arg2
= (int) SWIG_AsInt(obj1
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 (arg1
)->PopStatusText(arg2
);
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3527 Py_INCREF(Py_None
); resultobj
= Py_None
;
3534 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3535 PyObject
*resultobj
;
3536 wxFrame
*arg1
= (wxFrame
*) 0 ;
3538 PyObject
* obj0
= 0 ;
3539 PyObject
* obj1
= 0 ;
3541 (char *) "self",(char *) "n", NULL
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3547 arg2
= (int) SWIG_AsInt(obj1
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 (arg1
)->SetStatusBarPane(arg2
);
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3556 Py_INCREF(Py_None
); resultobj
= Py_None
;
3563 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
*resultobj
;
3565 wxFrame
*arg1
= (wxFrame
*) 0 ;
3567 PyObject
* obj0
= 0 ;
3569 (char *) "self", NULL
3572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) SWIG_fail
;
3582 resultobj
= SWIG_FromInt((int)result
);
3589 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
*resultobj
;
3591 wxFrame
*arg1
= (wxFrame
*) 0 ;
3592 long arg2
= (long) -1 ;
3593 int arg3
= (int) -1 ;
3594 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3595 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3597 bool temp4
= False
;
3598 PyObject
* obj0
= 0 ;
3599 PyObject
* obj1
= 0 ;
3600 PyObject
* obj2
= 0 ;
3601 PyObject
* obj3
= 0 ;
3603 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3610 arg2
= (long) SWIG_AsLong(obj1
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3614 arg3
= (int) SWIG_AsInt(obj2
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3619 arg4
= wxString_in_helper(obj3
);
3620 if (arg4
== NULL
) SWIG_fail
;
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3632 resultobj
= wxPyMake_wxObject(result
);
3648 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3650 wxFrame
*arg1
= (wxFrame
*) 0 ;
3652 PyObject
* obj0
= 0 ;
3654 (char *) "self", NULL
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3662 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3664 wxPyEndAllowThreads(__tstate
);
3665 if (PyErr_Occurred()) SWIG_fail
;
3668 resultobj
= wxPyMake_wxObject(result
);
3676 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
*resultobj
;
3678 wxFrame
*arg1
= (wxFrame
*) 0 ;
3679 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3680 PyObject
* obj0
= 0 ;
3681 PyObject
* obj1
= 0 ;
3683 (char *) "self",(char *) "toolbar", NULL
3686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 (arg1
)->SetToolBar(arg2
);
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3698 Py_INCREF(Py_None
); resultobj
= Py_None
;
3705 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
*resultobj
;
3707 wxFrame
*arg1
= (wxFrame
*) 0 ;
3708 wxString
*arg2
= 0 ;
3710 bool temp2
= False
;
3711 PyObject
* obj0
= 0 ;
3712 PyObject
* obj1
= 0 ;
3713 PyObject
* obj2
= 0 ;
3715 (char *) "self",(char *) "text",(char *) "show", NULL
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3722 arg2
= wxString_in_helper(obj1
);
3723 if (arg2
== NULL
) SWIG_fail
;
3726 arg3
= (bool) SWIG_AsBool(obj2
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3730 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3735 Py_INCREF(Py_None
); resultobj
= Py_None
;
3750 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
;
3752 wxFrame
*arg1
= (wxFrame
*) 0 ;
3753 wxMenu
*arg2
= (wxMenu
*) NULL
;
3754 PyObject
* obj0
= 0 ;
3755 PyObject
* obj1
= 0 ;
3757 (char *) "self",(char *) "menu", NULL
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 (arg1
)->DoMenuUpdates(arg2
);
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3774 Py_INCREF(Py_None
); resultobj
= Py_None
;
3781 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
3783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3784 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3786 return Py_BuildValue((char *)"");
3788 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
*resultobj
;
3790 wxWindow
*arg1
= (wxWindow
*) 0 ;
3792 wxString
*arg3
= 0 ;
3793 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3794 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3795 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3796 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3797 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3798 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3799 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3801 bool temp3
= False
;
3804 bool temp7
= False
;
3805 PyObject
* obj0
= 0 ;
3806 PyObject
* obj1
= 0 ;
3807 PyObject
* obj2
= 0 ;
3808 PyObject
* obj3
= 0 ;
3809 PyObject
* obj4
= 0 ;
3810 PyObject
* obj5
= 0 ;
3811 PyObject
* obj6
= 0 ;
3813 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3819 arg2
= (int const) SWIG_AsInt(obj1
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3822 arg3
= wxString_in_helper(obj2
);
3823 if (arg3
== NULL
) SWIG_fail
;
3829 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3835 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3839 arg6
= (long) SWIG_AsLong(obj5
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3844 arg7
= wxString_in_helper(obj6
);
3845 if (arg7
== NULL
) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3879 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
*resultobj
;
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 result
= (wxDialog
*)new wxDialog();
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3901 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
;
3903 wxDialog
*arg1
= (wxDialog
*) 0 ;
3904 wxWindow
*arg2
= (wxWindow
*) 0 ;
3906 wxString
*arg4
= 0 ;
3907 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3908 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3909 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3910 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3911 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3912 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3913 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3915 bool temp4
= False
;
3918 bool temp8
= False
;
3919 PyObject
* obj0
= 0 ;
3920 PyObject
* obj1
= 0 ;
3921 PyObject
* obj2
= 0 ;
3922 PyObject
* obj3
= 0 ;
3923 PyObject
* obj4
= 0 ;
3924 PyObject
* obj5
= 0 ;
3925 PyObject
* obj6
= 0 ;
3926 PyObject
* obj7
= 0 ;
3928 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
3933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3936 arg3
= (int const) SWIG_AsInt(obj2
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3939 arg4
= wxString_in_helper(obj3
);
3940 if (arg4
== NULL
) SWIG_fail
;
3946 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3952 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3956 arg7
= (long) SWIG_AsLong(obj6
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3961 arg8
= wxString_in_helper(obj7
);
3962 if (arg8
== NULL
) SWIG_fail
;
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) SWIG_fail
;
3973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3996 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
*resultobj
;
3998 wxDialog
*arg1
= (wxDialog
*) 0 ;
4000 PyObject
* obj0
= 0 ;
4001 PyObject
* obj1
= 0 ;
4003 (char *) "self",(char *) "returnCode", NULL
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4009 arg2
= (int) SWIG_AsInt(obj1
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 (arg1
)->SetReturnCode(arg2
);
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4018 Py_INCREF(Py_None
); resultobj
= Py_None
;
4025 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
*resultobj
;
4027 wxDialog
*arg1
= (wxDialog
*) 0 ;
4029 PyObject
* obj0
= 0 ;
4031 (char *) "self", NULL
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 resultobj
= SWIG_FromInt((int)result
);
4051 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
;
4053 wxDialog
*arg1
= (wxDialog
*) 0 ;
4054 wxString
*arg2
= 0 ;
4056 bool temp2
= False
;
4057 PyObject
* obj0
= 0 ;
4058 PyObject
* obj1
= 0 ;
4060 (char *) "self",(char *) "message", NULL
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4067 arg2
= wxString_in_helper(obj1
);
4068 if (arg2
== NULL
) SWIG_fail
;
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4079 resultobj
= wxPyMake_wxSizer(result
);
4095 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
*resultobj
;
4097 wxDialog
*arg1
= (wxDialog
*) 0 ;
4100 PyObject
* obj0
= 0 ;
4101 PyObject
* obj1
= 0 ;
4103 (char *) "self",(char *) "flags", NULL
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4109 arg2
= (long) SWIG_AsLong(obj1
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= wxPyMake_wxSizer(result
);
4127 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
;
4129 wxDialog
*arg1
= (wxDialog
*) 0 ;
4131 PyObject
* obj0
= 0 ;
4133 (char *) "self", NULL
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4153 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
;
4155 wxDialog
*arg1
= (wxDialog
*) 0 ;
4157 PyObject
* obj0
= 0 ;
4159 (char *) "self", NULL
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 result
= (int)(arg1
)->ShowModal();
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4172 resultobj
= SWIG_FromInt((int)result
);
4179 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
*resultobj
;
4181 wxDialog
*arg1
= (wxDialog
*) 0 ;
4183 PyObject
* obj0
= 0 ;
4184 PyObject
* obj1
= 0 ;
4186 (char *) "self",(char *) "retCode", NULL
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4192 arg2
= (int) SWIG_AsInt(obj1
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 (arg1
)->EndModal(arg2
);
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 Py_INCREF(Py_None
); resultobj
= Py_None
;
4208 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
;
4210 wxDialog
*arg1
= (wxDialog
*) 0 ;
4212 PyObject
* obj0
= 0 ;
4214 (char *) "self", NULL
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 result
= (bool)wxDialog_IsModalShowing(arg1
);
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4234 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4237 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4239 return Py_BuildValue((char *)"");
4241 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4243 wxWindow
*arg1
= (wxWindow
*) 0 ;
4245 wxString
*arg3
= 0 ;
4246 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4247 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4248 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4249 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4250 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4251 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4252 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4253 wxMiniFrame
*result
;
4254 bool temp3
= False
;
4257 bool temp7
= False
;
4258 PyObject
* obj0
= 0 ;
4259 PyObject
* obj1
= 0 ;
4260 PyObject
* obj2
= 0 ;
4261 PyObject
* obj3
= 0 ;
4262 PyObject
* obj4
= 0 ;
4263 PyObject
* obj5
= 0 ;
4264 PyObject
* obj6
= 0 ;
4266 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4272 arg2
= (int const) SWIG_AsInt(obj1
);
4273 if (PyErr_Occurred()) SWIG_fail
;
4275 arg3
= wxString_in_helper(obj2
);
4276 if (arg3
== NULL
) SWIG_fail
;
4282 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4288 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4292 arg6
= (long) SWIG_AsLong(obj5
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4297 arg7
= wxString_in_helper(obj6
);
4298 if (arg7
== NULL
) SWIG_fail
;
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4332 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
*resultobj
;
4334 wxMiniFrame
*result
;
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 result
= (wxMiniFrame
*)new wxMiniFrame();
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4354 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
*resultobj
;
4356 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4357 wxWindow
*arg2
= (wxWindow
*) 0 ;
4359 wxString
*arg4
= 0 ;
4360 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4361 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4362 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4363 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4364 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4365 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4366 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4368 bool temp4
= False
;
4371 bool temp8
= False
;
4372 PyObject
* obj0
= 0 ;
4373 PyObject
* obj1
= 0 ;
4374 PyObject
* obj2
= 0 ;
4375 PyObject
* obj3
= 0 ;
4376 PyObject
* obj4
= 0 ;
4377 PyObject
* obj5
= 0 ;
4378 PyObject
* obj6
= 0 ;
4379 PyObject
* obj7
= 0 ;
4381 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4389 arg3
= (int const) SWIG_AsInt(obj2
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4392 arg4
= wxString_in_helper(obj3
);
4393 if (arg4
== NULL
) SWIG_fail
;
4399 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4405 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4409 arg7
= (long) SWIG_AsLong(obj6
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4414 arg8
= wxString_in_helper(obj7
);
4415 if (arg8
== NULL
) SWIG_fail
;
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4449 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
4451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4452 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4454 return Py_BuildValue((char *)"");
4456 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
;
4458 wxBitmap
*arg1
= 0 ;
4459 wxWindow
*arg2
= (wxWindow
*) 0 ;
4461 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4462 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4463 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4464 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4465 long arg6
= (long) wxNO_BORDER
;
4466 wxSplashScreenWindow
*result
;
4469 PyObject
* obj0
= 0 ;
4470 PyObject
* obj1
= 0 ;
4471 PyObject
* obj2
= 0 ;
4472 PyObject
* obj3
= 0 ;
4473 PyObject
* obj4
= 0 ;
4474 PyObject
* obj5
= 0 ;
4476 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4481 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4484 PyErr_SetString(PyExc_TypeError
,"null reference");
4487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4489 arg3
= (int) SWIG_AsInt(obj2
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4494 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4500 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4504 arg6
= (long) SWIG_AsLong(obj5
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4521 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
;
4523 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4524 wxBitmap
*arg2
= 0 ;
4525 PyObject
* obj0
= 0 ;
4526 PyObject
* obj1
= 0 ;
4528 (char *) "self",(char *) "bitmap", NULL
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4538 PyErr_SetString(PyExc_TypeError
,"null reference");
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4548 Py_INCREF(Py_None
); resultobj
= Py_None
;
4555 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
;
4557 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4559 PyObject
* obj0
= 0 ;
4561 (char *) "self", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4570 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4571 result
= (wxBitmap
*) &_result_ref
;
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
4584 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
4586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4587 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4589 return Py_BuildValue((char *)"");
4591 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
*resultobj
;
4593 wxBitmap
*arg1
= 0 ;
4596 wxWindow
*arg4
= (wxWindow
*) 0 ;
4598 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4599 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4600 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4601 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4602 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4603 wxSplashScreen
*result
;
4606 PyObject
* obj0
= 0 ;
4607 PyObject
* obj1
= 0 ;
4608 PyObject
* obj2
= 0 ;
4609 PyObject
* obj3
= 0 ;
4610 PyObject
* obj4
= 0 ;
4611 PyObject
* obj5
= 0 ;
4612 PyObject
* obj6
= 0 ;
4613 PyObject
* obj7
= 0 ;
4615 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4620 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4623 PyErr_SetString(PyExc_TypeError
,"null reference");
4626 arg2
= (long) SWIG_AsLong(obj1
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4628 arg3
= (int) SWIG_AsInt(obj2
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4630 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4632 arg5
= (int) SWIG_AsInt(obj4
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4637 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4643 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4647 arg8
= (long) SWIG_AsLong(obj7
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4664 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
;
4666 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4668 PyObject
* obj0
= 0 ;
4670 (char *) "self", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4683 resultobj
= SWIG_FromLong((long)result
);
4690 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
*resultobj
;
4692 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4693 wxSplashScreenWindow
*result
;
4694 PyObject
* obj0
= 0 ;
4696 (char *) "self", NULL
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4706 wxPyEndAllowThreads(__tstate
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4716 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
;
4718 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4720 PyObject
* obj0
= 0 ;
4722 (char *) "self", NULL
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= SWIG_FromInt((int)result
);
4742 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
4744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4745 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4747 return Py_BuildValue((char *)"");
4749 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
*resultobj
;
4751 wxWindow
*arg1
= (wxWindow
*) 0 ;
4752 int arg2
= (int) -1 ;
4753 long arg3
= (long) wxST_SIZEGRIP
;
4754 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4755 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4756 wxStatusBar
*result
;
4757 bool temp4
= False
;
4758 PyObject
* obj0
= 0 ;
4759 PyObject
* obj1
= 0 ;
4760 PyObject
* obj2
= 0 ;
4761 PyObject
* obj3
= 0 ;
4763 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4770 arg2
= (int) SWIG_AsInt(obj1
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4774 arg3
= (long) SWIG_AsLong(obj2
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4779 arg4
= wxString_in_helper(obj3
);
4780 if (arg4
== NULL
) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= wxPyMake_wxObject(result
);
4808 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
*resultobj
;
4810 wxStatusBar
*result
;
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (wxStatusBar
*)new wxStatusBar();
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4824 resultobj
= wxPyMake_wxObject(result
);
4832 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
*resultobj
;
4834 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4835 wxWindow
*arg2
= (wxWindow
*) 0 ;
4837 long arg4
= (long) wxST_SIZEGRIP
;
4838 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4839 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4841 bool temp5
= False
;
4842 PyObject
* obj0
= 0 ;
4843 PyObject
* obj1
= 0 ;
4844 PyObject
* obj2
= 0 ;
4845 PyObject
* obj3
= 0 ;
4846 PyObject
* obj4
= 0 ;
4848 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4856 arg3
= (int) SWIG_AsInt(obj2
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4859 arg4
= (long) SWIG_AsLong(obj3
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4864 arg5
= wxString_in_helper(obj4
);
4865 if (arg5
== NULL
) SWIG_fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4891 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
*resultobj
;
4893 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4894 int arg2
= (int) 1 ;
4895 PyObject
* obj0
= 0 ;
4896 PyObject
* obj1
= 0 ;
4898 (char *) "self",(char *) "number", NULL
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4905 arg2
= (int) SWIG_AsInt(obj1
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 (arg1
)->SetFieldsCount(arg2
);
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 Py_INCREF(Py_None
); resultobj
= Py_None
;
4922 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
*resultobj
;
4924 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4926 PyObject
* obj0
= 0 ;
4928 (char *) "self", NULL
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4941 resultobj
= SWIG_FromInt((int)result
);
4948 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
*resultobj
;
4950 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4951 wxString
*arg2
= 0 ;
4952 int arg3
= (int) 0 ;
4953 bool temp2
= False
;
4954 PyObject
* obj0
= 0 ;
4955 PyObject
* obj1
= 0 ;
4956 PyObject
* obj2
= 0 ;
4958 (char *) "self",(char *) "text",(char *) "number", NULL
4961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4965 arg2
= wxString_in_helper(obj1
);
4966 if (arg2
== NULL
) SWIG_fail
;
4970 arg3
= (int) SWIG_AsInt(obj2
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4977 wxPyEndAllowThreads(__tstate
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4980 Py_INCREF(Py_None
); resultobj
= Py_None
;
4995 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
*resultobj
;
4997 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4998 int arg2
= (int) 0 ;
5000 PyObject
* obj0
= 0 ;
5001 PyObject
* obj1
= 0 ;
5003 (char *) "self",(char *) "number", NULL
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5010 arg2
= (int) SWIG_AsInt(obj1
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5022 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5024 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5033 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
*resultobj
;
5035 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5036 wxString
*arg2
= 0 ;
5037 int arg3
= (int) 0 ;
5038 bool temp2
= False
;
5039 PyObject
* obj0
= 0 ;
5040 PyObject
* obj1
= 0 ;
5041 PyObject
* obj2
= 0 ;
5043 (char *) "self",(char *) "text",(char *) "number", NULL
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5050 arg2
= wxString_in_helper(obj1
);
5051 if (arg2
== NULL
) SWIG_fail
;
5055 arg3
= (int) SWIG_AsInt(obj2
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 Py_INCREF(Py_None
); resultobj
= Py_None
;
5080 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
*resultobj
;
5082 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5083 int arg2
= (int) 0 ;
5084 PyObject
* obj0
= 0 ;
5085 PyObject
* obj1
= 0 ;
5087 (char *) "self",(char *) "number", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5094 arg2
= (int) SWIG_AsInt(obj1
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 (arg1
)->PopStatusText(arg2
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5104 Py_INCREF(Py_None
); resultobj
= Py_None
;
5111 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
;
5113 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5115 int *arg3
= (int *) 0 ;
5116 PyObject
* obj0
= 0 ;
5117 PyObject
* obj1
= 0 ;
5119 (char *) "self",(char *) "widths", NULL
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5126 arg2
= PyList_Size(obj1
);
5127 arg3
= int_LIST_helper(obj1
);
5128 if (arg3
== NULL
) SWIG_fail
;
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 Py_INCREF(Py_None
); resultobj
= Py_None
;
5139 if (arg3
) delete [] arg3
;
5144 if (arg3
) delete [] arg3
;
5150 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
*resultobj
;
5152 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5155 PyObject
* obj0
= 0 ;
5156 PyObject
* obj1
= 0 ;
5158 (char *) "self",(char *) "i", NULL
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5164 arg2
= (int) SWIG_AsInt(obj1
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5175 resultptr
= new wxRect((wxRect
&) result
);
5176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5184 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
*resultobj
;
5186 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5188 PyObject
* obj0
= 0 ;
5189 PyObject
* obj1
= 0 ;
5191 (char *) "self",(char *) "height", NULL
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5197 arg2
= (int) SWIG_AsInt(obj1
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 (arg1
)->SetMinHeight(arg2
);
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5206 Py_INCREF(Py_None
); resultobj
= Py_None
;
5213 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
;
5215 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5217 PyObject
* obj0
= 0 ;
5219 (char *) "self", NULL
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5227 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5229 wxPyEndAllowThreads(__tstate
);
5230 if (PyErr_Occurred()) SWIG_fail
;
5232 resultobj
= SWIG_FromInt((int)result
);
5239 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
*resultobj
;
5241 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5243 PyObject
* obj0
= 0 ;
5245 (char *) "self", NULL
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5258 resultobj
= SWIG_FromInt((int)result
);
5265 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5268 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5270 return Py_BuildValue((char *)"");
5272 static int _wrap_SplitterNameStr_set(PyObject
*) {
5273 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5278 static PyObject
*_wrap_SplitterNameStr_get() {
5283 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5285 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5292 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
;
5294 wxWindow
*arg1
= (wxWindow
*) 0 ;
5296 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5297 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5298 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5299 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5300 long arg5
= (long) wxSP_3D
;
5301 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5302 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5303 wxSplitterWindow
*result
;
5306 bool temp6
= False
;
5307 PyObject
* obj0
= 0 ;
5308 PyObject
* obj1
= 0 ;
5309 PyObject
* obj2
= 0 ;
5310 PyObject
* obj3
= 0 ;
5311 PyObject
* obj4
= 0 ;
5312 PyObject
* obj5
= 0 ;
5314 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5320 arg2
= (int) SWIG_AsInt(obj1
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5325 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5331 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5335 arg5
= (long) SWIG_AsLong(obj4
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5340 arg6
= wxString_in_helper(obj5
);
5341 if (arg6
== NULL
) SWIG_fail
;
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5367 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
*resultobj
;
5369 wxSplitterWindow
*result
;
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5389 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
*resultobj
;
5391 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5392 wxWindow
*arg2
= (wxWindow
*) 0 ;
5394 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5395 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5396 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5397 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5398 long arg6
= (long) wxSP_3D
;
5399 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5400 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5404 bool temp7
= False
;
5405 PyObject
* obj0
= 0 ;
5406 PyObject
* obj1
= 0 ;
5407 PyObject
* obj2
= 0 ;
5408 PyObject
* obj3
= 0 ;
5409 PyObject
* obj4
= 0 ;
5410 PyObject
* obj5
= 0 ;
5411 PyObject
* obj6
= 0 ;
5413 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5421 arg3
= (int) SWIG_AsInt(obj2
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5432 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5436 arg6
= (long) SWIG_AsLong(obj5
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5441 arg7
= wxString_in_helper(obj6
);
5442 if (arg7
== NULL
) SWIG_fail
;
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5468 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
*resultobj
;
5470 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5472 PyObject
* obj0
= 0 ;
5474 (char *) "self", NULL
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5488 resultobj
= wxPyMake_wxObject(result
);
5496 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
;
5498 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5500 PyObject
* obj0
= 0 ;
5502 (char *) "self", NULL
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5516 resultobj
= wxPyMake_wxObject(result
);
5524 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
;
5526 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5528 PyObject
* obj0
= 0 ;
5529 PyObject
* obj1
= 0 ;
5531 (char *) "self",(char *) "mode", NULL
5534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5537 arg2
= (int) SWIG_AsInt(obj1
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 (arg1
)->SetSplitMode(arg2
);
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5546 Py_INCREF(Py_None
); resultobj
= Py_None
;
5553 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
*resultobj
;
5555 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5557 PyObject
* obj0
= 0 ;
5559 (char *) "self", NULL
5562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 resultobj
= SWIG_FromInt((int)result
);
5579 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
*resultobj
;
5581 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5582 wxWindow
*arg2
= (wxWindow
*) 0 ;
5583 PyObject
* obj0
= 0 ;
5584 PyObject
* obj1
= 0 ;
5586 (char *) "self",(char *) "window", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5596 (arg1
)->Initialize(arg2
);
5598 wxPyEndAllowThreads(__tstate
);
5599 if (PyErr_Occurred()) SWIG_fail
;
5601 Py_INCREF(Py_None
); resultobj
= Py_None
;
5608 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
*resultobj
;
5610 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5611 wxWindow
*arg2
= (wxWindow
*) 0 ;
5612 wxWindow
*arg3
= (wxWindow
*) 0 ;
5613 int arg4
= (int) 0 ;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5617 PyObject
* obj2
= 0 ;
5618 PyObject
* obj3
= 0 ;
5620 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5628 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5631 arg4
= (int) SWIG_AsInt(obj3
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5648 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
*resultobj
;
5650 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5651 wxWindow
*arg2
= (wxWindow
*) 0 ;
5652 wxWindow
*arg3
= (wxWindow
*) 0 ;
5653 int arg4
= (int) 0 ;
5655 PyObject
* obj0
= 0 ;
5656 PyObject
* obj1
= 0 ;
5657 PyObject
* obj2
= 0 ;
5658 PyObject
* obj3
= 0 ;
5660 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5668 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5671 arg4
= (int) SWIG_AsInt(obj3
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5676 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5678 wxPyEndAllowThreads(__tstate
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5688 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
*resultobj
;
5690 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5691 wxWindow
*arg2
= (wxWindow
*) NULL
;
5693 PyObject
* obj0
= 0 ;
5694 PyObject
* obj1
= 0 ;
5696 (char *) "self",(char *) "toRemove", NULL
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 result
= (bool)(arg1
)->Unsplit(arg2
);
5710 wxPyEndAllowThreads(__tstate
);
5711 if (PyErr_Occurred()) SWIG_fail
;
5713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5720 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
*resultobj
;
5722 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5723 wxWindow
*arg2
= (wxWindow
*) 0 ;
5724 wxWindow
*arg3
= (wxWindow
*) 0 ;
5726 PyObject
* obj0
= 0 ;
5727 PyObject
* obj1
= 0 ;
5728 PyObject
* obj2
= 0 ;
5730 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5738 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5742 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5744 wxPyEndAllowThreads(__tstate
);
5745 if (PyErr_Occurred()) SWIG_fail
;
5747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5754 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5755 PyObject
*resultobj
;
5756 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5758 PyObject
* obj0
= 0 ;
5760 (char *) "self", NULL
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5768 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5780 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
;
5782 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5784 PyObject
* obj0
= 0 ;
5785 PyObject
* obj1
= 0 ;
5787 (char *) "self",(char *) "width", NULL
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5793 arg2
= (int) SWIG_AsInt(obj1
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 (arg1
)->SetSashSize(arg2
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5802 Py_INCREF(Py_None
); resultobj
= Py_None
;
5809 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
;
5811 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5813 PyObject
* obj0
= 0 ;
5814 PyObject
* obj1
= 0 ;
5816 (char *) "self",(char *) "width", NULL
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5822 arg2
= (int) SWIG_AsInt(obj1
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 (arg1
)->SetBorderSize(arg2
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5831 Py_INCREF(Py_None
); resultobj
= Py_None
;
5838 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5842 PyObject
* obj0
= 0 ;
5844 (char *) "self", NULL
5847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5852 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5857 resultobj
= SWIG_FromInt((int)result
);
5864 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
;
5866 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5868 PyObject
* obj0
= 0 ;
5870 (char *) "self", NULL
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5883 resultobj
= SWIG_FromInt((int)result
);
5890 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5894 bool arg3
= (bool) True
;
5895 PyObject
* obj0
= 0 ;
5896 PyObject
* obj1
= 0 ;
5897 PyObject
* obj2
= 0 ;
5899 (char *) "self",(char *) "position",(char *) "redraw", NULL
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5905 arg2
= (int) SWIG_AsInt(obj1
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5908 arg3
= (bool) SWIG_AsBool(obj2
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 (arg1
)->SetSashPosition(arg2
,arg3
);
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5918 Py_INCREF(Py_None
); resultobj
= Py_None
;
5925 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
*resultobj
;
5927 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5929 PyObject
* obj0
= 0 ;
5931 (char *) "self", NULL
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 resultobj
= SWIG_FromInt((int)result
);
5951 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
*resultobj
;
5953 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5955 PyObject
* obj0
= 0 ;
5956 PyObject
* obj1
= 0 ;
5958 (char *) "self",(char *) "min", NULL
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5964 arg2
= (int) SWIG_AsInt(obj1
);
5965 if (PyErr_Occurred()) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 (arg1
)->SetMinimumPaneSize(arg2
);
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 Py_INCREF(Py_None
); resultobj
= Py_None
;
5980 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5984 PyObject
* obj0
= 0 ;
5986 (char *) "self", NULL
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= SWIG_FromInt((int)result
);
6006 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6011 int arg4
= (int) 5 ;
6013 PyObject
* obj0
= 0 ;
6014 PyObject
* obj1
= 0 ;
6015 PyObject
* obj2
= 0 ;
6016 PyObject
* obj3
= 0 ;
6018 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6024 arg2
= (int) SWIG_AsInt(obj1
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6026 arg3
= (int) SWIG_AsInt(obj2
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 arg4
= (int) SWIG_AsInt(obj3
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6046 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
*resultobj
;
6048 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6049 PyObject
* obj0
= 0 ;
6051 (char *) "self", NULL
6054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 (arg1
)->SizeWindows();
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6064 Py_INCREF(Py_None
); resultobj
= Py_None
;
6071 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
*resultobj
;
6073 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6078 (char *) "self",(char *) "needUpdating", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6084 arg2
= (bool) SWIG_AsBool(obj1
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 (arg1
)->SetNeedUpdating(arg2
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 Py_INCREF(Py_None
); resultobj
= Py_None
;
6100 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6104 PyObject
* obj0
= 0 ;
6106 (char *) "self", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6126 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6129 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6131 return Py_BuildValue((char *)"");
6133 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
*resultobj
;
6135 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6136 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6137 wxSplitterEvent
*result
;
6138 PyObject
* obj0
= 0 ;
6139 PyObject
* obj1
= 0 ;
6141 (char *) "type",(char *) "splitter", NULL
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6146 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6155 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6157 wxPyEndAllowThreads(__tstate
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6167 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
;
6169 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6171 PyObject
* obj0
= 0 ;
6172 PyObject
* obj1
= 0 ;
6174 (char *) "self",(char *) "pos", NULL
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6180 arg2
= (int) SWIG_AsInt(obj1
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 (arg1
)->SetSashPosition(arg2
);
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6189 Py_INCREF(Py_None
); resultobj
= Py_None
;
6196 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
;
6198 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6200 PyObject
* obj0
= 0 ;
6202 (char *) "self", NULL
6205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6212 wxPyEndAllowThreads(__tstate
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6215 resultobj
= SWIG_FromInt((int)result
);
6222 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
*resultobj
;
6224 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6226 PyObject
* obj0
= 0 ;
6228 (char *) "self", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) SWIG_fail
;
6242 resultobj
= wxPyMake_wxObject(result
);
6250 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
*resultobj
;
6252 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6254 PyObject
* obj0
= 0 ;
6256 (char *) "self", NULL
6259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6264 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6266 wxPyEndAllowThreads(__tstate
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6269 resultobj
= SWIG_FromInt((int)result
);
6276 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
*resultobj
;
6278 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6280 PyObject
* obj0
= 0 ;
6282 (char *) "self", NULL
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6295 resultobj
= SWIG_FromInt((int)result
);
6302 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
6304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6305 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6307 return Py_BuildValue((char *)"");
6309 static int _wrap_SashNameStr_set(PyObject
*) {
6310 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6315 static PyObject
*_wrap_SashNameStr_get() {
6320 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6322 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6329 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
6330 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6335 static PyObject
*_wrap_SashLayoutNameStr_get() {
6340 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6342 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6349 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6351 wxWindow
*arg1
= (wxWindow
*) 0 ;
6353 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6354 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6355 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6356 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6357 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6358 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6359 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6360 wxSashWindow
*result
;
6363 bool temp6
= False
;
6364 PyObject
* obj0
= 0 ;
6365 PyObject
* obj1
= 0 ;
6366 PyObject
* obj2
= 0 ;
6367 PyObject
* obj3
= 0 ;
6368 PyObject
* obj4
= 0 ;
6369 PyObject
* obj5
= 0 ;
6371 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 arg2
= (int) SWIG_AsInt(obj1
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6382 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6388 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6392 arg5
= (long) SWIG_AsLong(obj4
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6397 arg6
= wxString_in_helper(obj5
);
6398 if (arg6
== NULL
) SWIG_fail
;
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6424 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
*resultobj
;
6426 wxSashWindow
*result
;
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 result
= (wxSashWindow
*)new wxSashWindow();
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6446 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
*resultobj
;
6448 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6449 wxWindow
*arg2
= (wxWindow
*) 0 ;
6451 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6452 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6453 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6454 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6455 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6456 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6457 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6461 bool temp7
= False
;
6462 PyObject
* obj0
= 0 ;
6463 PyObject
* obj1
= 0 ;
6464 PyObject
* obj2
= 0 ;
6465 PyObject
* obj3
= 0 ;
6466 PyObject
* obj4
= 0 ;
6467 PyObject
* obj5
= 0 ;
6468 PyObject
* obj6
= 0 ;
6470 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6478 arg3
= (int) SWIG_AsInt(obj2
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6483 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6489 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6493 arg6
= (long) SWIG_AsLong(obj5
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6498 arg7
= wxString_in_helper(obj6
);
6499 if (arg7
== NULL
) SWIG_fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6525 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
;
6527 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6530 PyObject
* obj0
= 0 ;
6531 PyObject
* obj1
= 0 ;
6532 PyObject
* obj2
= 0 ;
6534 (char *) "self",(char *) "edge",(char *) "sash", NULL
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6540 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6542 arg3
= (bool) SWIG_AsBool(obj2
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 Py_INCREF(Py_None
); resultobj
= Py_None
;
6558 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
;
6560 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6563 PyObject
* obj0
= 0 ;
6564 PyObject
* obj1
= 0 ;
6566 (char *) "self",(char *) "edge", NULL
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6572 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6576 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6588 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
*resultobj
;
6590 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6593 PyObject
* obj0
= 0 ;
6594 PyObject
* obj1
= 0 ;
6595 PyObject
* obj2
= 0 ;
6597 (char *) "self",(char *) "edge",(char *) "border", NULL
6600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6603 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6605 arg3
= (bool) SWIG_AsBool(obj2
);
6606 if (PyErr_Occurred()) SWIG_fail
;
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6614 Py_INCREF(Py_None
); resultobj
= Py_None
;
6621 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
*resultobj
;
6623 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6626 PyObject
* obj0
= 0 ;
6627 PyObject
* obj1
= 0 ;
6629 (char *) "self",(char *) "edge", NULL
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6635 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6641 wxPyEndAllowThreads(__tstate
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6651 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
;
6653 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6656 PyObject
* obj0
= 0 ;
6657 PyObject
* obj1
= 0 ;
6659 (char *) "self",(char *) "edge", NULL
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6665 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6669 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6671 wxPyEndAllowThreads(__tstate
);
6672 if (PyErr_Occurred()) SWIG_fail
;
6674 resultobj
= SWIG_FromInt((int)result
);
6681 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
*resultobj
;
6683 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6685 PyObject
* obj0
= 0 ;
6686 PyObject
* obj1
= 0 ;
6688 (char *) "self",(char *) "width", NULL
6691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6694 arg2
= (int) SWIG_AsInt(obj1
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 (arg1
)->SetDefaultBorderSize(arg2
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6703 Py_INCREF(Py_None
); resultobj
= Py_None
;
6710 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
*resultobj
;
6712 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6714 PyObject
* obj0
= 0 ;
6716 (char *) "self", NULL
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 resultobj
= SWIG_FromInt((int)result
);
6736 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
*resultobj
;
6738 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6740 PyObject
* obj0
= 0 ;
6741 PyObject
* obj1
= 0 ;
6743 (char *) "self",(char *) "width", NULL
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6749 arg2
= (int) SWIG_AsInt(obj1
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 (arg1
)->SetExtraBorderSize(arg2
);
6755 wxPyEndAllowThreads(__tstate
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6758 Py_INCREF(Py_None
); resultobj
= Py_None
;
6765 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
*resultobj
;
6767 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6769 PyObject
* obj0
= 0 ;
6771 (char *) "self", NULL
6774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6784 resultobj
= SWIG_FromInt((int)result
);
6791 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
*resultobj
;
6793 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6795 PyObject
* obj0
= 0 ;
6796 PyObject
* obj1
= 0 ;
6798 (char *) "self",(char *) "min", NULL
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6804 arg2
= (int) SWIG_AsInt(obj1
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 (arg1
)->SetMinimumSizeX(arg2
);
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 Py_INCREF(Py_None
); resultobj
= Py_None
;
6820 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6824 PyObject
* obj0
= 0 ;
6825 PyObject
* obj1
= 0 ;
6827 (char *) "self",(char *) "min", NULL
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6833 arg2
= (int) SWIG_AsInt(obj1
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 (arg1
)->SetMinimumSizeY(arg2
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 Py_INCREF(Py_None
); resultobj
= Py_None
;
6849 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6853 PyObject
* obj0
= 0 ;
6855 (char *) "self", NULL
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6868 resultobj
= SWIG_FromInt((int)result
);
6875 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
*resultobj
;
6877 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6879 PyObject
* obj0
= 0 ;
6881 (char *) "self", NULL
6884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6894 resultobj
= SWIG_FromInt((int)result
);
6901 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
*resultobj
;
6903 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6905 PyObject
* obj0
= 0 ;
6906 PyObject
* obj1
= 0 ;
6908 (char *) "self",(char *) "max", NULL
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6914 arg2
= (int) SWIG_AsInt(obj1
);
6915 if (PyErr_Occurred()) SWIG_fail
;
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 (arg1
)->SetMaximumSizeX(arg2
);
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6923 Py_INCREF(Py_None
); resultobj
= Py_None
;
6930 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
;
6932 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6934 PyObject
* obj0
= 0 ;
6935 PyObject
* obj1
= 0 ;
6937 (char *) "self",(char *) "max", NULL
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6943 arg2
= (int) SWIG_AsInt(obj1
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 (arg1
)->SetMaximumSizeY(arg2
);
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 Py_INCREF(Py_None
); resultobj
= Py_None
;
6959 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
*resultobj
;
6961 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6963 PyObject
* obj0
= 0 ;
6965 (char *) "self", NULL
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6975 wxPyEndAllowThreads(__tstate
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6978 resultobj
= SWIG_FromInt((int)result
);
6985 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
*resultobj
;
6987 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6989 PyObject
* obj0
= 0 ;
6991 (char *) "self", NULL
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= SWIG_FromInt((int)result
);
7011 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7013 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7016 int arg4
= (int) 2 ;
7018 PyObject
* obj0
= 0 ;
7019 PyObject
* obj1
= 0 ;
7020 PyObject
* obj2
= 0 ;
7021 PyObject
* obj3
= 0 ;
7023 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7029 arg2
= (int) SWIG_AsInt(obj1
);
7030 if (PyErr_Occurred()) SWIG_fail
;
7031 arg3
= (int) SWIG_AsInt(obj2
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 arg4
= (int) SWIG_AsInt(obj3
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7044 resultobj
= SWIG_FromInt((int)result
);
7051 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7052 PyObject
*resultobj
;
7053 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7054 PyObject
* obj0
= 0 ;
7056 (char *) "self", NULL
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 (arg1
)->SizeWindows();
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7069 Py_INCREF(Py_None
); resultobj
= Py_None
;
7076 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7079 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7081 return Py_BuildValue((char *)"");
7083 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 int arg1
= (int) 0 ;
7086 int arg2
= (int) wxSASH_NONE
;
7087 wxSashEvent
*result
;
7088 PyObject
* obj0
= 0 ;
7089 PyObject
* obj1
= 0 ;
7091 (char *) "id",(char *) "edge", NULL
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7096 arg1
= (int) SWIG_AsInt(obj0
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7100 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7105 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7117 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
;
7119 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7121 PyObject
* obj0
= 0 ;
7122 PyObject
* obj1
= 0 ;
7124 (char *) "self",(char *) "edge", NULL
7127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7130 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7139 Py_INCREF(Py_None
); resultobj
= Py_None
;
7146 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
*resultobj
;
7148 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7150 PyObject
* obj0
= 0 ;
7152 (char *) "self", NULL
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 resultobj
= SWIG_FromInt((int)result
);
7172 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
;
7174 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7177 PyObject
* obj0
= 0 ;
7178 PyObject
* obj1
= 0 ;
7180 (char *) "self",(char *) "rect", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7188 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7197 Py_INCREF(Py_None
); resultobj
= Py_None
;
7204 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7206 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7208 PyObject
* obj0
= 0 ;
7210 (char *) "self", NULL
7213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7225 resultptr
= new wxRect((wxRect
&) result
);
7226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7234 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
*resultobj
;
7236 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7238 PyObject
* obj0
= 0 ;
7239 PyObject
* obj1
= 0 ;
7241 (char *) "self",(char *) "status", NULL
7244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7247 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 Py_INCREF(Py_None
); resultobj
= Py_None
;
7263 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
;
7265 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7267 PyObject
* obj0
= 0 ;
7269 (char *) "self", NULL
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7282 resultobj
= SWIG_FromInt((int)result
);
7289 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
7291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7292 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7294 return Py_BuildValue((char *)"");
7296 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
;
7298 int arg1
= (int) 0 ;
7299 wxQueryLayoutInfoEvent
*result
;
7300 PyObject
* obj0
= 0 ;
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7307 arg1
= (int) SWIG_AsInt(obj0
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7324 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
;
7326 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7328 PyObject
* obj0
= 0 ;
7329 PyObject
* obj1
= 0 ;
7331 (char *) "self",(char *) "length", NULL
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7337 arg2
= (int) SWIG_AsInt(obj1
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 (arg1
)->SetRequestedLength(arg2
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7346 Py_INCREF(Py_None
); resultobj
= Py_None
;
7353 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
*resultobj
;
7355 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7357 PyObject
* obj0
= 0 ;
7359 (char *) "self", NULL
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 resultobj
= SWIG_FromInt((int)result
);
7379 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
;
7381 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7383 PyObject
* obj0
= 0 ;
7384 PyObject
* obj1
= 0 ;
7386 (char *) "self",(char *) "flags", NULL
7389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7392 arg2
= (int) SWIG_AsInt(obj1
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 (arg1
)->SetFlags(arg2
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 Py_INCREF(Py_None
); resultobj
= Py_None
;
7408 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7410 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7412 PyObject
* obj0
= 0 ;
7414 (char *) "self", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 resultobj
= SWIG_FromInt((int)result
);
7434 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
;
7436 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7439 PyObject
* obj0
= 0 ;
7440 PyObject
* obj1
= 0 ;
7442 (char *) "self",(char *) "size", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7450 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 (arg1
)->SetSize((wxSize
const &)*arg2
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7459 Py_INCREF(Py_None
); resultobj
= Py_None
;
7466 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
*resultobj
;
7468 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7470 PyObject
* obj0
= 0 ;
7472 (char *) "self", NULL
7475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7487 resultptr
= new wxSize((wxSize
&) result
);
7488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7496 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
;
7498 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7500 PyObject
* obj0
= 0 ;
7501 PyObject
* obj1
= 0 ;
7503 (char *) "self",(char *) "orient", NULL
7506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7509 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7518 Py_INCREF(Py_None
); resultobj
= Py_None
;
7525 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
*resultobj
;
7527 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7529 PyObject
* obj0
= 0 ;
7531 (char *) "self", NULL
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7541 wxPyEndAllowThreads(__tstate
);
7542 if (PyErr_Occurred()) SWIG_fail
;
7544 resultobj
= SWIG_FromInt((int)result
);
7551 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7552 PyObject
*resultobj
;
7553 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7555 PyObject
* obj0
= 0 ;
7556 PyObject
* obj1
= 0 ;
7558 (char *) "self",(char *) "align", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7564 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7573 Py_INCREF(Py_None
); resultobj
= Py_None
;
7580 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
*resultobj
;
7582 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7584 PyObject
* obj0
= 0 ;
7586 (char *) "self", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 resultobj
= SWIG_FromInt((int)result
);
7606 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
7608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7609 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7611 return Py_BuildValue((char *)"");
7613 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
*resultobj
;
7615 int arg1
= (int) 0 ;
7616 wxCalculateLayoutEvent
*result
;
7617 PyObject
* obj0
= 0 ;
7622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7624 arg1
= (int) SWIG_AsInt(obj0
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7629 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7631 wxPyEndAllowThreads(__tstate
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7641 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
;
7643 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7645 PyObject
* obj0
= 0 ;
7646 PyObject
* obj1
= 0 ;
7648 (char *) "self",(char *) "flags", NULL
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7654 arg2
= (int) SWIG_AsInt(obj1
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 (arg1
)->SetFlags(arg2
);
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7663 Py_INCREF(Py_None
); resultobj
= Py_None
;
7670 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
;
7672 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7674 PyObject
* obj0
= 0 ;
7676 (char *) "self", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= SWIG_FromInt((int)result
);
7696 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
;
7698 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7701 PyObject
* obj0
= 0 ;
7702 PyObject
* obj1
= 0 ;
7704 (char *) "self",(char *) "rect", NULL
7707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7712 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7716 (arg1
)->SetRect((wxRect
const &)*arg2
);
7718 wxPyEndAllowThreads(__tstate
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7721 Py_INCREF(Py_None
); resultobj
= Py_None
;
7728 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
*resultobj
;
7730 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7732 PyObject
* obj0
= 0 ;
7734 (char *) "self", NULL
7737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) SWIG_fail
;
7749 resultptr
= new wxRect((wxRect
&) result
);
7750 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7758 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
7760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7761 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7763 return Py_BuildValue((char *)"");
7765 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
;
7767 wxWindow
*arg1
= (wxWindow
*) 0 ;
7769 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7770 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7771 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7772 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7773 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7774 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7775 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7776 wxSashLayoutWindow
*result
;
7779 bool temp6
= False
;
7780 PyObject
* obj0
= 0 ;
7781 PyObject
* obj1
= 0 ;
7782 PyObject
* obj2
= 0 ;
7783 PyObject
* obj3
= 0 ;
7784 PyObject
* obj4
= 0 ;
7785 PyObject
* obj5
= 0 ;
7787 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7793 arg2
= (int) SWIG_AsInt(obj1
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7798 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7804 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7808 arg5
= (long) SWIG_AsLong(obj4
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7813 arg6
= wxString_in_helper(obj5
);
7814 if (arg6
== NULL
) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7840 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxSashLayoutWindow
*result
;
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7862 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
;
7864 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7865 wxWindow
*arg2
= (wxWindow
*) 0 ;
7867 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7868 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7869 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7870 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7871 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7872 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7873 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7877 bool temp7
= False
;
7878 PyObject
* obj0
= 0 ;
7879 PyObject
* obj1
= 0 ;
7880 PyObject
* obj2
= 0 ;
7881 PyObject
* obj3
= 0 ;
7882 PyObject
* obj4
= 0 ;
7883 PyObject
* obj5
= 0 ;
7884 PyObject
* obj6
= 0 ;
7886 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7894 arg3
= (int) SWIG_AsInt(obj2
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7899 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7905 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7909 arg6
= (long) SWIG_AsLong(obj5
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7914 arg7
= wxString_in_helper(obj6
);
7915 if (arg7
== NULL
) SWIG_fail
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7941 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
*resultobj
;
7943 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7945 PyObject
* obj0
= 0 ;
7947 (char *) "self", NULL
7950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 result
= (int)(arg1
)->GetAlignment();
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7960 resultobj
= SWIG_FromInt((int)result
);
7967 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
*resultobj
;
7969 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7971 PyObject
* obj0
= 0 ;
7973 (char *) "self", NULL
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 result
= (int)(arg1
)->GetOrientation();
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= SWIG_FromInt((int)result
);
7993 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
;
7995 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7997 PyObject
* obj0
= 0 ;
7998 PyObject
* obj1
= 0 ;
8000 (char *) "self",(char *) "alignment", NULL
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8006 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8015 Py_INCREF(Py_None
); resultobj
= Py_None
;
8022 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8023 PyObject
*resultobj
;
8024 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8027 PyObject
* obj0
= 0 ;
8028 PyObject
* obj1
= 0 ;
8030 (char *) "self",(char *) "size", NULL
8033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8038 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8047 Py_INCREF(Py_None
); resultobj
= Py_None
;
8054 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8055 PyObject
*resultobj
;
8056 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8058 PyObject
* obj0
= 0 ;
8059 PyObject
* obj1
= 0 ;
8061 (char *) "self",(char *) "orientation", NULL
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8067 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8071 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8073 wxPyEndAllowThreads(__tstate
);
8074 if (PyErr_Occurred()) SWIG_fail
;
8076 Py_INCREF(Py_None
); resultobj
= Py_None
;
8083 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8086 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8088 return Py_BuildValue((char *)"");
8090 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8091 PyObject
*resultobj
;
8092 wxLayoutAlgorithm
*result
;
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8112 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
;
8114 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8115 PyObject
* obj0
= 0 ;
8117 (char *) "self", NULL
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 Py_INCREF(Py_None
); resultobj
= Py_None
;
8137 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8140 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8141 wxRect
*arg3
= (wxRect
*) NULL
;
8143 PyObject
* obj0
= 0 ;
8144 PyObject
* obj1
= 0 ;
8145 PyObject
* obj2
= 0 ;
8147 (char *) "self",(char *) "frame",(char *) "rect", NULL
8150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8156 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8163 wxPyEndAllowThreads(__tstate
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8173 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8174 PyObject
*resultobj
;
8175 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8176 wxFrame
*arg2
= (wxFrame
*) 0 ;
8177 wxWindow
*arg3
= (wxWindow
*) NULL
;
8179 PyObject
* obj0
= 0 ;
8180 PyObject
* obj1
= 0 ;
8181 PyObject
* obj2
= 0 ;
8183 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8192 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8209 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
;
8211 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8212 wxWindow
*arg2
= (wxWindow
*) 0 ;
8213 wxWindow
*arg3
= (wxWindow
*) NULL
;
8215 PyObject
* obj0
= 0 ;
8216 PyObject
* obj1
= 0 ;
8217 PyObject
* obj2
= 0 ;
8219 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8228 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8245 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
8247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8248 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8250 return Py_BuildValue((char *)"");
8252 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8253 PyObject
*resultobj
;
8254 wxWindow
*arg1
= (wxWindow
*) 0 ;
8255 int arg2
= (int) wxBORDER_NONE
;
8256 wxPopupWindow
*result
;
8257 PyObject
* obj0
= 0 ;
8258 PyObject
* obj1
= 0 ;
8260 (char *) "parent",(char *) "flags", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8267 arg2
= (int) SWIG_AsInt(obj1
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8284 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
*resultobj
;
8286 wxPopupWindow
*result
;
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 result
= (wxPopupWindow
*)new wxPopupWindow();
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8306 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
8308 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8309 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8311 return Py_BuildValue((char *)"");
8313 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
;
8315 wxWindow
*arg1
= (wxWindow
*) 0 ;
8316 int arg2
= (int) wxBORDER_NONE
;
8317 wxPyPopupTransientWindow
*result
;
8318 PyObject
* obj0
= 0 ;
8319 PyObject
* obj1
= 0 ;
8321 (char *) "parent",(char *) "style", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8328 arg2
= (int) SWIG_AsInt(obj1
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8345 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
;
8347 wxPyPopupTransientWindow
*result
;
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8367 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
8369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8370 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8372 return Py_BuildValue((char *)"");
8374 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8375 PyObject
*resultobj
;
8376 wxWindow
*arg1
= (wxWindow
*) 0 ;
8377 wxString
*arg2
= 0 ;
8378 int arg3
= (int) 100 ;
8379 wxRect
*arg4
= (wxRect
*) NULL
;
8380 wxTipWindow
*result
;
8381 bool temp2
= False
;
8382 PyObject
* obj0
= 0 ;
8383 PyObject
* obj1
= 0 ;
8384 PyObject
* obj2
= 0 ;
8385 PyObject
* obj3
= 0 ;
8387 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8394 arg2
= wxString_in_helper(obj1
);
8395 if (arg2
== NULL
) SWIG_fail
;
8399 arg3
= (int) SWIG_AsInt(obj2
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8403 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8410 wxPyEndAllowThreads(__tstate
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8428 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
;
8430 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8433 PyObject
* obj0
= 0 ;
8434 PyObject
* obj1
= 0 ;
8436 (char *) "self",(char *) "rectBound", NULL
8439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8444 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8453 Py_INCREF(Py_None
); resultobj
= Py_None
;
8460 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
;
8462 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8463 PyObject
* obj0
= 0 ;
8465 (char *) "self", NULL
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8478 Py_INCREF(Py_None
); resultobj
= Py_None
;
8485 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
8487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8488 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8490 return Py_BuildValue((char *)"");
8492 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
*resultobj
;
8494 wxWindow
*arg1
= (wxWindow
*) 0 ;
8495 int arg2
= (int) wxID_ANY
;
8496 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8497 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8498 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8499 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8500 long arg5
= (long) 0 ;
8501 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8502 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8503 wxPyVScrolledWindow
*result
;
8506 bool temp6
= False
;
8507 PyObject
* obj0
= 0 ;
8508 PyObject
* obj1
= 0 ;
8509 PyObject
* obj2
= 0 ;
8510 PyObject
* obj3
= 0 ;
8511 PyObject
* obj4
= 0 ;
8512 PyObject
* obj5
= 0 ;
8514 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8521 arg2
= (int) SWIG_AsInt(obj1
);
8522 if (PyErr_Occurred()) SWIG_fail
;
8527 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8533 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8537 arg5
= (long) SWIG_AsLong(obj4
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8542 arg6
= wxString_in_helper(obj5
);
8543 if (arg6
== NULL
) SWIG_fail
;
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8569 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8570 PyObject
*resultobj
;
8571 wxPyVScrolledWindow
*result
;
8576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8581 wxPyEndAllowThreads(__tstate
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8591 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
*resultobj
;
8593 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8594 PyObject
*arg2
= (PyObject
*) 0 ;
8595 PyObject
*arg3
= (PyObject
*) 0 ;
8596 PyObject
* obj0
= 0 ;
8597 PyObject
* obj1
= 0 ;
8598 PyObject
* obj2
= 0 ;
8600 (char *) "self",(char *) "self",(char *) "_class", NULL
8603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8615 Py_INCREF(Py_None
); resultobj
= Py_None
;
8622 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
*resultobj
;
8624 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8625 wxWindow
*arg2
= (wxWindow
*) 0 ;
8626 int arg3
= (int) wxID_ANY
;
8627 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8628 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8629 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8630 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8631 long arg6
= (long) 0 ;
8632 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8633 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8637 bool temp7
= False
;
8638 PyObject
* obj0
= 0 ;
8639 PyObject
* obj1
= 0 ;
8640 PyObject
* obj2
= 0 ;
8641 PyObject
* obj3
= 0 ;
8642 PyObject
* obj4
= 0 ;
8643 PyObject
* obj5
= 0 ;
8644 PyObject
* obj6
= 0 ;
8646 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8655 arg3
= (int) SWIG_AsInt(obj2
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8661 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8667 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8671 arg6
= (long) SWIG_AsLong(obj5
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8676 arg7
= wxString_in_helper(obj6
);
8677 if (arg7
== NULL
) SWIG_fail
;
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8703 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
*resultobj
;
8705 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8707 PyObject
* obj0
= 0 ;
8708 PyObject
* obj1
= 0 ;
8710 (char *) "self",(char *) "count", NULL
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8716 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 (arg1
)->SetLineCount(arg2
);
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 Py_INCREF(Py_None
); resultobj
= Py_None
;
8732 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
;
8734 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8737 PyObject
* obj0
= 0 ;
8738 PyObject
* obj1
= 0 ;
8740 (char *) "self",(char *) "line", NULL
8743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8746 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8752 wxPyEndAllowThreads(__tstate
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8762 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
*resultobj
;
8764 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8767 PyObject
* obj0
= 0 ;
8768 PyObject
* obj1
= 0 ;
8770 (char *) "self",(char *) "lines", NULL
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
8774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8776 arg2
= (int) SWIG_AsInt(obj1
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 result
= (bool)(arg1
)->ScrollLines(arg2
);
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8792 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
;
8794 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8797 PyObject
* obj0
= 0 ;
8798 PyObject
* obj1
= 0 ;
8800 (char *) "self",(char *) "pages", NULL
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
8804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8806 arg2
= (int) SWIG_AsInt(obj1
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 result
= (bool)(arg1
)->ScrollPages(arg2
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8822 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
*resultobj
;
8824 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8826 PyObject
* obj0
= 0 ;
8827 PyObject
* obj1
= 0 ;
8829 (char *) "self",(char *) "line", NULL
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8835 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 (arg1
)->RefreshLine(arg2
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 Py_INCREF(Py_None
); resultobj
= Py_None
;
8851 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
*resultobj
;
8853 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8856 PyObject
* obj0
= 0 ;
8857 PyObject
* obj1
= 0 ;
8858 PyObject
* obj2
= 0 ;
8860 (char *) "self",(char *) "from",(char *) "to", NULL
8863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8866 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8868 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8872 (arg1
)->RefreshLines(arg2
,arg3
);
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8877 Py_INCREF(Py_None
); resultobj
= Py_None
;
8884 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
;
8886 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8890 PyObject
* obj0
= 0 ;
8891 PyObject
* obj1
= 0 ;
8892 PyObject
* obj2
= 0 ;
8894 (char *) "self",(char *) "x",(char *) "y", NULL
8897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8900 arg2
= (int) SWIG_AsInt(obj1
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8902 arg3
= (int) SWIG_AsInt(obj2
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8911 resultobj
= SWIG_FromInt((int)result
);
8918 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8924 PyObject
* obj0
= 0 ;
8925 PyObject
* obj1
= 0 ;
8927 (char *) "self",(char *) "pt", NULL
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8935 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8939 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8941 wxPyEndAllowThreads(__tstate
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8944 resultobj
= SWIG_FromInt((int)result
);
8951 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
;
8953 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8954 PyObject
* obj0
= 0 ;
8956 (char *) "self", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
8960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 (arg1
)->RefreshAll();
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8969 Py_INCREF(Py_None
); resultobj
= Py_None
;
8976 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
*resultobj
;
8978 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8980 PyObject
* obj0
= 0 ;
8982 (char *) "self", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
8986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9002 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
;
9004 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9006 PyObject
* obj0
= 0 ;
9008 (char *) "self", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9016 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9021 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9028 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
;
9030 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9032 PyObject
* obj0
= 0 ;
9034 (char *) "self", NULL
9037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9047 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9054 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
;
9056 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9059 PyObject
* obj0
= 0 ;
9060 PyObject
* obj1
= 0 ;
9062 (char *) "self",(char *) "line", NULL
9065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9068 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9084 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9087 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9089 return Py_BuildValue((char *)"");
9091 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9092 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9097 static PyObject
*_wrap_VListBoxNameStr_get() {
9102 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9104 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9111 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
;
9113 wxWindow
*arg1
= (wxWindow
*) 0 ;
9114 int arg2
= (int) wxID_ANY
;
9115 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9116 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9117 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9118 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9119 long arg5
= (long) 0 ;
9120 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9121 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9122 wxPyVListBox
*result
;
9125 bool temp6
= False
;
9126 PyObject
* obj0
= 0 ;
9127 PyObject
* obj1
= 0 ;
9128 PyObject
* obj2
= 0 ;
9129 PyObject
* obj3
= 0 ;
9130 PyObject
* obj4
= 0 ;
9131 PyObject
* obj5
= 0 ;
9133 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9140 arg2
= (int) SWIG_AsInt(obj1
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9146 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9152 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9156 arg5
= (long) SWIG_AsLong(obj4
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9161 arg6
= wxString_in_helper(obj5
);
9162 if (arg6
== NULL
) SWIG_fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9188 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
;
9190 wxPyVListBox
*result
;
9195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 result
= (wxPyVListBox
*)new wxPyVListBox();
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9210 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
;
9212 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9213 PyObject
*arg2
= (PyObject
*) 0 ;
9214 PyObject
*arg3
= (PyObject
*) 0 ;
9215 PyObject
* obj0
= 0 ;
9216 PyObject
* obj1
= 0 ;
9217 PyObject
* obj2
= 0 ;
9219 (char *) "self",(char *) "self",(char *) "_class", NULL
9222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9234 Py_INCREF(Py_None
); resultobj
= Py_None
;
9241 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
;
9243 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9244 wxWindow
*arg2
= (wxWindow
*) 0 ;
9245 int arg3
= (int) wxID_ANY
;
9246 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9247 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9248 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9249 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9250 long arg6
= (long) 0 ;
9251 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9252 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9256 bool temp7
= False
;
9257 PyObject
* obj0
= 0 ;
9258 PyObject
* obj1
= 0 ;
9259 PyObject
* obj2
= 0 ;
9260 PyObject
* obj3
= 0 ;
9261 PyObject
* obj4
= 0 ;
9262 PyObject
* obj5
= 0 ;
9263 PyObject
* obj6
= 0 ;
9265 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9274 arg3
= (int) SWIG_AsInt(obj2
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9280 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9286 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9290 arg6
= (long) SWIG_AsLong(obj5
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9295 arg7
= wxString_in_helper(obj6
);
9296 if (arg7
== NULL
) SWIG_fail
;
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9322 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
;
9324 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9326 PyObject
* obj0
= 0 ;
9328 (char *) "self", NULL
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9341 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9348 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
*resultobj
;
9350 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9352 PyObject
* obj0
= 0 ;
9354 (char *) "self", NULL
9357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9374 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
;
9376 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9378 PyObject
* obj0
= 0 ;
9380 (char *) "self", NULL
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9393 resultobj
= SWIG_FromInt((int)result
);
9400 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
;
9402 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9405 PyObject
* obj0
= 0 ;
9406 PyObject
* obj1
= 0 ;
9408 (char *) "self",(char *) "item", NULL
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9414 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9430 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
;
9432 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9435 PyObject
* obj0
= 0 ;
9436 PyObject
* obj1
= 0 ;
9438 (char *) "self",(char *) "item", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9444 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9460 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
;
9462 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9464 PyObject
* obj0
= 0 ;
9466 (char *) "self", NULL
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9479 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9486 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9487 PyObject
*resultobj
;
9488 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9489 unsigned long *arg2
= 0 ;
9491 PyObject
* obj0
= 0 ;
9492 PyObject
* obj1
= 0 ;
9494 (char *) "self",(char *) "cookie", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9501 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9504 PyErr_SetString(PyExc_TypeError
,"null reference");
9508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9509 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9514 resultobj
= SWIG_FromInt((int)result
);
9521 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
;
9523 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9524 unsigned long *arg2
= 0 ;
9526 PyObject
* obj0
= 0 ;
9527 PyObject
* obj1
= 0 ;
9529 (char *) "self",(char *) "cookie", NULL
9532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9536 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9539 PyErr_SetString(PyExc_TypeError
,"null reference");
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9544 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9546 wxPyEndAllowThreads(__tstate
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9549 resultobj
= SWIG_FromInt((int)result
);
9556 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
;
9558 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9560 PyObject
* obj0
= 0 ;
9562 (char *) "self", NULL
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9576 wxPoint
* resultptr
;
9577 resultptr
= new wxPoint((wxPoint
&) result
);
9578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9586 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9587 PyObject
*resultobj
;
9588 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9590 PyObject
* obj0
= 0 ;
9592 (char *) "self", NULL
9595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9602 result
= (wxColour
*) &_result_ref
;
9605 wxPyEndAllowThreads(__tstate
);
9606 if (PyErr_Occurred()) SWIG_fail
;
9608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9615 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9616 PyObject
*resultobj
;
9617 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9619 PyObject
* obj0
= 0 ;
9620 PyObject
* obj1
= 0 ;
9622 (char *) "self",(char *) "count", NULL
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9628 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 (arg1
)->SetItemCount(arg2
);
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 Py_INCREF(Py_None
); resultobj
= Py_None
;
9644 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
;
9646 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9647 PyObject
* obj0
= 0 ;
9649 (char *) "self", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 Py_INCREF(Py_None
); resultobj
= Py_None
;
9669 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
;
9671 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9673 PyObject
* obj0
= 0 ;
9674 PyObject
* obj1
= 0 ;
9676 (char *) "self",(char *) "selection", NULL
9679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9682 arg2
= (int) SWIG_AsInt(obj1
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 (arg1
)->SetSelection(arg2
);
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9691 Py_INCREF(Py_None
); resultobj
= Py_None
;
9698 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
;
9700 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9702 bool arg3
= (bool) True
;
9704 PyObject
* obj0
= 0 ;
9705 PyObject
* obj1
= 0 ;
9706 PyObject
* obj2
= 0 ;
9708 (char *) "self",(char *) "item",(char *) "select", NULL
9711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9714 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9715 if (PyErr_Occurred()) SWIG_fail
;
9717 arg3
= (bool) SWIG_AsBool(obj2
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9734 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9740 PyObject
* obj0
= 0 ;
9741 PyObject
* obj1
= 0 ;
9742 PyObject
* obj2
= 0 ;
9744 (char *) "self",(char *) "from",(char *) "to", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9750 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9752 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9768 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
*resultobj
;
9770 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9772 PyObject
* obj0
= 0 ;
9773 PyObject
* obj1
= 0 ;
9775 (char *) "self",(char *) "item", NULL
9778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
9779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9781 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 (arg1
)->Toggle(arg2
);
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 Py_INCREF(Py_None
); resultobj
= Py_None
;
9797 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
;
9799 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9801 PyObject
* obj0
= 0 ;
9803 (char *) "self", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
9807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= (bool)(arg1
)->SelectAll();
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9823 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9824 PyObject
*resultobj
;
9825 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9827 PyObject
* obj0
= 0 ;
9829 (char *) "self", NULL
9832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
9833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 result
= (bool)(arg1
)->DeselectAll();
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9849 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
;
9851 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9854 PyObject
* obj0
= 0 ;
9855 PyObject
* obj1
= 0 ;
9857 (char *) "self",(char *) "pt", NULL
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
9861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9865 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9874 Py_INCREF(Py_None
); resultobj
= Py_None
;
9881 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9882 PyObject
*resultobj
;
9883 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9886 PyObject
* obj0
= 0 ;
9887 PyObject
* obj1
= 0 ;
9888 PyObject
* obj2
= 0 ;
9890 (char *) "self",(char *) "x",(char *) "y", NULL
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9896 arg2
= (int) SWIG_AsInt(obj1
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9898 arg3
= (int) SWIG_AsInt(obj2
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 (arg1
)->SetMargins(arg2
,arg3
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 Py_INCREF(Py_None
); resultobj
= Py_None
;
9914 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
;
9916 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9917 wxColour
*arg2
= 0 ;
9919 PyObject
* obj0
= 0 ;
9920 PyObject
* obj1
= 0 ;
9922 (char *) "self",(char *) "col", NULL
9925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
9926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9930 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9939 Py_INCREF(Py_None
); resultobj
= Py_None
;
9946 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
9948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9949 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
9951 return Py_BuildValue((char *)"");
9953 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
;
9955 wxWindow
*arg1
= (wxWindow
*) 0 ;
9956 int arg2
= (int) wxID_ANY
;
9957 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9958 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9959 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9960 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9961 long arg5
= (long) 0 ;
9962 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9963 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9964 wxPyHtmlListBox
*result
;
9967 bool temp6
= False
;
9968 PyObject
* obj0
= 0 ;
9969 PyObject
* obj1
= 0 ;
9970 PyObject
* obj2
= 0 ;
9971 PyObject
* obj3
= 0 ;
9972 PyObject
* obj4
= 0 ;
9973 PyObject
* obj5
= 0 ;
9975 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9982 arg2
= (int) SWIG_AsInt(obj1
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9988 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9994 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9998 arg5
= (long) SWIG_AsLong(obj4
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10003 arg6
= wxString_in_helper(obj5
);
10004 if (arg6
== NULL
) SWIG_fail
;
10009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10012 wxPyEndAllowThreads(__tstate
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10030 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
*resultobj
;
10032 wxPyHtmlListBox
*result
;
10033 char *kwnames
[] = {
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10052 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
*resultobj
;
10054 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10055 PyObject
*arg2
= (PyObject
*) 0 ;
10056 PyObject
*arg3
= (PyObject
*) 0 ;
10057 PyObject
* obj0
= 0 ;
10058 PyObject
* obj1
= 0 ;
10059 PyObject
* obj2
= 0 ;
10060 char *kwnames
[] = {
10061 (char *) "self",(char *) "self",(char *) "_class", NULL
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 Py_INCREF(Py_None
); resultobj
= Py_None
;
10083 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
;
10085 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10086 wxWindow
*arg2
= (wxWindow
*) 0 ;
10087 int arg3
= (int) wxID_ANY
;
10088 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10089 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10090 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10091 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10092 long arg6
= (long) 0 ;
10093 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10094 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10098 bool temp7
= False
;
10099 PyObject
* obj0
= 0 ;
10100 PyObject
* obj1
= 0 ;
10101 PyObject
* obj2
= 0 ;
10102 PyObject
* obj3
= 0 ;
10103 PyObject
* obj4
= 0 ;
10104 PyObject
* obj5
= 0 ;
10105 PyObject
* obj6
= 0 ;
10106 char *kwnames
[] = {
10107 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10116 arg3
= (int) SWIG_AsInt(obj2
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10122 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10128 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10132 arg6
= (long) SWIG_AsLong(obj5
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10137 arg7
= wxString_in_helper(obj6
);
10138 if (arg7
== NULL
) SWIG_fail
;
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10164 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10165 PyObject
*resultobj
;
10166 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10167 PyObject
* obj0
= 0 ;
10168 char *kwnames
[] = {
10169 (char *) "self", NULL
10172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 (arg1
)->RefreshAll();
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10182 Py_INCREF(Py_None
); resultobj
= Py_None
;
10189 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
;
10191 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10193 PyObject
* obj0
= 0 ;
10194 PyObject
* obj1
= 0 ;
10195 char *kwnames
[] = {
10196 (char *) "self",(char *) "count", NULL
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10202 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 (arg1
)->SetItemCount(arg2
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 Py_INCREF(Py_None
); resultobj
= Py_None
;
10218 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
10220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10221 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10223 return Py_BuildValue((char *)"");
10225 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
*resultobj
;
10227 wxTaskBarIcon
*result
;
10228 char *kwnames
[] = {
10232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10235 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10247 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
;
10249 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10250 PyObject
* obj0
= 0 ;
10251 char *kwnames
[] = {
10252 (char *) "self", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10265 Py_INCREF(Py_None
); resultobj
= Py_None
;
10272 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
10274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10275 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10277 return Py_BuildValue((char *)"");
10279 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
;
10282 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10283 wxTaskBarIconEvent
*result
;
10284 PyObject
* obj0
= 0 ;
10285 PyObject
* obj1
= 0 ;
10286 char *kwnames
[] = {
10287 (char *) "evtType",(char *) "tbIcon", NULL
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10291 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10292 if (PyErr_Occurred()) SWIG_fail
;
10293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10297 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10299 wxPyEndAllowThreads(__tstate
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10309 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
10311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10312 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10314 return Py_BuildValue((char *)"");
10316 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
10317 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10322 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10327 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10329 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10336 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
10337 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10342 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10347 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10349 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10356 static int _wrap_DirDialogNameStr_set(PyObject
*) {
10357 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10362 static PyObject
*_wrap_DirDialogNameStr_get() {
10367 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10369 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10376 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
10377 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10382 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10387 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10389 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10396 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
10397 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10402 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10407 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10409 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10416 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
10417 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10422 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10427 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10429 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10436 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
*resultobj
;
10438 wxColourData
*result
;
10439 char *kwnames
[] = {
10443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 result
= (wxColourData
*)new wxColourData();
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
10458 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
;
10460 wxColourData
*arg1
= (wxColourData
*) 0 ;
10461 PyObject
* obj0
= 0 ;
10462 char *kwnames
[] = {
10463 (char *) "self", NULL
10466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 Py_INCREF(Py_None
); resultobj
= Py_None
;
10483 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10485 wxColourData
*arg1
= (wxColourData
*) 0 ;
10487 PyObject
* obj0
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 result
= (bool)(arg1
)->GetChooseFull();
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10509 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
;
10511 wxColourData
*arg1
= (wxColourData
*) 0 ;
10513 PyObject
* obj0
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "self", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
10519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 result
= (arg1
)->GetColour();
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10529 wxColour
* resultptr
;
10530 resultptr
= new wxColour((wxColour
&) result
);
10531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10539 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10540 PyObject
*resultobj
;
10541 wxColourData
*arg1
= (wxColourData
*) 0 ;
10544 PyObject
* obj0
= 0 ;
10545 PyObject
* obj1
= 0 ;
10546 char *kwnames
[] = {
10547 (char *) "self",(char *) "i", NULL
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10553 arg2
= (int) SWIG_AsInt(obj1
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 result
= (arg1
)->GetCustomColour(arg2
);
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10563 wxColour
* resultptr
;
10564 resultptr
= new wxColour((wxColour
&) result
);
10565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10573 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
;
10575 wxColourData
*arg1
= (wxColourData
*) 0 ;
10577 PyObject
* obj0
= 0 ;
10578 PyObject
* obj1
= 0 ;
10579 char *kwnames
[] = {
10580 (char *) "self",(char *) "flag", NULL
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
10584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10586 arg2
= (int) SWIG_AsInt(obj1
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 (arg1
)->SetChooseFull(arg2
);
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 Py_INCREF(Py_None
); resultobj
= Py_None
;
10602 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxColourData
*arg1
= (wxColourData
*) 0 ;
10605 wxColour
*arg2
= 0 ;
10607 PyObject
* obj0
= 0 ;
10608 PyObject
* obj1
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "self",(char *) "colour", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10618 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 (arg1
)->SetColour((wxColour
const &)*arg2
);
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10627 Py_INCREF(Py_None
); resultobj
= Py_None
;
10634 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
;
10636 wxColourData
*arg1
= (wxColourData
*) 0 ;
10638 wxColour
*arg3
= 0 ;
10640 PyObject
* obj0
= 0 ;
10641 PyObject
* obj1
= 0 ;
10642 PyObject
* obj2
= 0 ;
10643 char *kwnames
[] = {
10644 (char *) "self",(char *) "i",(char *) "colour", NULL
10647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10650 arg2
= (int) SWIG_AsInt(obj1
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10654 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 Py_INCREF(Py_None
); resultobj
= Py_None
;
10670 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
10672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10673 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
10675 return Py_BuildValue((char *)"");
10677 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
;
10679 wxWindow
*arg1
= (wxWindow
*) 0 ;
10680 wxColourData
*arg2
= (wxColourData
*) NULL
;
10681 wxColourDialog
*result
;
10682 PyObject
* obj0
= 0 ;
10683 PyObject
* obj1
= 0 ;
10684 char *kwnames
[] = {
10685 (char *) "parent",(char *) "data", NULL
10688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
10689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
10693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
10709 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
;
10711 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10712 wxColourData
*result
;
10713 PyObject
* obj0
= 0 ;
10714 char *kwnames
[] = {
10715 (char *) "self", NULL
10718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
10719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
10720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 wxColourData
&_result_ref
= (arg1
)->GetColourData();
10725 result
= (wxColourData
*) &_result_ref
;
10728 wxPyEndAllowThreads(__tstate
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
10738 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
10740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10741 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
10743 return Py_BuildValue((char *)"");
10745 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10747 wxWindow
*arg1
= (wxWindow
*) 0 ;
10748 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
10749 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10750 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10751 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10752 long arg4
= (long) 0 ;
10753 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10754 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10755 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10756 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10757 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
10758 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10759 wxDirDialog
*result
;
10760 bool temp2
= False
;
10761 bool temp3
= False
;
10764 bool temp7
= False
;
10765 PyObject
* obj0
= 0 ;
10766 PyObject
* obj1
= 0 ;
10767 PyObject
* obj2
= 0 ;
10768 PyObject
* obj3
= 0 ;
10769 PyObject
* obj4
= 0 ;
10770 PyObject
* obj5
= 0 ;
10771 PyObject
* obj6
= 0 ;
10772 char *kwnames
[] = {
10773 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10781 arg2
= wxString_in_helper(obj1
);
10782 if (arg2
== NULL
) SWIG_fail
;
10788 arg3
= wxString_in_helper(obj2
);
10789 if (arg3
== NULL
) SWIG_fail
;
10794 arg4
= (long) SWIG_AsLong(obj3
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10800 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10806 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10811 arg7
= wxString_in_helper(obj6
);
10812 if (arg7
== NULL
) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
10854 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
;
10856 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10858 PyObject
* obj0
= 0 ;
10859 char *kwnames
[] = {
10860 (char *) "self", NULL
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
10865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 result
= (arg1
)->GetPath();
10870 wxPyEndAllowThreads(__tstate
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10886 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10887 PyObject
*resultobj
;
10888 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10890 PyObject
* obj0
= 0 ;
10891 char *kwnames
[] = {
10892 (char *) "self", NULL
10895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
10897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 result
= (arg1
)->GetMessage();
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10918 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
;
10920 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10922 PyObject
* obj0
= 0 ;
10923 char *kwnames
[] = {
10924 (char *) "self", NULL
10927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
10929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 result
= (long)(arg1
)->GetStyle();
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10937 resultobj
= SWIG_FromLong((long)result
);
10944 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
*resultobj
;
10946 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10947 wxString
*arg2
= 0 ;
10948 bool temp2
= False
;
10949 PyObject
* obj0
= 0 ;
10950 PyObject
* obj1
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "self",(char *) "message", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
10957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10959 arg2
= wxString_in_helper(obj1
);
10960 if (arg2
== NULL
) SWIG_fail
;
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 (arg1
)->SetMessage((wxString
const &)*arg2
);
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10970 Py_INCREF(Py_None
); resultobj
= Py_None
;
10985 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
*resultobj
;
10987 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10988 wxString
*arg2
= 0 ;
10989 bool temp2
= False
;
10990 PyObject
* obj0
= 0 ;
10991 PyObject
* obj1
= 0 ;
10992 char *kwnames
[] = {
10993 (char *) "self",(char *) "path", NULL
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
10998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11000 arg2
= wxString_in_helper(obj1
);
11001 if (arg2
== NULL
) SWIG_fail
;
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 (arg1
)->SetPath((wxString
const &)*arg2
);
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11011 Py_INCREF(Py_None
); resultobj
= Py_None
;
11026 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
11028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11029 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11031 return Py_BuildValue((char *)"");
11033 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
*resultobj
;
11035 wxWindow
*arg1
= (wxWindow
*) 0 ;
11036 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11037 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11038 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11039 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11040 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11041 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11042 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11043 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11044 long arg6
= (long) 0 ;
11045 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11046 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11047 wxFileDialog
*result
;
11048 bool temp2
= False
;
11049 bool temp3
= False
;
11050 bool temp4
= False
;
11051 bool temp5
= False
;
11053 PyObject
* obj0
= 0 ;
11054 PyObject
* obj1
= 0 ;
11055 PyObject
* obj2
= 0 ;
11056 PyObject
* obj3
= 0 ;
11057 PyObject
* obj4
= 0 ;
11058 PyObject
* obj5
= 0 ;
11059 PyObject
* obj6
= 0 ;
11060 char *kwnames
[] = {
11061 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11069 arg2
= wxString_in_helper(obj1
);
11070 if (arg2
== NULL
) SWIG_fail
;
11076 arg3
= wxString_in_helper(obj2
);
11077 if (arg3
== NULL
) SWIG_fail
;
11083 arg4
= wxString_in_helper(obj3
);
11084 if (arg4
== NULL
) SWIG_fail
;
11090 arg5
= wxString_in_helper(obj4
);
11091 if (arg5
== NULL
) SWIG_fail
;
11096 arg6
= (long) SWIG_AsLong(obj5
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11102 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11151 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11152 PyObject
*resultobj
;
11153 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11154 wxString
*arg2
= 0 ;
11155 bool temp2
= False
;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 char *kwnames
[] = {
11159 (char *) "self",(char *) "message", NULL
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11166 arg2
= wxString_in_helper(obj1
);
11167 if (arg2
== NULL
) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 (arg1
)->SetMessage((wxString
const &)*arg2
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 Py_INCREF(Py_None
); resultobj
= Py_None
;
11192 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
;
11194 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11195 wxString
*arg2
= 0 ;
11196 bool temp2
= False
;
11197 PyObject
* obj0
= 0 ;
11198 PyObject
* obj1
= 0 ;
11199 char *kwnames
[] = {
11200 (char *) "self",(char *) "path", NULL
11203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11207 arg2
= wxString_in_helper(obj1
);
11208 if (arg2
== NULL
) SWIG_fail
;
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 (arg1
)->SetPath((wxString
const &)*arg2
);
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11218 Py_INCREF(Py_None
); resultobj
= Py_None
;
11233 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
;
11235 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11236 wxString
*arg2
= 0 ;
11237 bool temp2
= False
;
11238 PyObject
* obj0
= 0 ;
11239 PyObject
* obj1
= 0 ;
11240 char *kwnames
[] = {
11241 (char *) "self",(char *) "dir", NULL
11244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11248 arg2
= wxString_in_helper(obj1
);
11249 if (arg2
== NULL
) SWIG_fail
;
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11254 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11259 Py_INCREF(Py_None
); resultobj
= Py_None
;
11274 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
;
11276 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11277 wxString
*arg2
= 0 ;
11278 bool temp2
= False
;
11279 PyObject
* obj0
= 0 ;
11280 PyObject
* obj1
= 0 ;
11281 char *kwnames
[] = {
11282 (char *) "self",(char *) "name", NULL
11285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11289 arg2
= wxString_in_helper(obj1
);
11290 if (arg2
== NULL
) SWIG_fail
;
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 (arg1
)->SetFilename((wxString
const &)*arg2
);
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11300 Py_INCREF(Py_None
); resultobj
= Py_None
;
11315 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11316 PyObject
*resultobj
;
11317 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11318 wxString
*arg2
= 0 ;
11319 bool temp2
= False
;
11320 PyObject
* obj0
= 0 ;
11321 PyObject
* obj1
= 0 ;
11322 char *kwnames
[] = {
11323 (char *) "self",(char *) "wildCard", NULL
11326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11330 arg2
= wxString_in_helper(obj1
);
11331 if (arg2
== NULL
) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 Py_INCREF(Py_None
); resultobj
= Py_None
;
11356 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
;
11358 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11360 PyObject
* obj0
= 0 ;
11361 PyObject
* obj1
= 0 ;
11362 char *kwnames
[] = {
11363 (char *) "self",(char *) "style", NULL
11366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11369 arg2
= (long) SWIG_AsLong(obj1
);
11370 if (PyErr_Occurred()) SWIG_fail
;
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 (arg1
)->SetStyle(arg2
);
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11378 Py_INCREF(Py_None
); resultobj
= Py_None
;
11385 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11386 PyObject
*resultobj
;
11387 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11389 PyObject
* obj0
= 0 ;
11390 PyObject
* obj1
= 0 ;
11391 char *kwnames
[] = {
11392 (char *) "self",(char *) "filterIndex", NULL
11395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11398 arg2
= (int) SWIG_AsInt(obj1
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 (arg1
)->SetFilterIndex(arg2
);
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11407 Py_INCREF(Py_None
); resultobj
= Py_None
;
11414 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
*resultobj
;
11416 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11418 PyObject
* obj0
= 0 ;
11419 char *kwnames
[] = {
11420 (char *) "self", NULL
11423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11446 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
;
11448 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11450 PyObject
* obj0
= 0 ;
11451 char *kwnames
[] = {
11452 (char *) "self", NULL
11455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11462 wxPyEndAllowThreads(__tstate
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11478 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11479 PyObject
*resultobj
;
11480 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11482 PyObject
* obj0
= 0 ;
11483 char *kwnames
[] = {
11484 (char *) "self", NULL
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11510 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
*resultobj
;
11512 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11514 PyObject
* obj0
= 0 ;
11515 char *kwnames
[] = {
11516 (char *) "self", NULL
11519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
11520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11524 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
11526 wxPyEndAllowThreads(__tstate
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11542 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
;
11544 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11546 PyObject
* obj0
= 0 ;
11547 char *kwnames
[] = {
11548 (char *) "self", NULL
11551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
11552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11574 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
;
11576 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11578 PyObject
* obj0
= 0 ;
11579 char *kwnames
[] = {
11580 (char *) "self", NULL
11583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11593 resultobj
= SWIG_FromLong((long)result
);
11600 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11601 PyObject
*resultobj
;
11602 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11604 PyObject
* obj0
= 0 ;
11605 char *kwnames
[] = {
11606 (char *) "self", NULL
11609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
11610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11614 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
11616 wxPyEndAllowThreads(__tstate
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11619 resultobj
= SWIG_FromInt((int)result
);
11626 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11627 PyObject
*resultobj
;
11628 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11630 PyObject
* obj0
= 0 ;
11631 char *kwnames
[] = {
11632 (char *) "self", NULL
11635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
11636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11645 resultobj
= result
;
11652 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
;
11654 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11656 PyObject
* obj0
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "self", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
11662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= result
;
11678 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
11680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11681 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
11683 return Py_BuildValue((char *)"");
11685 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11686 PyObject
*resultobj
;
11687 wxWindow
*arg1
= (wxWindow
*) 0 ;
11688 wxString
*arg2
= 0 ;
11689 wxString
*arg3
= 0 ;
11690 int arg4
= (int) 0 ;
11691 wxString
*arg5
= (wxString
*) 0 ;
11692 long arg6
= (long) wxCHOICEDLG_STYLE
;
11693 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11694 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11695 wxMultiChoiceDialog
*result
;
11696 bool temp2
= False
;
11697 bool temp3
= False
;
11699 PyObject
* obj0
= 0 ;
11700 PyObject
* obj1
= 0 ;
11701 PyObject
* obj2
= 0 ;
11702 PyObject
* obj3
= 0 ;
11703 PyObject
* obj4
= 0 ;
11704 PyObject
* obj5
= 0 ;
11705 char *kwnames
[] = {
11706 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11713 arg2
= wxString_in_helper(obj1
);
11714 if (arg2
== NULL
) SWIG_fail
;
11718 arg3
= wxString_in_helper(obj2
);
11719 if (arg3
== NULL
) SWIG_fail
;
11724 arg4
= PyList_Size(obj3
);
11725 arg5
= wxString_LIST_helper(obj3
);
11726 if (arg5
== NULL
) SWIG_fail
;
11730 arg6
= (long) SWIG_AsLong(obj4
);
11731 if (PyErr_Occurred()) SWIG_fail
;
11736 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
11756 if (arg5
) delete [] arg5
;
11769 if (arg5
) delete [] arg5
;
11775 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11776 PyObject
*resultobj
;
11777 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11778 wxArrayInt
*arg2
= 0 ;
11779 bool temp2
= False
;
11780 PyObject
* obj0
= 0 ;
11781 PyObject
* obj1
= 0 ;
11782 char *kwnames
[] = {
11783 (char *) "self",(char *) "selections", NULL
11786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
11787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
11788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11790 if (! PySequence_Check(obj1
)) {
11791 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11794 arg2
= new wxArrayInt
;
11796 int i
, len
=PySequence_Length(obj1
);
11797 for (i
=0; i
<len
; i
++) {
11798 PyObject
* item
= PySequence_GetItem(obj1
, i
);
11799 PyObject
* number
= PyNumber_Int(item
);
11800 arg2
->Add(PyInt_AS_LONG(number
));
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11812 Py_INCREF(Py_None
); resultobj
= Py_None
;
11814 if (temp2
) delete arg2
;
11819 if (temp2
) delete arg2
;
11825 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
;
11827 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11829 PyObject
* obj0
= 0 ;
11830 char *kwnames
[] = {
11831 (char *) "self", NULL
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
11835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
11836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= result
;
11851 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
11853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11854 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
11856 return Py_BuildValue((char *)"");
11858 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11859 PyObject
*resultobj
;
11860 wxWindow
*arg1
= (wxWindow
*) 0 ;
11861 wxString
*arg2
= 0 ;
11862 wxString
*arg3
= 0 ;
11864 wxString
*arg5
= (wxString
*) 0 ;
11865 long arg6
= (long) wxCHOICEDLG_STYLE
;
11866 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11867 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11868 wxSingleChoiceDialog
*result
;
11869 bool temp2
= False
;
11870 bool temp3
= False
;
11872 PyObject
* obj0
= 0 ;
11873 PyObject
* obj1
= 0 ;
11874 PyObject
* obj2
= 0 ;
11875 PyObject
* obj3
= 0 ;
11876 PyObject
* obj4
= 0 ;
11877 PyObject
* obj5
= 0 ;
11878 char *kwnames
[] = {
11879 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11886 arg2
= wxString_in_helper(obj1
);
11887 if (arg2
== NULL
) SWIG_fail
;
11891 arg3
= wxString_in_helper(obj2
);
11892 if (arg3
== NULL
) SWIG_fail
;
11896 arg4
= PyList_Size(obj3
);
11897 arg5
= wxString_LIST_helper(obj3
);
11898 if (arg5
== NULL
) SWIG_fail
;
11901 arg6
= (long) SWIG_AsLong(obj4
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11907 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
11927 if (arg5
) delete [] arg5
;
11940 if (arg5
) delete [] arg5
;
11946 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11947 PyObject
*resultobj
;
11948 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11950 PyObject
* obj0
= 0 ;
11951 char *kwnames
[] = {
11952 (char *) "self", NULL
11955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
11956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
11957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11960 result
= (int)(arg1
)->GetSelection();
11962 wxPyEndAllowThreads(__tstate
);
11963 if (PyErr_Occurred()) SWIG_fail
;
11965 resultobj
= SWIG_FromInt((int)result
);
11972 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11973 PyObject
*resultobj
;
11974 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11976 PyObject
* obj0
= 0 ;
11977 char *kwnames
[] = {
11978 (char *) "self", NULL
11981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
11983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 result
= (arg1
)->GetStringSelection();
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12004 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
*resultobj
;
12006 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12008 PyObject
* obj0
= 0 ;
12009 PyObject
* obj1
= 0 ;
12010 char *kwnames
[] = {
12011 (char *) "self",(char *) "sel", NULL
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12017 arg2
= (int) SWIG_AsInt(obj1
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 (arg1
)->SetSelection(arg2
);
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12026 Py_INCREF(Py_None
); resultobj
= Py_None
;
12033 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12036 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12038 return Py_BuildValue((char *)"");
12040 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
;
12042 wxWindow
*arg1
= (wxWindow
*) 0 ;
12043 wxString
*arg2
= 0 ;
12044 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12045 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12046 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12047 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12048 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12049 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12050 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12051 wxTextEntryDialog
*result
;
12052 bool temp2
= False
;
12053 bool temp3
= False
;
12054 bool temp4
= False
;
12056 PyObject
* obj0
= 0 ;
12057 PyObject
* obj1
= 0 ;
12058 PyObject
* obj2
= 0 ;
12059 PyObject
* obj3
= 0 ;
12060 PyObject
* obj4
= 0 ;
12061 PyObject
* obj5
= 0 ;
12062 char *kwnames
[] = {
12063 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12070 arg2
= wxString_in_helper(obj1
);
12071 if (arg2
== NULL
) SWIG_fail
;
12076 arg3
= wxString_in_helper(obj2
);
12077 if (arg3
== NULL
) SWIG_fail
;
12083 arg4
= wxString_in_helper(obj3
);
12084 if (arg4
== NULL
) SWIG_fail
;
12089 arg5
= (long) SWIG_AsLong(obj4
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12095 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12100 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12136 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
*resultobj
;
12138 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12140 PyObject
* obj0
= 0 ;
12141 char *kwnames
[] = {
12142 (char *) "self", NULL
12145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 result
= (arg1
)->GetValue();
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12168 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12169 PyObject
*resultobj
;
12170 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12171 wxString
*arg2
= 0 ;
12172 bool temp2
= False
;
12173 PyObject
* obj0
= 0 ;
12174 PyObject
* obj1
= 0 ;
12175 char *kwnames
[] = {
12176 (char *) "self",(char *) "value", NULL
12179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12183 arg2
= wxString_in_helper(obj1
);
12184 if (arg2
== NULL
) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 (arg1
)->SetValue((wxString
const &)*arg2
);
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 Py_INCREF(Py_None
); resultobj
= Py_None
;
12209 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
12211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12212 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12214 return Py_BuildValue((char *)"");
12216 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12217 PyObject
*resultobj
;
12218 wxFontData
*result
;
12219 char *kwnames
[] = {
12223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (wxFontData
*)new wxFontData();
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12238 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12239 PyObject
*resultobj
;
12240 wxFontData
*arg1
= (wxFontData
*) 0 ;
12241 PyObject
* obj0
= 0 ;
12242 char *kwnames
[] = {
12243 (char *) "self", NULL
12246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 Py_INCREF(Py_None
); resultobj
= Py_None
;
12263 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
;
12265 wxFontData
*arg1
= (wxFontData
*) 0 ;
12267 PyObject
* obj0
= 0 ;
12268 PyObject
* obj1
= 0 ;
12269 char *kwnames
[] = {
12270 (char *) "self",(char *) "enable", NULL
12273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12276 arg2
= (bool) SWIG_AsBool(obj1
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 (arg1
)->EnableEffects(arg2
);
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 Py_INCREF(Py_None
); resultobj
= Py_None
;
12292 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
;
12294 wxFontData
*arg1
= (wxFontData
*) 0 ;
12296 PyObject
* obj0
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 result
= (bool)(arg1
)->GetAllowSymbols();
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12318 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
;
12320 wxFontData
*arg1
= (wxFontData
*) 0 ;
12322 PyObject
* obj0
= 0 ;
12323 char *kwnames
[] = {
12324 (char *) "self", NULL
12327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12332 result
= (arg1
)->GetColour();
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12338 wxColour
* resultptr
;
12339 resultptr
= new wxColour((wxColour
&) result
);
12340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12348 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
;
12350 wxFontData
*arg1
= (wxFontData
*) 0 ;
12352 PyObject
* obj0
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 result
= (arg1
)->GetChosenFont();
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12368 wxFont
* resultptr
;
12369 resultptr
= new wxFont((wxFont
&) result
);
12370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12378 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
;
12380 wxFontData
*arg1
= (wxFontData
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 char *kwnames
[] = {
12384 (char *) "self", NULL
12387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 result
= (bool)(arg1
)->GetEnableEffects();
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12404 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12405 PyObject
*resultobj
;
12406 wxFontData
*arg1
= (wxFontData
*) 0 ;
12408 PyObject
* obj0
= 0 ;
12409 char *kwnames
[] = {
12410 (char *) "self", NULL
12413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 result
= (arg1
)->GetInitialFont();
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12424 wxFont
* resultptr
;
12425 resultptr
= new wxFont((wxFont
&) result
);
12426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12434 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12435 PyObject
*resultobj
;
12436 wxFontData
*arg1
= (wxFontData
*) 0 ;
12438 PyObject
* obj0
= 0 ;
12439 char *kwnames
[] = {
12440 (char *) "self", NULL
12443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 result
= (bool)(arg1
)->GetShowHelp();
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12460 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxFontData
*arg1
= (wxFontData
*) 0 ;
12464 PyObject
* obj0
= 0 ;
12465 PyObject
* obj1
= 0 ;
12466 char *kwnames
[] = {
12467 (char *) "self",(char *) "allowSymbols", NULL
12470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12473 arg2
= (bool) SWIG_AsBool(obj1
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12477 (arg1
)->SetAllowSymbols(arg2
);
12479 wxPyEndAllowThreads(__tstate
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12482 Py_INCREF(Py_None
); resultobj
= Py_None
;
12489 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12490 PyObject
*resultobj
;
12491 wxFontData
*arg1
= (wxFontData
*) 0 ;
12493 PyObject
* obj0
= 0 ;
12494 PyObject
* obj1
= 0 ;
12495 char *kwnames
[] = {
12496 (char *) "self",(char *) "font", NULL
12499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12505 if (arg2
== NULL
) {
12506 PyErr_SetString(PyExc_TypeError
,"null reference");
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12516 Py_INCREF(Py_None
); resultobj
= Py_None
;
12523 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
*resultobj
;
12525 wxFontData
*arg1
= (wxFontData
*) 0 ;
12526 wxColour
*arg2
= 0 ;
12528 PyObject
* obj0
= 0 ;
12529 PyObject
* obj1
= 0 ;
12530 char *kwnames
[] = {
12531 (char *) "self",(char *) "colour", NULL
12534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12539 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12543 (arg1
)->SetColour((wxColour
const &)*arg2
);
12545 wxPyEndAllowThreads(__tstate
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12548 Py_INCREF(Py_None
); resultobj
= Py_None
;
12555 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12556 PyObject
*resultobj
;
12557 wxFontData
*arg1
= (wxFontData
*) 0 ;
12559 PyObject
* obj0
= 0 ;
12560 PyObject
* obj1
= 0 ;
12561 char *kwnames
[] = {
12562 (char *) "self",(char *) "font", NULL
12565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12569 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12571 if (arg2
== NULL
) {
12572 PyErr_SetString(PyExc_TypeError
,"null reference");
12576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12577 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
12579 wxPyEndAllowThreads(__tstate
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12582 Py_INCREF(Py_None
); resultobj
= Py_None
;
12589 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12590 PyObject
*resultobj
;
12591 wxFontData
*arg1
= (wxFontData
*) 0 ;
12594 PyObject
* obj0
= 0 ;
12595 PyObject
* obj1
= 0 ;
12596 PyObject
* obj2
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self",(char *) "min",(char *) "max", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12604 arg2
= (int) SWIG_AsInt(obj1
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12606 arg3
= (int) SWIG_AsInt(obj2
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 (arg1
)->SetRange(arg2
,arg3
);
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12615 Py_INCREF(Py_None
); resultobj
= Py_None
;
12622 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
;
12624 wxFontData
*arg1
= (wxFontData
*) 0 ;
12626 PyObject
* obj0
= 0 ;
12627 PyObject
* obj1
= 0 ;
12628 char *kwnames
[] = {
12629 (char *) "self",(char *) "showHelp", NULL
12632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
12633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12635 arg2
= (bool) SWIG_AsBool(obj1
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12639 (arg1
)->SetShowHelp(arg2
);
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12644 Py_INCREF(Py_None
); resultobj
= Py_None
;
12651 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
12653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12654 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
12656 return Py_BuildValue((char *)"");
12658 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
;
12660 wxWindow
*arg1
= (wxWindow
*) 0 ;
12661 wxFontData
*arg2
= 0 ;
12662 wxFontDialog
*result
;
12663 PyObject
* obj0
= 0 ;
12664 PyObject
* obj1
= 0 ;
12665 char *kwnames
[] = {
12666 (char *) "parent",(char *) "data", NULL
12669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
12670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
12673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12675 if (arg2
== NULL
) {
12676 PyErr_SetString(PyExc_TypeError
,"null reference");
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
12693 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
;
12695 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
12696 wxFontData
*result
;
12697 PyObject
* obj0
= 0 ;
12698 char *kwnames
[] = {
12699 (char *) "self", NULL
12702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
12703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
12704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 wxFontData
&_result_ref
= (arg1
)->GetFontData();
12709 result
= (wxFontData
*) &_result_ref
;
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
12722 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
12724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12725 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
12727 return Py_BuildValue((char *)"");
12729 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxWindow
*arg1
= (wxWindow
*) 0 ;
12732 wxString
*arg2
= 0 ;
12733 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
12734 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12735 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12736 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12737 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12738 wxMessageDialog
*result
;
12739 bool temp2
= False
;
12740 bool temp3
= False
;
12742 PyObject
* obj0
= 0 ;
12743 PyObject
* obj1
= 0 ;
12744 PyObject
* obj2
= 0 ;
12745 PyObject
* obj3
= 0 ;
12746 PyObject
* obj4
= 0 ;
12747 char *kwnames
[] = {
12748 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12755 arg2
= wxString_in_helper(obj1
);
12756 if (arg2
== NULL
) SWIG_fail
;
12761 arg3
= wxString_in_helper(obj2
);
12762 if (arg3
== NULL
) SWIG_fail
;
12767 arg4
= (long) SWIG_AsLong(obj3
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12773 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
12806 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
12808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12809 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
12811 return Py_BuildValue((char *)"");
12813 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
;
12815 wxString
*arg1
= 0 ;
12816 wxString
*arg2
= 0 ;
12817 int arg3
= (int) 100 ;
12818 wxWindow
*arg4
= (wxWindow
*) NULL
;
12819 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
12820 wxProgressDialog
*result
;
12821 bool temp1
= False
;
12822 bool temp2
= False
;
12823 PyObject
* obj0
= 0 ;
12824 PyObject
* obj1
= 0 ;
12825 PyObject
* obj2
= 0 ;
12826 PyObject
* obj3
= 0 ;
12827 PyObject
* obj4
= 0 ;
12828 char *kwnames
[] = {
12829 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12834 arg1
= wxString_in_helper(obj0
);
12835 if (arg1
== NULL
) SWIG_fail
;
12839 arg2
= wxString_in_helper(obj1
);
12840 if (arg2
== NULL
) SWIG_fail
;
12844 arg3
= (int) SWIG_AsInt(obj2
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12848 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
12849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12852 arg5
= (int) SWIG_AsInt(obj4
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
12885 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12886 PyObject
*resultobj
;
12887 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12889 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12890 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12892 bool temp3
= False
;
12893 PyObject
* obj0
= 0 ;
12894 PyObject
* obj1
= 0 ;
12895 PyObject
* obj2
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
12902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12903 arg2
= (int) SWIG_AsInt(obj1
);
12904 if (PyErr_Occurred()) SWIG_fail
;
12907 arg3
= wxString_in_helper(obj2
);
12908 if (arg3
== NULL
) SWIG_fail
;
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12914 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
12916 wxPyEndAllowThreads(__tstate
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12934 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
;
12936 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12937 PyObject
* obj0
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "self", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
12943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
12944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12952 Py_INCREF(Py_None
); resultobj
= Py_None
;
12959 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
12961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12962 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
12964 return Py_BuildValue((char *)"");
12966 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12967 PyObject
*resultobj
;
12968 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12969 int arg2
= (int) 0 ;
12970 wxFindDialogEvent
*result
;
12971 PyObject
* obj0
= 0 ;
12972 PyObject
* obj1
= 0 ;
12973 char *kwnames
[] = {
12974 (char *) "commandType",(char *) "id", NULL
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12979 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12983 arg2
= (int) SWIG_AsInt(obj1
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13000 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13001 PyObject
*resultobj
;
13002 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13004 PyObject
* obj0
= 0 ;
13005 char *kwnames
[] = {
13006 (char *) "self", NULL
13009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 result
= (int)(arg1
)->GetFlags();
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13019 resultobj
= SWIG_FromInt((int)result
);
13026 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13027 PyObject
*resultobj
;
13028 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13030 PyObject
* obj0
= 0 ;
13031 char *kwnames
[] = {
13032 (char *) "self", NULL
13035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 wxString
const &_result_ref
= (arg1
)->GetFindString();
13042 result
= (wxString
*) &_result_ref
;
13045 wxPyEndAllowThreads(__tstate
);
13046 if (PyErr_Occurred()) SWIG_fail
;
13050 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13052 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13061 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13062 PyObject
*resultobj
;
13063 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13065 PyObject
* obj0
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "self", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13077 result
= (wxString
*) &_result_ref
;
13080 wxPyEndAllowThreads(__tstate
);
13081 if (PyErr_Occurred()) SWIG_fail
;
13085 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13087 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13096 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13097 PyObject
*resultobj
;
13098 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13099 wxFindReplaceDialog
*result
;
13100 PyObject
* obj0
= 0 ;
13101 char *kwnames
[] = {
13102 (char *) "self", NULL
13105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13122 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
;
13124 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13126 PyObject
* obj0
= 0 ;
13127 PyObject
* obj1
= 0 ;
13128 char *kwnames
[] = {
13129 (char *) "self",(char *) "flags", NULL
13132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13135 arg2
= (int) SWIG_AsInt(obj1
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 (arg1
)->SetFlags(arg2
);
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 Py_INCREF(Py_None
); resultobj
= Py_None
;
13151 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13152 PyObject
*resultobj
;
13153 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13154 wxString
*arg2
= 0 ;
13155 bool temp2
= False
;
13156 PyObject
* obj0
= 0 ;
13157 PyObject
* obj1
= 0 ;
13158 char *kwnames
[] = {
13159 (char *) "self",(char *) "str", NULL
13162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13166 arg2
= wxString_in_helper(obj1
);
13167 if (arg2
== NULL
) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 (arg1
)->SetFindString((wxString
const &)*arg2
);
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 Py_INCREF(Py_None
); resultobj
= Py_None
;
13192 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13194 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13195 wxString
*arg2
= 0 ;
13196 bool temp2
= False
;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 char *kwnames
[] = {
13200 (char *) "self",(char *) "str", NULL
13203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13207 arg2
= wxString_in_helper(obj1
);
13208 if (arg2
== NULL
) SWIG_fail
;
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 Py_INCREF(Py_None
); resultobj
= Py_None
;
13233 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
13235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13236 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13238 return Py_BuildValue((char *)"");
13240 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13241 PyObject
*resultobj
;
13242 int arg1
= (int) 0 ;
13243 wxFindReplaceData
*result
;
13244 PyObject
* obj0
= 0 ;
13245 char *kwnames
[] = {
13246 (char *) "flags", NULL
13249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13251 arg1
= (int) SWIG_AsInt(obj0
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13256 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13268 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13269 PyObject
*resultobj
;
13270 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13271 PyObject
* obj0
= 0 ;
13272 char *kwnames
[] = {
13273 (char *) "self", NULL
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13286 Py_INCREF(Py_None
); resultobj
= Py_None
;
13293 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13294 PyObject
*resultobj
;
13295 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13297 PyObject
* obj0
= 0 ;
13298 char *kwnames
[] = {
13299 (char *) "self", NULL
13302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 wxString
const &_result_ref
= (arg1
)->GetFindString();
13309 result
= (wxString
*) &_result_ref
;
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13317 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13319 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13328 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13329 PyObject
*resultobj
;
13330 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13332 PyObject
* obj0
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "self", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13344 result
= (wxString
*) &_result_ref
;
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13352 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13354 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13363 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13364 PyObject
*resultobj
;
13365 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13367 PyObject
* obj0
= 0 ;
13368 char *kwnames
[] = {
13369 (char *) "self", NULL
13372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 result
= (int)(arg1
)->GetFlags();
13379 wxPyEndAllowThreads(__tstate
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13382 resultobj
= SWIG_FromInt((int)result
);
13389 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
*resultobj
;
13391 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13393 PyObject
* obj0
= 0 ;
13394 PyObject
* obj1
= 0 ;
13395 char *kwnames
[] = {
13396 (char *) "self",(char *) "flags", NULL
13399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13402 arg2
= (int) SWIG_AsInt(obj1
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 (arg1
)->SetFlags(arg2
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 Py_INCREF(Py_None
); resultobj
= Py_None
;
13418 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
;
13420 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13421 wxString
*arg2
= 0 ;
13422 bool temp2
= False
;
13423 PyObject
* obj0
= 0 ;
13424 PyObject
* obj1
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self",(char *) "str", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13433 arg2
= wxString_in_helper(obj1
);
13434 if (arg2
== NULL
) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 (arg1
)->SetFindString((wxString
const &)*arg2
);
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 Py_INCREF(Py_None
); resultobj
= Py_None
;
13459 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
;
13461 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13462 wxString
*arg2
= 0 ;
13463 bool temp2
= False
;
13464 PyObject
* obj0
= 0 ;
13465 PyObject
* obj1
= 0 ;
13466 char *kwnames
[] = {
13467 (char *) "self",(char *) "str", NULL
13470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13474 arg2
= wxString_in_helper(obj1
);
13475 if (arg2
== NULL
) SWIG_fail
;
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13482 wxPyEndAllowThreads(__tstate
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13485 Py_INCREF(Py_None
); resultobj
= Py_None
;
13500 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
13502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13503 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
13505 return Py_BuildValue((char *)"");
13507 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
*resultobj
;
13509 wxWindow
*arg1
= (wxWindow
*) 0 ;
13510 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13511 wxString
*arg3
= 0 ;
13512 int arg4
= (int) 0 ;
13513 wxFindReplaceDialog
*result
;
13514 bool temp3
= False
;
13515 PyObject
* obj0
= 0 ;
13516 PyObject
* obj1
= 0 ;
13517 PyObject
* obj2
= 0 ;
13518 PyObject
* obj3
= 0 ;
13519 char *kwnames
[] = {
13520 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13529 arg3
= wxString_in_helper(obj2
);
13530 if (arg3
== NULL
) SWIG_fail
;
13534 arg4
= (int) SWIG_AsInt(obj3
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13541 wxPyEndAllowThreads(__tstate
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13559 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13560 PyObject
*resultobj
;
13561 wxFindReplaceDialog
*result
;
13562 char *kwnames
[] = {
13566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
13568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13569 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13581 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
;
13583 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13584 wxWindow
*arg2
= (wxWindow
*) 0 ;
13585 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
13586 wxString
*arg4
= 0 ;
13587 int arg5
= (int) 0 ;
13589 bool temp4
= False
;
13590 PyObject
* obj0
= 0 ;
13591 PyObject
* obj1
= 0 ;
13592 PyObject
* obj2
= 0 ;
13593 PyObject
* obj3
= 0 ;
13594 PyObject
* obj4
= 0 ;
13595 char *kwnames
[] = {
13596 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13604 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
13605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13607 arg4
= wxString_in_helper(obj3
);
13608 if (arg4
== NULL
) SWIG_fail
;
13612 arg5
= (int) SWIG_AsInt(obj4
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13617 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13619 wxPyEndAllowThreads(__tstate
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13637 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13638 PyObject
*resultobj
;
13639 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13640 wxFindReplaceData
*result
;
13641 PyObject
* obj0
= 0 ;
13642 char *kwnames
[] = {
13643 (char *) "self", NULL
13646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
13647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 result
= (wxFindReplaceData
*)(arg1
)->GetData();
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
13663 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13664 PyObject
*resultobj
;
13665 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13666 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13667 PyObject
* obj0
= 0 ;
13668 PyObject
* obj1
= 0 ;
13669 char *kwnames
[] = {
13670 (char *) "self",(char *) "data", NULL
13673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
13674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13680 (arg1
)->SetData(arg2
);
13682 wxPyEndAllowThreads(__tstate
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13685 Py_INCREF(Py_None
); resultobj
= Py_None
;
13692 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
13694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13695 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
13697 return Py_BuildValue((char *)"");
13699 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
;
13701 wxWindow
*arg1
= (wxWindow
*) 0 ;
13703 wxString
*arg3
= 0 ;
13704 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13705 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13706 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13707 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13708 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
13709 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13710 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13711 wxMDIParentFrame
*result
;
13712 bool temp3
= False
;
13715 bool temp7
= False
;
13716 PyObject
* obj0
= 0 ;
13717 PyObject
* obj1
= 0 ;
13718 PyObject
* obj2
= 0 ;
13719 PyObject
* obj3
= 0 ;
13720 PyObject
* obj4
= 0 ;
13721 PyObject
* obj5
= 0 ;
13722 PyObject
* obj6
= 0 ;
13723 char *kwnames
[] = {
13724 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13730 arg2
= (int const) SWIG_AsInt(obj1
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13733 arg3
= wxString_in_helper(obj2
);
13734 if (arg3
== NULL
) SWIG_fail
;
13740 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13746 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13750 arg6
= (long) SWIG_AsLong(obj5
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13755 arg7
= wxString_in_helper(obj6
);
13756 if (arg7
== NULL
) SWIG_fail
;
13761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13762 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
13790 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
;
13792 wxMDIParentFrame
*result
;
13793 char *kwnames
[] = {
13797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
13812 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13813 PyObject
*resultobj
;
13814 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13815 wxWindow
*arg2
= (wxWindow
*) 0 ;
13817 wxString
*arg4
= 0 ;
13818 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13819 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13820 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13821 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13822 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
13823 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13824 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13826 bool temp4
= False
;
13829 bool temp8
= False
;
13830 PyObject
* obj0
= 0 ;
13831 PyObject
* obj1
= 0 ;
13832 PyObject
* obj2
= 0 ;
13833 PyObject
* obj3
= 0 ;
13834 PyObject
* obj4
= 0 ;
13835 PyObject
* obj5
= 0 ;
13836 PyObject
* obj6
= 0 ;
13837 PyObject
* obj7
= 0 ;
13838 char *kwnames
[] = {
13839 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
13844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13847 arg3
= (int const) SWIG_AsInt(obj2
);
13848 if (PyErr_Occurred()) SWIG_fail
;
13850 arg4
= wxString_in_helper(obj3
);
13851 if (arg4
== NULL
) SWIG_fail
;
13857 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13863 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13867 arg7
= (long) SWIG_AsLong(obj6
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13872 arg8
= wxString_in_helper(obj7
);
13873 if (arg8
== NULL
) SWIG_fail
;
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13907 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13908 PyObject
*resultobj
;
13909 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13910 PyObject
* obj0
= 0 ;
13911 char *kwnames
[] = {
13912 (char *) "self", NULL
13915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
13916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
13917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 (arg1
)->ActivateNext();
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 Py_INCREF(Py_None
); resultobj
= Py_None
;
13932 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
;
13934 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13935 PyObject
* obj0
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "self", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
13941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
13942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 (arg1
)->ActivatePrevious();
13947 wxPyEndAllowThreads(__tstate
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13950 Py_INCREF(Py_None
); resultobj
= Py_None
;
13957 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13958 PyObject
*resultobj
;
13959 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13960 PyObject
* obj0
= 0 ;
13961 char *kwnames
[] = {
13962 (char *) "self", NULL
13965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
13966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
13967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 (arg1
)->ArrangeIcons();
13972 wxPyEndAllowThreads(__tstate
);
13973 if (PyErr_Occurred()) SWIG_fail
;
13975 Py_INCREF(Py_None
); resultobj
= Py_None
;
13982 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13983 PyObject
*resultobj
;
13984 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13985 PyObject
* obj0
= 0 ;
13986 char *kwnames
[] = {
13987 (char *) "self", NULL
13990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
13991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
13992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14000 Py_INCREF(Py_None
); resultobj
= Py_None
;
14007 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
;
14009 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14010 wxMDIChildFrame
*result
;
14011 PyObject
* obj0
= 0 ;
14012 char *kwnames
[] = {
14013 (char *) "self", NULL
14016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14027 resultobj
= wxPyMake_wxObject(result
);
14035 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14038 wxMDIClientWindow
*result
;
14039 PyObject
* obj0
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14055 resultobj
= wxPyMake_wxObject(result
);
14063 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14064 PyObject
*resultobj
;
14065 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14067 PyObject
* obj0
= 0 ;
14068 char *kwnames
[] = {
14069 (char *) "self", NULL
14072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 result
= (wxWindow
*)(arg1
)->GetToolBar();
14079 wxPyEndAllowThreads(__tstate
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14083 resultobj
= wxPyMake_wxObject(result
);
14091 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14092 PyObject
*resultobj
;
14093 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14094 PyObject
* obj0
= 0 ;
14095 char *kwnames
[] = {
14096 (char *) "self", NULL
14099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14106 wxPyEndAllowThreads(__tstate
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14109 Py_INCREF(Py_None
); resultobj
= Py_None
;
14116 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
14118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14119 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14121 return Py_BuildValue((char *)"");
14123 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
;
14125 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14127 wxString
*arg3
= 0 ;
14128 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14129 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14130 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14131 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14132 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14133 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14134 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14135 wxMDIChildFrame
*result
;
14136 bool temp3
= False
;
14139 bool temp7
= False
;
14140 PyObject
* obj0
= 0 ;
14141 PyObject
* obj1
= 0 ;
14142 PyObject
* obj2
= 0 ;
14143 PyObject
* obj3
= 0 ;
14144 PyObject
* obj4
= 0 ;
14145 PyObject
* obj5
= 0 ;
14146 PyObject
* obj6
= 0 ;
14147 char *kwnames
[] = {
14148 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14154 arg2
= (int const) SWIG_AsInt(obj1
);
14155 if (PyErr_Occurred()) SWIG_fail
;
14157 arg3
= wxString_in_helper(obj2
);
14158 if (arg3
== NULL
) SWIG_fail
;
14164 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14170 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14174 arg6
= (long) SWIG_AsLong(obj5
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14179 arg7
= wxString_in_helper(obj6
);
14180 if (arg7
== NULL
) SWIG_fail
;
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= wxPyMake_wxObject(result
);
14216 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14217 PyObject
*resultobj
;
14218 wxMDIChildFrame
*result
;
14219 char *kwnames
[] = {
14223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14226 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14228 wxPyEndAllowThreads(__tstate
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14232 resultobj
= wxPyMake_wxObject(result
);
14240 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14241 PyObject
*resultobj
;
14242 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14243 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14245 wxString
*arg4
= 0 ;
14246 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14247 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14248 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14249 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14250 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14251 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14252 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14254 bool temp4
= False
;
14257 bool temp8
= False
;
14258 PyObject
* obj0
= 0 ;
14259 PyObject
* obj1
= 0 ;
14260 PyObject
* obj2
= 0 ;
14261 PyObject
* obj3
= 0 ;
14262 PyObject
* obj4
= 0 ;
14263 PyObject
* obj5
= 0 ;
14264 PyObject
* obj6
= 0 ;
14265 PyObject
* obj7
= 0 ;
14266 char *kwnames
[] = {
14267 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14275 arg3
= (int const) SWIG_AsInt(obj2
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 arg4
= wxString_in_helper(obj3
);
14279 if (arg4
== NULL
) SWIG_fail
;
14285 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14291 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14295 arg7
= (long) SWIG_AsLong(obj6
);
14296 if (PyErr_Occurred()) SWIG_fail
;
14300 arg8
= wxString_in_helper(obj7
);
14301 if (arg8
== NULL
) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14335 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14336 PyObject
*resultobj
;
14337 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14338 PyObject
* obj0
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "self", NULL
14343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 (arg1
)->Activate();
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14353 Py_INCREF(Py_None
); resultobj
= Py_None
;
14360 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
;
14362 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14364 PyObject
* obj0
= 0 ;
14365 PyObject
* obj1
= 0 ;
14366 char *kwnames
[] = {
14367 (char *) "self",(char *) "maximize", NULL
14370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14373 arg2
= (bool) SWIG_AsBool(obj1
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14377 (arg1
)->Maximize(arg2
);
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14382 Py_INCREF(Py_None
); resultobj
= Py_None
;
14389 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14390 PyObject
*resultobj
;
14391 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14392 PyObject
* obj0
= 0 ;
14393 char *kwnames
[] = {
14394 (char *) "self", NULL
14397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14407 Py_INCREF(Py_None
); resultobj
= Py_None
;
14414 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
14416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14417 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14419 return Py_BuildValue((char *)"");
14421 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14424 long arg2
= (long) 0 ;
14425 wxMDIClientWindow
*result
;
14426 PyObject
* obj0
= 0 ;
14427 PyObject
* obj1
= 0 ;
14428 char *kwnames
[] = {
14429 (char *) "parent",(char *) "style", NULL
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14436 arg2
= (long) SWIG_AsLong(obj1
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14441 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14443 wxPyEndAllowThreads(__tstate
);
14444 if (PyErr_Occurred()) SWIG_fail
;
14447 resultobj
= wxPyMake_wxObject(result
);
14455 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14456 PyObject
*resultobj
;
14457 wxMDIClientWindow
*result
;
14458 char *kwnames
[] = {
14462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14467 wxPyEndAllowThreads(__tstate
);
14468 if (PyErr_Occurred()) SWIG_fail
;
14471 resultobj
= wxPyMake_wxObject(result
);
14479 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14480 PyObject
*resultobj
;
14481 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14482 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14483 long arg3
= (long) 0 ;
14485 PyObject
* obj0
= 0 ;
14486 PyObject
* obj1
= 0 ;
14487 PyObject
* obj2
= 0 ;
14488 char *kwnames
[] = {
14489 (char *) "self",(char *) "parent",(char *) "style", NULL
14492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
14494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14498 arg3
= (long) SWIG_AsLong(obj2
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 result
= (bool)(arg1
)->Create(arg2
,arg3
);
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14515 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
14517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14518 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
14520 return Py_BuildValue((char *)"");
14522 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxWindow
*arg1
= (wxWindow
*) 0 ;
14526 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14527 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14528 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14529 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14530 long arg5
= (long) 0 ;
14531 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14532 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14533 wxPyWindow
*result
;
14536 bool temp6
= False
;
14537 PyObject
* obj0
= 0 ;
14538 PyObject
* obj1
= 0 ;
14539 PyObject
* obj2
= 0 ;
14540 PyObject
* obj3
= 0 ;
14541 PyObject
* obj4
= 0 ;
14542 PyObject
* obj5
= 0 ;
14543 char *kwnames
[] = {
14544 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14550 arg2
= (int const) SWIG_AsInt(obj1
);
14551 if (PyErr_Occurred()) SWIG_fail
;
14555 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14561 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14565 arg5
= (long) SWIG_AsLong(obj4
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14570 arg6
= wxString_in_helper(obj5
);
14571 if (arg6
== NULL
) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
14597 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14598 PyObject
*resultobj
;
14599 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14600 PyObject
*arg2
= (PyObject
*) 0 ;
14601 PyObject
*arg3
= (PyObject
*) 0 ;
14602 PyObject
* obj0
= 0 ;
14603 PyObject
* obj1
= 0 ;
14604 PyObject
* obj2
= 0 ;
14605 char *kwnames
[] = {
14606 (char *) "self",(char *) "self",(char *) "_class", NULL
14609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 Py_INCREF(Py_None
); resultobj
= Py_None
;
14628 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14629 PyObject
*resultobj
;
14630 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14635 PyObject
* obj0
= 0 ;
14636 PyObject
* obj1
= 0 ;
14637 PyObject
* obj2
= 0 ;
14638 PyObject
* obj3
= 0 ;
14639 PyObject
* obj4
= 0 ;
14640 char *kwnames
[] = {
14641 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14647 arg2
= (int) SWIG_AsInt(obj1
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14649 arg3
= (int) SWIG_AsInt(obj2
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14651 arg4
= (int) SWIG_AsInt(obj3
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14653 arg5
= (int) SWIG_AsInt(obj4
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14657 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14662 Py_INCREF(Py_None
); resultobj
= Py_None
;
14669 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14670 PyObject
*resultobj
;
14671 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14676 int arg6
= (int) wxSIZE_AUTO
;
14677 PyObject
* obj0
= 0 ;
14678 PyObject
* obj1
= 0 ;
14679 PyObject
* obj2
= 0 ;
14680 PyObject
* obj3
= 0 ;
14681 PyObject
* obj4
= 0 ;
14682 PyObject
* obj5
= 0 ;
14683 char *kwnames
[] = {
14684 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14690 arg2
= (int) SWIG_AsInt(obj1
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14692 arg3
= (int) SWIG_AsInt(obj2
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14694 arg4
= (int) SWIG_AsInt(obj3
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14696 arg5
= (int) SWIG_AsInt(obj4
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14699 arg6
= (int) SWIG_AsInt(obj5
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14709 Py_INCREF(Py_None
); resultobj
= Py_None
;
14716 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14717 PyObject
*resultobj
;
14718 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14721 PyObject
* obj0
= 0 ;
14722 PyObject
* obj1
= 0 ;
14723 PyObject
* obj2
= 0 ;
14724 char *kwnames
[] = {
14725 (char *) "self",(char *) "width",(char *) "height", NULL
14728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14731 arg2
= (int) SWIG_AsInt(obj1
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14733 arg3
= (int) SWIG_AsInt(obj2
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14742 Py_INCREF(Py_None
); resultobj
= Py_None
;
14749 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
;
14751 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 PyObject
* obj1
= 0 ;
14756 PyObject
* obj2
= 0 ;
14757 char *kwnames
[] = {
14758 (char *) "self",(char *) "x",(char *) "y", NULL
14761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14764 arg2
= (int) SWIG_AsInt(obj1
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14766 arg3
= (int) SWIG_AsInt(obj2
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 Py_INCREF(Py_None
); resultobj
= Py_None
;
14782 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
;
14784 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14785 int *arg2
= (int *) 0 ;
14786 int *arg3
= (int *) 0 ;
14789 PyObject
* obj0
= 0 ;
14790 char *kwnames
[] = {
14791 (char *) "self", NULL
14796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
14797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14806 Py_INCREF(Py_None
); resultobj
= Py_None
;
14808 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14809 resultobj
= t_output_helper(resultobj
,o
);
14812 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14813 resultobj
= t_output_helper(resultobj
,o
);
14821 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14822 PyObject
*resultobj
;
14823 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14824 int *arg2
= (int *) 0 ;
14825 int *arg3
= (int *) 0 ;
14828 PyObject
* obj0
= 0 ;
14829 char *kwnames
[] = {
14830 (char *) "self", NULL
14835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
14836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 Py_INCREF(Py_None
); resultobj
= Py_None
;
14847 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14848 resultobj
= t_output_helper(resultobj
,o
);
14851 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14852 resultobj
= t_output_helper(resultobj
,o
);
14860 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
;
14862 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14863 int *arg2
= (int *) 0 ;
14864 int *arg3
= (int *) 0 ;
14867 PyObject
* obj0
= 0 ;
14868 char *kwnames
[] = {
14869 (char *) "self", NULL
14874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14879 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
14881 wxPyEndAllowThreads(__tstate
);
14882 if (PyErr_Occurred()) SWIG_fail
;
14884 Py_INCREF(Py_None
); resultobj
= Py_None
;
14886 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14887 resultobj
= t_output_helper(resultobj
,o
);
14890 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14891 resultobj
= t_output_helper(resultobj
,o
);
14899 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14900 PyObject
*resultobj
;
14901 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14903 PyObject
* obj0
= 0 ;
14904 char *kwnames
[] = {
14905 (char *) "self", NULL
14908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
14909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14913 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14919 wxSize
* resultptr
;
14920 resultptr
= new wxSize((wxSize
&) result
);
14921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14929 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14930 PyObject
*resultobj
;
14931 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14933 PyObject
* obj0
= 0 ;
14934 char *kwnames
[] = {
14935 (char *) "self", NULL
14938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
14939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14949 wxSize
* resultptr
;
14950 resultptr
= new wxSize((wxSize
&) result
);
14951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14959 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14962 PyObject
* obj0
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "self", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 (arg1
)->base_InitDialog();
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 Py_INCREF(Py_None
); resultobj
= Py_None
;
14984 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "self", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 result
= (bool)(arg1
)->base_TransferDataToWindow();
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15010 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
;
15012 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15014 PyObject
* obj0
= 0 ;
15015 char *kwnames
[] = {
15016 (char *) "self", NULL
15019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15024 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15036 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
;
15038 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15040 PyObject
* obj0
= 0 ;
15041 char *kwnames
[] = {
15042 (char *) "self", NULL
15045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 result
= (bool)(arg1
)->base_Validate();
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15062 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15063 PyObject
*resultobj
;
15064 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15066 PyObject
* obj0
= 0 ;
15067 char *kwnames
[] = {
15068 (char *) "self", NULL
15071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15078 wxPyEndAllowThreads(__tstate
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15088 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15092 PyObject
* obj0
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "self", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15104 wxPyEndAllowThreads(__tstate
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15114 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15115 PyObject
*resultobj
;
15116 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15118 PyObject
* obj0
= 0 ;
15119 char *kwnames
[] = {
15120 (char *) "self", NULL
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15134 wxSize
* resultptr
;
15135 resultptr
= new wxSize((wxSize
&) result
);
15136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15144 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
;
15146 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15147 wxWindow
*arg2
= (wxWindow
*) 0 ;
15148 PyObject
* obj0
= 0 ;
15149 PyObject
* obj1
= 0 ;
15150 char *kwnames
[] = {
15151 (char *) "self",(char *) "child", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 (arg1
)->base_AddChild(arg2
);
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 Py_INCREF(Py_None
); resultobj
= Py_None
;
15173 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
;
15175 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15176 wxWindow
*arg2
= (wxWindow
*) 0 ;
15177 PyObject
* obj0
= 0 ;
15178 PyObject
* obj1
= 0 ;
15179 char *kwnames
[] = {
15180 (char *) "self",(char *) "child", NULL
15183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 (arg1
)->base_RemoveChild(arg2
);
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15195 Py_INCREF(Py_None
); resultobj
= Py_None
;
15202 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
15204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15205 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15207 return Py_BuildValue((char *)"");
15209 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
;
15211 wxWindow
*arg1
= (wxWindow
*) 0 ;
15213 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15214 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15215 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15216 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15217 long arg5
= (long) 0 ;
15218 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15219 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15223 bool temp6
= False
;
15224 PyObject
* obj0
= 0 ;
15225 PyObject
* obj1
= 0 ;
15226 PyObject
* obj2
= 0 ;
15227 PyObject
* obj3
= 0 ;
15228 PyObject
* obj4
= 0 ;
15229 PyObject
* obj5
= 0 ;
15230 char *kwnames
[] = {
15231 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15237 arg2
= (int const) SWIG_AsInt(obj1
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15242 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15248 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15252 arg5
= (long) SWIG_AsLong(obj4
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15257 arg6
= wxString_in_helper(obj5
);
15258 if (arg6
== NULL
) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15284 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
;
15286 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15287 PyObject
*arg2
= (PyObject
*) 0 ;
15288 PyObject
*arg3
= (PyObject
*) 0 ;
15289 PyObject
* obj0
= 0 ;
15290 PyObject
* obj1
= 0 ;
15291 PyObject
* obj2
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self",(char *) "self",(char *) "_class", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15303 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15305 wxPyEndAllowThreads(__tstate
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15308 Py_INCREF(Py_None
); resultobj
= Py_None
;
15315 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15316 PyObject
*resultobj
;
15317 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15322 PyObject
* obj0
= 0 ;
15323 PyObject
* obj1
= 0 ;
15324 PyObject
* obj2
= 0 ;
15325 PyObject
* obj3
= 0 ;
15326 PyObject
* obj4
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15334 arg2
= (int) SWIG_AsInt(obj1
);
15335 if (PyErr_Occurred()) SWIG_fail
;
15336 arg3
= (int) SWIG_AsInt(obj2
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15338 arg4
= (int) SWIG_AsInt(obj3
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15340 arg5
= (int) SWIG_AsInt(obj4
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15349 Py_INCREF(Py_None
); resultobj
= Py_None
;
15356 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
;
15358 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15363 int arg6
= (int) wxSIZE_AUTO
;
15364 PyObject
* obj0
= 0 ;
15365 PyObject
* obj1
= 0 ;
15366 PyObject
* obj2
= 0 ;
15367 PyObject
* obj3
= 0 ;
15368 PyObject
* obj4
= 0 ;
15369 PyObject
* obj5
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15377 arg2
= (int) SWIG_AsInt(obj1
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15379 arg3
= (int) SWIG_AsInt(obj2
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15381 arg4
= (int) SWIG_AsInt(obj3
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15383 arg5
= (int) SWIG_AsInt(obj4
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15386 arg6
= (int) SWIG_AsInt(obj5
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15391 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 Py_INCREF(Py_None
); resultobj
= Py_None
;
15403 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15408 PyObject
* obj0
= 0 ;
15409 PyObject
* obj1
= 0 ;
15410 PyObject
* obj2
= 0 ;
15411 char *kwnames
[] = {
15412 (char *) "self",(char *) "width",(char *) "height", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15418 arg2
= (int) SWIG_AsInt(obj1
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15420 arg3
= (int) SWIG_AsInt(obj2
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 Py_INCREF(Py_None
); resultobj
= Py_None
;
15436 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15437 PyObject
*resultobj
;
15438 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15441 PyObject
* obj0
= 0 ;
15442 PyObject
* obj1
= 0 ;
15443 PyObject
* obj2
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "self",(char *) "x",(char *) "y", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15451 arg2
= (int) SWIG_AsInt(obj1
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15453 arg3
= (int) SWIG_AsInt(obj2
);
15454 if (PyErr_Occurred()) SWIG_fail
;
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15459 wxPyEndAllowThreads(__tstate
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15462 Py_INCREF(Py_None
); resultobj
= Py_None
;
15469 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15470 PyObject
*resultobj
;
15471 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15472 int *arg2
= (int *) 0 ;
15473 int *arg3
= (int *) 0 ;
15476 PyObject
* obj0
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "self", NULL
15483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15493 Py_INCREF(Py_None
); resultobj
= Py_None
;
15495 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15496 resultobj
= t_output_helper(resultobj
,o
);
15499 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15500 resultobj
= t_output_helper(resultobj
,o
);
15508 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
;
15510 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15511 int *arg2
= (int *) 0 ;
15512 int *arg3
= (int *) 0 ;
15515 PyObject
* obj0
= 0 ;
15516 char *kwnames
[] = {
15517 (char *) "self", NULL
15522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15532 Py_INCREF(Py_None
); resultobj
= Py_None
;
15534 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15535 resultobj
= t_output_helper(resultobj
,o
);
15538 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15539 resultobj
= t_output_helper(resultobj
,o
);
15547 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
;
15549 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15550 int *arg2
= (int *) 0 ;
15551 int *arg3
= (int *) 0 ;
15554 PyObject
* obj0
= 0 ;
15555 char *kwnames
[] = {
15556 (char *) "self", NULL
15561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 Py_INCREF(Py_None
); resultobj
= Py_None
;
15573 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15574 resultobj
= t_output_helper(resultobj
,o
);
15577 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15578 resultobj
= t_output_helper(resultobj
,o
);
15586 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15587 PyObject
*resultobj
;
15588 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15590 PyObject
* obj0
= 0 ;
15591 char *kwnames
[] = {
15592 (char *) "self", NULL
15595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15600 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15606 wxSize
* resultptr
;
15607 resultptr
= new wxSize((wxSize
&) result
);
15608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15616 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
;
15618 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15620 PyObject
* obj0
= 0 ;
15621 char *kwnames
[] = {
15622 (char *) "self", NULL
15625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15630 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
15632 wxPyEndAllowThreads(__tstate
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15636 wxSize
* resultptr
;
15637 resultptr
= new wxSize((wxSize
&) result
);
15638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15646 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15647 PyObject
*resultobj
;
15648 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15649 PyObject
* obj0
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "self", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 (arg1
)->base_InitDialog();
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15664 Py_INCREF(Py_None
); resultobj
= Py_None
;
15671 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
;
15673 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15675 PyObject
* obj0
= 0 ;
15676 char *kwnames
[] = {
15677 (char *) "self", NULL
15680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 result
= (bool)(arg1
)->base_TransferDataToWindow();
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15697 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
;
15699 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15701 PyObject
* obj0
= 0 ;
15702 char *kwnames
[] = {
15703 (char *) "self", NULL
15706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15711 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15713 wxPyEndAllowThreads(__tstate
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15723 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15727 PyObject
* obj0
= 0 ;
15728 char *kwnames
[] = {
15729 (char *) "self", NULL
15732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
15733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 result
= (bool)(arg1
)->base_Validate();
15739 wxPyEndAllowThreads(__tstate
);
15740 if (PyErr_Occurred()) SWIG_fail
;
15742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15749 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15750 PyObject
*resultobj
;
15751 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15753 PyObject
* obj0
= 0 ;
15754 char *kwnames
[] = {
15755 (char *) "self", NULL
15758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15775 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
;
15777 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15779 PyObject
* obj0
= 0 ;
15780 char *kwnames
[] = {
15781 (char *) "self", NULL
15784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15801 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15802 PyObject
*resultobj
;
15803 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15805 PyObject
* obj0
= 0 ;
15806 char *kwnames
[] = {
15807 (char *) "self", NULL
15810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15815 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
15817 wxPyEndAllowThreads(__tstate
);
15818 if (PyErr_Occurred()) SWIG_fail
;
15821 wxSize
* resultptr
;
15822 resultptr
= new wxSize((wxSize
&) result
);
15823 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15831 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
;
15833 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15834 wxWindow
*arg2
= (wxWindow
*) 0 ;
15835 PyObject
* obj0
= 0 ;
15836 PyObject
* obj1
= 0 ;
15837 char *kwnames
[] = {
15838 (char *) "self",(char *) "child", NULL
15841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 (arg1
)->base_AddChild(arg2
);
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15853 Py_INCREF(Py_None
); resultobj
= Py_None
;
15860 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
;
15862 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15863 wxWindow
*arg2
= (wxWindow
*) 0 ;
15864 PyObject
* obj0
= 0 ;
15865 PyObject
* obj1
= 0 ;
15866 char *kwnames
[] = {
15867 (char *) "self",(char *) "child", NULL
15870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 (arg1
)->base_RemoveChild(arg2
);
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15882 Py_INCREF(Py_None
); resultobj
= Py_None
;
15889 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
15891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15892 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
15894 return Py_BuildValue((char *)"");
15896 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
15897 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
15902 static PyObject
*_wrap_PrintoutTitleStr_get() {
15907 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
15909 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
15916 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
15917 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
15922 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
15927 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
15929 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
15936 static PyObject
*_wrap_new_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxPrintData
*result
;
15939 char *kwnames
[] = {
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
15945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15946 result
= (wxPrintData
*)new wxPrintData();
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
15958 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15959 PyObject
*resultobj
;
15960 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15961 PyObject
* obj0
= 0 ;
15962 char *kwnames
[] = {
15963 (char *) "self", NULL
15966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
15967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15976 Py_INCREF(Py_None
); resultobj
= Py_None
;
15983 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 char *kwnames
[] = {
15989 (char *) "self", NULL
15992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
15993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15997 result
= (int)(arg1
)->GetNoCopies();
15999 wxPyEndAllowThreads(__tstate
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16002 resultobj
= SWIG_FromInt((int)result
);
16009 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16010 PyObject
*resultobj
;
16011 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16013 PyObject
* obj0
= 0 ;
16014 char *kwnames
[] = {
16015 (char *) "self", NULL
16018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
16019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 result
= (bool)(arg1
)->GetCollate();
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16035 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
;
16037 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16039 PyObject
* obj0
= 0 ;
16040 char *kwnames
[] = {
16041 (char *) "self", NULL
16044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
16045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 result
= (int)(arg1
)->GetOrientation();
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16054 resultobj
= SWIG_FromInt((int)result
);
16061 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16062 PyObject
*resultobj
;
16063 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16065 PyObject
* obj0
= 0 ;
16066 char *kwnames
[] = {
16067 (char *) "self", NULL
16070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
16071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 result
= (bool)(arg1
)->Ok();
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16087 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16091 PyObject
* obj0
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
16097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
16103 result
= (wxString
*) &_result_ref
;
16106 wxPyEndAllowThreads(__tstate
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16113 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16122 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16123 PyObject
*resultobj
;
16124 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16126 PyObject
* obj0
= 0 ;
16127 char *kwnames
[] = {
16128 (char *) "self", NULL
16131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
16132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16136 result
= (bool)(arg1
)->GetColour();
16138 wxPyEndAllowThreads(__tstate
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16148 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
;
16150 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16152 PyObject
* obj0
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "self", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
16158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16162 result
= (int)(arg1
)->GetDuplex();
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16167 resultobj
= SWIG_FromInt((int)result
);
16174 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
;
16176 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16178 PyObject
* obj0
= 0 ;
16179 char *kwnames
[] = {
16180 (char *) "self", NULL
16183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 result
= (int)(arg1
)->GetPaperId();
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16193 resultobj
= SWIG_FromInt((int)result
);
16200 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16201 PyObject
*resultobj
;
16202 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16204 PyObject
* obj0
= 0 ;
16205 char *kwnames
[] = {
16206 (char *) "self", NULL
16209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
16216 result
= (wxSize
*) &_result_ref
;
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16229 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
;
16231 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16233 PyObject
* obj0
= 0 ;
16234 char *kwnames
[] = {
16235 (char *) "self", NULL
16238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
16239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16243 result
= (int)(arg1
)->GetQuality();
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16248 resultobj
= SWIG_FromInt((int)result
);
16255 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
;
16257 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16259 PyObject
* obj0
= 0 ;
16260 PyObject
* obj1
= 0 ;
16261 char *kwnames
[] = {
16262 (char *) "self",(char *) "v", NULL
16265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
16266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16268 arg2
= (int) SWIG_AsInt(obj1
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16272 (arg1
)->SetNoCopies(arg2
);
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16277 Py_INCREF(Py_None
); resultobj
= Py_None
;
16284 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16285 PyObject
*resultobj
;
16286 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16288 PyObject
* obj0
= 0 ;
16289 PyObject
* obj1
= 0 ;
16290 char *kwnames
[] = {
16291 (char *) "self",(char *) "flag", NULL
16294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
16295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16297 arg2
= (bool) SWIG_AsBool(obj1
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 (arg1
)->SetCollate(arg2
);
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16306 Py_INCREF(Py_None
); resultobj
= Py_None
;
16313 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
;
16315 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16317 PyObject
* obj0
= 0 ;
16318 PyObject
* obj1
= 0 ;
16319 char *kwnames
[] = {
16320 (char *) "self",(char *) "orient", NULL
16323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16326 arg2
= (int) SWIG_AsInt(obj1
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 (arg1
)->SetOrientation(arg2
);
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16335 Py_INCREF(Py_None
); resultobj
= Py_None
;
16342 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
;
16344 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16345 wxString
*arg2
= 0 ;
16346 bool temp2
= False
;
16347 PyObject
* obj0
= 0 ;
16348 PyObject
* obj1
= 0 ;
16349 char *kwnames
[] = {
16350 (char *) "self",(char *) "name", NULL
16353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
16354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16357 arg2
= wxString_in_helper(obj1
);
16358 if (arg2
== NULL
) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 Py_INCREF(Py_None
); resultobj
= Py_None
;
16383 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16385 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16387 PyObject
* obj0
= 0 ;
16388 PyObject
* obj1
= 0 ;
16389 char *kwnames
[] = {
16390 (char *) "self",(char *) "colour", NULL
16393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16396 arg2
= (bool) SWIG_AsBool(obj1
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16400 (arg1
)->SetColour(arg2
);
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16405 Py_INCREF(Py_None
); resultobj
= Py_None
;
16412 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
;
16414 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16416 PyObject
* obj0
= 0 ;
16417 PyObject
* obj1
= 0 ;
16418 char *kwnames
[] = {
16419 (char *) "self",(char *) "duplex", NULL
16422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
16423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16425 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
16426 if (PyErr_Occurred()) SWIG_fail
;
16428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16429 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
16431 wxPyEndAllowThreads(__tstate
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16434 Py_INCREF(Py_None
); resultobj
= Py_None
;
16441 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16442 PyObject
*resultobj
;
16443 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16445 PyObject
* obj0
= 0 ;
16446 PyObject
* obj1
= 0 ;
16447 char *kwnames
[] = {
16448 (char *) "self",(char *) "sizeId", NULL
16451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
16452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16454 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16460 wxPyEndAllowThreads(__tstate
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16463 Py_INCREF(Py_None
); resultobj
= Py_None
;
16470 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
;
16472 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16475 PyObject
* obj0
= 0 ;
16476 PyObject
* obj1
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "self",(char *) "sz", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16486 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16490 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16492 wxPyEndAllowThreads(__tstate
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16495 Py_INCREF(Py_None
); resultobj
= Py_None
;
16502 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16503 PyObject
*resultobj
;
16504 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16506 PyObject
* obj0
= 0 ;
16507 PyObject
* obj1
= 0 ;
16508 char *kwnames
[] = {
16509 (char *) "self",(char *) "quality", NULL
16512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
16513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16515 arg2
= (int) SWIG_AsInt(obj1
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16519 (arg1
)->SetQuality(arg2
);
16521 wxPyEndAllowThreads(__tstate
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16524 Py_INCREF(Py_None
); resultobj
= Py_None
;
16531 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16532 PyObject
*resultobj
;
16533 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16535 PyObject
* obj0
= 0 ;
16536 char *kwnames
[] = {
16537 (char *) "self", NULL
16540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
16541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16546 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
16547 result
= (wxString
*) &_result_ref
;
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16555 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16557 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16566 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
;
16568 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16570 PyObject
* obj0
= 0 ;
16571 char *kwnames
[] = {
16572 (char *) "self", NULL
16575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
16576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16581 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
16582 result
= (wxString
*) &_result_ref
;
16585 wxPyEndAllowThreads(__tstate
);
16586 if (PyErr_Occurred()) SWIG_fail
;
16590 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16592 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16601 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16602 PyObject
*resultobj
;
16603 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16605 PyObject
* obj0
= 0 ;
16606 char *kwnames
[] = {
16607 (char *) "self", NULL
16610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
16611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
16617 result
= (wxString
*) &_result_ref
;
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16627 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16636 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16640 PyObject
* obj0
= 0 ;
16641 char *kwnames
[] = {
16642 (char *) "self", NULL
16645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
16646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16651 wxString
const &_result_ref
= (arg1
)->GetFilename();
16652 result
= (wxString
*) &_result_ref
;
16655 wxPyEndAllowThreads(__tstate
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16662 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16671 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16673 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16675 PyObject
* obj0
= 0 ;
16676 char *kwnames
[] = {
16677 (char *) "self", NULL
16680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
16681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
16687 result
= (wxString
*) &_result_ref
;
16690 wxPyEndAllowThreads(__tstate
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16695 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16697 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16706 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16710 PyObject
* obj0
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "self", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
16716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= (double)(arg1
)->GetPrinterScaleX();
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= SWIG_FromDouble((double)result
);
16732 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
;
16734 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16736 PyObject
* obj0
= 0 ;
16737 char *kwnames
[] = {
16738 (char *) "self", NULL
16741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
16742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16746 result
= (double)(arg1
)->GetPrinterScaleY();
16748 wxPyEndAllowThreads(__tstate
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16751 resultobj
= SWIG_FromDouble((double)result
);
16758 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
;
16760 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16762 PyObject
* obj0
= 0 ;
16763 char *kwnames
[] = {
16764 (char *) "self", NULL
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
16768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 result
= (long)(arg1
)->GetPrinterTranslateX();
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 resultobj
= SWIG_FromLong((long)result
);
16784 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
;
16786 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16788 PyObject
* obj0
= 0 ;
16789 char *kwnames
[] = {
16790 (char *) "self", NULL
16793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
16794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16798 result
= (long)(arg1
)->GetPrinterTranslateY();
16800 wxPyEndAllowThreads(__tstate
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16803 resultobj
= SWIG_FromLong((long)result
);
16810 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16811 PyObject
*resultobj
;
16812 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16814 PyObject
* obj0
= 0 ;
16815 char *kwnames
[] = {
16816 (char *) "self", NULL
16819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
16820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 result
= (int)(arg1
)->GetPrintMode();
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16829 resultobj
= SWIG_FromInt((int)result
);
16836 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
;
16838 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16839 wxString
*arg2
= 0 ;
16840 bool temp2
= False
;
16841 PyObject
* obj0
= 0 ;
16842 PyObject
* obj1
= 0 ;
16843 char *kwnames
[] = {
16844 (char *) "self",(char *) "command", NULL
16847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
16848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16851 arg2
= wxString_in_helper(obj1
);
16852 if (arg2
== NULL
) SWIG_fail
;
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 Py_INCREF(Py_None
); resultobj
= Py_None
;
16877 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16878 PyObject
*resultobj
;
16879 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16880 wxString
*arg2
= 0 ;
16881 bool temp2
= False
;
16882 PyObject
* obj0
= 0 ;
16883 PyObject
* obj1
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "self",(char *) "options", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
16889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16892 arg2
= wxString_in_helper(obj1
);
16893 if (arg2
== NULL
) SWIG_fail
;
16897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16903 Py_INCREF(Py_None
); resultobj
= Py_None
;
16918 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
;
16920 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16921 wxString
*arg2
= 0 ;
16922 bool temp2
= False
;
16923 PyObject
* obj0
= 0 ;
16924 PyObject
* obj1
= 0 ;
16925 char *kwnames
[] = {
16926 (char *) "self",(char *) "command", NULL
16929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
16930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16933 arg2
= wxString_in_helper(obj1
);
16934 if (arg2
== NULL
) SWIG_fail
;
16938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16939 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
16941 wxPyEndAllowThreads(__tstate
);
16942 if (PyErr_Occurred()) SWIG_fail
;
16944 Py_INCREF(Py_None
); resultobj
= Py_None
;
16959 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16960 PyObject
*resultobj
;
16961 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16962 wxString
*arg2
= 0 ;
16963 bool temp2
= False
;
16964 PyObject
* obj0
= 0 ;
16965 PyObject
* obj1
= 0 ;
16966 char *kwnames
[] = {
16967 (char *) "self",(char *) "filename", NULL
16970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
16971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16974 arg2
= wxString_in_helper(obj1
);
16975 if (arg2
== NULL
) SWIG_fail
;
16979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16980 (arg1
)->SetFilename((wxString
const &)*arg2
);
16982 wxPyEndAllowThreads(__tstate
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16985 Py_INCREF(Py_None
); resultobj
= Py_None
;
17000 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17001 PyObject
*resultobj
;
17002 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17003 wxString
*arg2
= 0 ;
17004 bool temp2
= False
;
17005 PyObject
* obj0
= 0 ;
17006 PyObject
* obj1
= 0 ;
17007 char *kwnames
[] = {
17008 (char *) "self",(char *) "path", NULL
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17015 arg2
= wxString_in_helper(obj1
);
17016 if (arg2
== NULL
) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
17023 wxPyEndAllowThreads(__tstate
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17026 Py_INCREF(Py_None
); resultobj
= Py_None
;
17041 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17042 PyObject
*resultobj
;
17043 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17045 PyObject
* obj0
= 0 ;
17046 PyObject
* obj1
= 0 ;
17047 char *kwnames
[] = {
17048 (char *) "self",(char *) "x", NULL
17051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
17052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17054 arg2
= (double) SWIG_AsDouble(obj1
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 (arg1
)->SetPrinterScaleX(arg2
);
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17063 Py_INCREF(Py_None
); resultobj
= Py_None
;
17070 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
;
17072 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17074 PyObject
* obj0
= 0 ;
17075 PyObject
* obj1
= 0 ;
17076 char *kwnames
[] = {
17077 (char *) "self",(char *) "y", NULL
17080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
17081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17083 arg2
= (double) SWIG_AsDouble(obj1
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 (arg1
)->SetPrinterScaleY(arg2
);
17089 wxPyEndAllowThreads(__tstate
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17092 Py_INCREF(Py_None
); resultobj
= Py_None
;
17099 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
;
17101 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17104 PyObject
* obj0
= 0 ;
17105 PyObject
* obj1
= 0 ;
17106 PyObject
* obj2
= 0 ;
17107 char *kwnames
[] = {
17108 (char *) "self",(char *) "x",(char *) "y", NULL
17111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17114 arg2
= (double) SWIG_AsDouble(obj1
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17116 arg3
= (double) SWIG_AsDouble(obj2
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 (arg1
)->SetPrinterScaling(arg2
,arg3
);
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17125 Py_INCREF(Py_None
); resultobj
= Py_None
;
17132 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
;
17134 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17136 PyObject
* obj0
= 0 ;
17137 PyObject
* obj1
= 0 ;
17138 char *kwnames
[] = {
17139 (char *) "self",(char *) "x", NULL
17142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
17143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17145 arg2
= (long) SWIG_AsLong(obj1
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 (arg1
)->SetPrinterTranslateX(arg2
);
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17154 Py_INCREF(Py_None
); resultobj
= Py_None
;
17161 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17165 PyObject
* obj0
= 0 ;
17166 PyObject
* obj1
= 0 ;
17167 char *kwnames
[] = {
17168 (char *) "self",(char *) "y", NULL
17171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
17172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17174 arg2
= (long) SWIG_AsLong(obj1
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17178 (arg1
)->SetPrinterTranslateY(arg2
);
17180 wxPyEndAllowThreads(__tstate
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17183 Py_INCREF(Py_None
); resultobj
= Py_None
;
17190 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17191 PyObject
*resultobj
;
17192 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17195 PyObject
* obj0
= 0 ;
17196 PyObject
* obj1
= 0 ;
17197 PyObject
* obj2
= 0 ;
17198 char *kwnames
[] = {
17199 (char *) "self",(char *) "x",(char *) "y", NULL
17202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17205 arg2
= (long) SWIG_AsLong(obj1
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17207 arg3
= (long) SWIG_AsLong(obj2
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17211 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
17213 wxPyEndAllowThreads(__tstate
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17216 Py_INCREF(Py_None
); resultobj
= Py_None
;
17223 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17224 PyObject
*resultobj
;
17225 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17227 PyObject
* obj0
= 0 ;
17228 PyObject
* obj1
= 0 ;
17229 char *kwnames
[] = {
17230 (char *) "self",(char *) "printMode", NULL
17233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
17234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17236 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
17237 if (PyErr_Occurred()) SWIG_fail
;
17239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17240 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
17242 wxPyEndAllowThreads(__tstate
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17245 Py_INCREF(Py_None
); resultobj
= Py_None
;
17252 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
;
17254 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17255 wxOutputStream
*result
;
17256 PyObject
* obj0
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "self", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
17262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17266 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
17278 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17279 PyObject
*resultobj
;
17280 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17281 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
17282 PyObject
* obj0
= 0 ;
17283 PyObject
* obj1
= 0 ;
17284 char *kwnames
[] = {
17285 (char *) "self",(char *) "outputstream", NULL
17288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
17289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
17292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 (arg1
)->SetOutputStream(arg2
);
17297 wxPyEndAllowThreads(__tstate
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17300 Py_INCREF(Py_None
); resultobj
= Py_None
;
17307 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
17309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17310 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
17312 return Py_BuildValue((char *)"");
17314 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17315 PyObject
*resultobj
;
17316 wxPageSetupDialogData
*result
;
17317 char *kwnames
[] = {
17321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
17323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
17336 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17337 PyObject
*resultobj
;
17338 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17339 PyObject
* obj0
= 0 ;
17340 char *kwnames
[] = {
17341 (char *) "self", NULL
17344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
17345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17354 Py_INCREF(Py_None
); resultobj
= Py_None
;
17361 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
;
17363 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17365 PyObject
* obj0
= 0 ;
17366 PyObject
* obj1
= 0 ;
17367 char *kwnames
[] = {
17368 (char *) "self",(char *) "flag", NULL
17371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17374 arg2
= (bool) SWIG_AsBool(obj1
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17378 (arg1
)->EnableHelp(arg2
);
17380 wxPyEndAllowThreads(__tstate
);
17381 if (PyErr_Occurred()) SWIG_fail
;
17383 Py_INCREF(Py_None
); resultobj
= Py_None
;
17390 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17391 PyObject
*resultobj
;
17392 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17394 PyObject
* obj0
= 0 ;
17395 PyObject
* obj1
= 0 ;
17396 char *kwnames
[] = {
17397 (char *) "self",(char *) "flag", NULL
17400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17403 arg2
= (bool) SWIG_AsBool(obj1
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17407 (arg1
)->EnableMargins(arg2
);
17409 wxPyEndAllowThreads(__tstate
);
17410 if (PyErr_Occurred()) SWIG_fail
;
17412 Py_INCREF(Py_None
); resultobj
= Py_None
;
17419 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
;
17421 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17423 PyObject
* obj0
= 0 ;
17424 PyObject
* obj1
= 0 ;
17425 char *kwnames
[] = {
17426 (char *) "self",(char *) "flag", NULL
17429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17432 arg2
= (bool) SWIG_AsBool(obj1
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17436 (arg1
)->EnableOrientation(arg2
);
17438 wxPyEndAllowThreads(__tstate
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17441 Py_INCREF(Py_None
); resultobj
= Py_None
;
17448 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17449 PyObject
*resultobj
;
17450 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17452 PyObject
* obj0
= 0 ;
17453 PyObject
* obj1
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "self",(char *) "flag", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
17459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17461 arg2
= (bool) SWIG_AsBool(obj1
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 (arg1
)->EnablePaper(arg2
);
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17470 Py_INCREF(Py_None
); resultobj
= Py_None
;
17477 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17478 PyObject
*resultobj
;
17479 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17481 PyObject
* obj0
= 0 ;
17482 PyObject
* obj1
= 0 ;
17483 char *kwnames
[] = {
17484 (char *) "self",(char *) "flag", NULL
17487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
17488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17490 arg2
= (bool) SWIG_AsBool(obj1
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 (arg1
)->EnablePrinter(arg2
);
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17499 Py_INCREF(Py_None
); resultobj
= Py_None
;
17506 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
;
17508 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17510 PyObject
* obj0
= 0 ;
17511 char *kwnames
[] = {
17512 (char *) "self", NULL
17515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
17516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17520 result
= (bool)(arg1
)->GetDefaultMinMargins();
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17532 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17533 PyObject
*resultobj
;
17534 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17536 PyObject
* obj0
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "self", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
17542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17546 result
= (bool)(arg1
)->GetEnableMargins();
17548 wxPyEndAllowThreads(__tstate
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17558 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17559 PyObject
*resultobj
;
17560 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17562 PyObject
* obj0
= 0 ;
17563 char *kwnames
[] = {
17564 (char *) "self", NULL
17567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
17568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 result
= (bool)(arg1
)->GetEnableOrientation();
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17584 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
;
17586 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17588 PyObject
* obj0
= 0 ;
17589 char *kwnames
[] = {
17590 (char *) "self", NULL
17593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
17594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 result
= (bool)(arg1
)->GetEnablePaper();
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17610 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17611 PyObject
*resultobj
;
17612 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17614 PyObject
* obj0
= 0 ;
17615 char *kwnames
[] = {
17616 (char *) "self", NULL
17619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
17620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17624 result
= (bool)(arg1
)->GetEnablePrinter();
17626 wxPyEndAllowThreads(__tstate
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17636 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17637 PyObject
*resultobj
;
17638 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17640 PyObject
* obj0
= 0 ;
17641 char *kwnames
[] = {
17642 (char *) "self", NULL
17645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
17646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 result
= (bool)(arg1
)->GetEnableHelp();
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17662 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
;
17664 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17666 PyObject
* obj0
= 0 ;
17667 char *kwnames
[] = {
17668 (char *) "self", NULL
17671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
17672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17676 result
= (bool)(arg1
)->GetDefaultInfo();
17678 wxPyEndAllowThreads(__tstate
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17688 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17692 PyObject
* obj0
= 0 ;
17693 char *kwnames
[] = {
17694 (char *) "self", NULL
17697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
17698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (arg1
)->GetMarginTopLeft();
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17708 wxPoint
* resultptr
;
17709 resultptr
= new wxPoint((wxPoint
&) result
);
17710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17718 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
;
17720 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17722 PyObject
* obj0
= 0 ;
17723 char *kwnames
[] = {
17724 (char *) "self", NULL
17727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
17728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 result
= (arg1
)->GetMarginBottomRight();
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17738 wxPoint
* resultptr
;
17739 resultptr
= new wxPoint((wxPoint
&) result
);
17740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17748 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
;
17750 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17752 PyObject
* obj0
= 0 ;
17753 char *kwnames
[] = {
17754 (char *) "self", NULL
17757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
17758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 result
= (arg1
)->GetMinMarginTopLeft();
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17768 wxPoint
* resultptr
;
17769 resultptr
= new wxPoint((wxPoint
&) result
);
17770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17778 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
;
17780 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17782 PyObject
* obj0
= 0 ;
17783 char *kwnames
[] = {
17784 (char *) "self", NULL
17787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
17788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17792 result
= (arg1
)->GetMinMarginBottomRight();
17794 wxPyEndAllowThreads(__tstate
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17798 wxPoint
* resultptr
;
17799 resultptr
= new wxPoint((wxPoint
&) result
);
17800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17808 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17809 PyObject
*resultobj
;
17810 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17812 PyObject
* obj0
= 0 ;
17813 char *kwnames
[] = {
17814 (char *) "self", NULL
17817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
17818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 result
= (int)(arg1
)->GetPaperId();
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 resultobj
= SWIG_FromInt((int)result
);
17834 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
;
17836 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17838 PyObject
* obj0
= 0 ;
17839 char *kwnames
[] = {
17840 (char *) "self", NULL
17843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
17844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17848 result
= (arg1
)->GetPaperSize();
17850 wxPyEndAllowThreads(__tstate
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17854 wxSize
* resultptr
;
17855 resultptr
= new wxSize((wxSize
&) result
);
17856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17864 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17865 PyObject
*resultobj
;
17866 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17867 wxPrintData
*result
;
17868 PyObject
* obj0
= 0 ;
17869 char *kwnames
[] = {
17870 (char *) "self", NULL
17873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
17874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
17880 result
= (wxPrintData
*) &_result_ref
;
17883 wxPyEndAllowThreads(__tstate
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
17893 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
;
17895 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17897 PyObject
* obj0
= 0 ;
17898 char *kwnames
[] = {
17899 (char *) "self", NULL
17902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
17903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 result
= (bool)(arg1
)->Ok();
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17919 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17923 PyObject
* obj0
= 0 ;
17924 PyObject
* obj1
= 0 ;
17925 char *kwnames
[] = {
17926 (char *) "self",(char *) "flag", NULL
17929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
17930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17932 arg2
= (bool) SWIG_AsBool(obj1
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17936 (arg1
)->SetDefaultInfo(arg2
);
17938 wxPyEndAllowThreads(__tstate
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17941 Py_INCREF(Py_None
); resultobj
= Py_None
;
17948 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
;
17950 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17952 PyObject
* obj0
= 0 ;
17953 PyObject
* obj1
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self",(char *) "flag", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17961 arg2
= (bool) SWIG_AsBool(obj1
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 (arg1
)->SetDefaultMinMargins(arg2
);
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 Py_INCREF(Py_None
); resultobj
= Py_None
;
17977 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
;
17979 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17980 wxPoint
*arg2
= 0 ;
17982 PyObject
* obj0
= 0 ;
17983 PyObject
* obj1
= 0 ;
17984 char *kwnames
[] = {
17985 (char *) "self",(char *) "pt", NULL
17988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
17989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17993 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 Py_INCREF(Py_None
); resultobj
= Py_None
;
18009 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18012 wxPoint
*arg2
= 0 ;
18014 PyObject
* obj0
= 0 ;
18015 PyObject
* obj1
= 0 ;
18016 char *kwnames
[] = {
18017 (char *) "self",(char *) "pt", NULL
18020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18025 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18029 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
18031 wxPyEndAllowThreads(__tstate
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18034 Py_INCREF(Py_None
); resultobj
= Py_None
;
18041 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18042 PyObject
*resultobj
;
18043 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18044 wxPoint
*arg2
= 0 ;
18046 PyObject
* obj0
= 0 ;
18047 PyObject
* obj1
= 0 ;
18048 char *kwnames
[] = {
18049 (char *) "self",(char *) "pt", NULL
18052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18057 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18061 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 Py_INCREF(Py_None
); resultobj
= Py_None
;
18073 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18074 PyObject
*resultobj
;
18075 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18076 wxPoint
*arg2
= 0 ;
18078 PyObject
* obj0
= 0 ;
18079 PyObject
* obj1
= 0 ;
18080 char *kwnames
[] = {
18081 (char *) "self",(char *) "pt", NULL
18084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18089 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18093 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
18095 wxPyEndAllowThreads(__tstate
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18098 Py_INCREF(Py_None
); resultobj
= Py_None
;
18105 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18106 PyObject
*resultobj
;
18107 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18109 PyObject
* obj0
= 0 ;
18110 PyObject
* obj1
= 0 ;
18111 char *kwnames
[] = {
18112 (char *) "self",(char *) "id", NULL
18115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18118 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 Py_INCREF(Py_None
); resultobj
= Py_None
;
18134 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18135 PyObject
*resultobj
;
18136 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18139 PyObject
* obj0
= 0 ;
18140 PyObject
* obj1
= 0 ;
18141 char *kwnames
[] = {
18142 (char *) "self",(char *) "size", NULL
18145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18150 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18154 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18156 wxPyEndAllowThreads(__tstate
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18159 Py_INCREF(Py_None
); resultobj
= Py_None
;
18166 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18167 PyObject
*resultobj
;
18168 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18169 wxPrintData
*arg2
= 0 ;
18170 PyObject
* obj0
= 0 ;
18171 PyObject
* obj1
= 0 ;
18172 char *kwnames
[] = {
18173 (char *) "self",(char *) "printData", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
18180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18182 if (arg2
== NULL
) {
18183 PyErr_SetString(PyExc_TypeError
,"null reference");
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 Py_INCREF(Py_None
); resultobj
= Py_None
;
18200 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
18202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18203 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
18205 return Py_BuildValue((char *)"");
18207 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18208 PyObject
*resultobj
;
18209 wxWindow
*arg1
= (wxWindow
*) 0 ;
18210 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
18211 wxPageSetupDialog
*result
;
18212 PyObject
* obj0
= 0 ;
18213 PyObject
* obj1
= 0 ;
18214 char *kwnames
[] = {
18215 (char *) "parent",(char *) "data", NULL
18218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
18223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18227 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
18229 wxPyEndAllowThreads(__tstate
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
18239 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
;
18241 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18242 wxPageSetupDialogData
*result
;
18243 PyObject
* obj0
= 0 ;
18244 char *kwnames
[] = {
18245 (char *) "self", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
18249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
18250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
18255 result
= (wxPageSetupDialogData
*) &_result_ref
;
18258 wxPyEndAllowThreads(__tstate
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
18268 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18270 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18272 PyObject
* obj0
= 0 ;
18273 char *kwnames
[] = {
18274 (char *) "self", NULL
18277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
18279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 result
= (int)(arg1
)->ShowModal();
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 resultobj
= SWIG_FromInt((int)result
);
18294 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
18296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18297 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
18299 return Py_BuildValue((char *)"");
18301 static PyObject
*_wrap_new_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18302 PyObject
*resultobj
;
18303 wxPrintDialogData
*result
;
18304 char *kwnames
[] = {
18308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
18310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 result
= (wxPrintDialogData
*)new wxPrintDialogData();
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
18323 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
;
18325 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18326 PyObject
* obj0
= 0 ;
18327 char *kwnames
[] = {
18328 (char *) "self", NULL
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
18332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 Py_INCREF(Py_None
); resultobj
= Py_None
;
18348 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18352 PyObject
* obj0
= 0 ;
18353 char *kwnames
[] = {
18354 (char *) "self", NULL
18357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
18358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18367 resultobj
= SWIG_FromInt((int)result
);
18374 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18375 PyObject
*resultobj
;
18376 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18378 PyObject
* obj0
= 0 ;
18379 char *kwnames
[] = {
18380 (char *) "self", NULL
18383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
18384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18388 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= SWIG_FromInt((int)result
);
18400 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18401 PyObject
*resultobj
;
18402 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18404 PyObject
* obj0
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "self", NULL
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
18410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 resultobj
= SWIG_FromInt((int)result
);
18426 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
;
18428 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18430 PyObject
* obj0
= 0 ;
18431 char *kwnames
[] = {
18432 (char *) "self", NULL
18435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
18436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18445 resultobj
= SWIG_FromInt((int)result
);
18452 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18453 PyObject
*resultobj
;
18454 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18456 PyObject
* obj0
= 0 ;
18457 char *kwnames
[] = {
18458 (char *) "self", NULL
18461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 resultobj
= SWIG_FromInt((int)result
);
18478 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18479 PyObject
*resultobj
;
18480 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18482 PyObject
* obj0
= 0 ;
18483 char *kwnames
[] = {
18484 (char *) "self", NULL
18487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
18488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18492 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
18494 wxPyEndAllowThreads(__tstate
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18504 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18505 PyObject
*resultobj
;
18506 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18508 PyObject
* obj0
= 0 ;
18509 char *kwnames
[] = {
18510 (char *) "self", NULL
18513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
18514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
18520 wxPyEndAllowThreads(__tstate
);
18521 if (PyErr_Occurred()) SWIG_fail
;
18523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18530 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18532 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18534 PyObject
* obj0
= 0 ;
18535 char *kwnames
[] = {
18536 (char *) "self", NULL
18539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
18540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18556 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18557 PyObject
*resultobj
;
18558 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18560 PyObject
* obj0
= 0 ;
18561 char *kwnames
[] = {
18562 (char *) "self", NULL
18565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
18566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18570 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18582 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
;
18584 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18586 PyObject
* obj0
= 0 ;
18587 char *kwnames
[] = {
18588 (char *) "self", NULL
18591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
18592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18608 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
;
18610 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18612 PyObject
* obj0
= 0 ;
18613 PyObject
* obj1
= 0 ;
18614 char *kwnames
[] = {
18615 (char *) "self",(char *) "v", NULL
18618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18621 arg2
= (int) SWIG_AsInt(obj1
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18625 (arg1
)->SetFromPage(arg2
);
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18630 Py_INCREF(Py_None
); resultobj
= Py_None
;
18637 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18638 PyObject
*resultobj
;
18639 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18641 PyObject
* obj0
= 0 ;
18642 PyObject
* obj1
= 0 ;
18643 char *kwnames
[] = {
18644 (char *) "self",(char *) "v", NULL
18647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18650 arg2
= (int) SWIG_AsInt(obj1
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18654 (arg1
)->SetToPage(arg2
);
18656 wxPyEndAllowThreads(__tstate
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18659 Py_INCREF(Py_None
); resultobj
= Py_None
;
18666 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18667 PyObject
*resultobj
;
18668 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18670 PyObject
* obj0
= 0 ;
18671 PyObject
* obj1
= 0 ;
18672 char *kwnames
[] = {
18673 (char *) "self",(char *) "v", NULL
18676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18679 arg2
= (int) SWIG_AsInt(obj1
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 (arg1
)->SetMinPage(arg2
);
18685 wxPyEndAllowThreads(__tstate
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18688 Py_INCREF(Py_None
); resultobj
= Py_None
;
18695 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18696 PyObject
*resultobj
;
18697 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18699 PyObject
* obj0
= 0 ;
18700 PyObject
* obj1
= 0 ;
18701 char *kwnames
[] = {
18702 (char *) "self",(char *) "v", NULL
18705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18708 arg2
= (int) SWIG_AsInt(obj1
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18712 (arg1
)->SetMaxPage(arg2
);
18714 wxPyEndAllowThreads(__tstate
);
18715 if (PyErr_Occurred()) SWIG_fail
;
18717 Py_INCREF(Py_None
); resultobj
= Py_None
;
18724 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18725 PyObject
*resultobj
;
18726 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18728 PyObject
* obj0
= 0 ;
18729 PyObject
* obj1
= 0 ;
18730 char *kwnames
[] = {
18731 (char *) "self",(char *) "v", NULL
18734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18737 arg2
= (int) SWIG_AsInt(obj1
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18741 (arg1
)->SetNoCopies(arg2
);
18743 wxPyEndAllowThreads(__tstate
);
18744 if (PyErr_Occurred()) SWIG_fail
;
18746 Py_INCREF(Py_None
); resultobj
= Py_None
;
18753 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18754 PyObject
*resultobj
;
18755 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18757 PyObject
* obj0
= 0 ;
18758 PyObject
* obj1
= 0 ;
18759 char *kwnames
[] = {
18760 (char *) "self",(char *) "flag", NULL
18763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
18764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18766 arg2
= (bool) SWIG_AsBool(obj1
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18770 (arg1
)->SetAllPages(arg2
);
18772 wxPyEndAllowThreads(__tstate
);
18773 if (PyErr_Occurred()) SWIG_fail
;
18775 Py_INCREF(Py_None
); resultobj
= Py_None
;
18782 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18783 PyObject
*resultobj
;
18784 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18786 PyObject
* obj0
= 0 ;
18787 PyObject
* obj1
= 0 ;
18788 char *kwnames
[] = {
18789 (char *) "self",(char *) "flag", NULL
18792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
18793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18795 arg2
= (bool) SWIG_AsBool(obj1
);
18796 if (PyErr_Occurred()) SWIG_fail
;
18798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18799 (arg1
)->SetSelection(arg2
);
18801 wxPyEndAllowThreads(__tstate
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18804 Py_INCREF(Py_None
); resultobj
= Py_None
;
18811 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
;
18813 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18815 PyObject
* obj0
= 0 ;
18816 PyObject
* obj1
= 0 ;
18817 char *kwnames
[] = {
18818 (char *) "self",(char *) "flag", NULL
18821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18824 arg2
= (bool) SWIG_AsBool(obj1
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18828 (arg1
)->SetCollate(arg2
);
18830 wxPyEndAllowThreads(__tstate
);
18831 if (PyErr_Occurred()) SWIG_fail
;
18833 Py_INCREF(Py_None
); resultobj
= Py_None
;
18840 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18841 PyObject
*resultobj
;
18842 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18844 PyObject
* obj0
= 0 ;
18845 PyObject
* obj1
= 0 ;
18846 char *kwnames
[] = {
18847 (char *) "self",(char *) "flag", NULL
18850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
18851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18853 arg2
= (bool) SWIG_AsBool(obj1
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 (arg1
)->SetPrintToFile(arg2
);
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18862 Py_INCREF(Py_None
); resultobj
= Py_None
;
18869 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
;
18871 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18873 PyObject
* obj0
= 0 ;
18874 PyObject
* obj1
= 0 ;
18875 char *kwnames
[] = {
18876 (char *) "self",(char *) "flag", NULL
18879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18882 arg2
= (bool) SWIG_AsBool(obj1
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18886 (arg1
)->SetSetupDialog(arg2
);
18888 wxPyEndAllowThreads(__tstate
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18891 Py_INCREF(Py_None
); resultobj
= Py_None
;
18898 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
;
18900 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18902 PyObject
* obj0
= 0 ;
18903 PyObject
* obj1
= 0 ;
18904 char *kwnames
[] = {
18905 (char *) "self",(char *) "flag", NULL
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
18909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18911 arg2
= (bool) SWIG_AsBool(obj1
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18915 (arg1
)->EnablePrintToFile(arg2
);
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18920 Py_INCREF(Py_None
); resultobj
= Py_None
;
18927 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
;
18929 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18931 PyObject
* obj0
= 0 ;
18932 PyObject
* obj1
= 0 ;
18933 char *kwnames
[] = {
18934 (char *) "self",(char *) "flag", NULL
18937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
18938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18940 arg2
= (bool) SWIG_AsBool(obj1
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18944 (arg1
)->EnableSelection(arg2
);
18946 wxPyEndAllowThreads(__tstate
);
18947 if (PyErr_Occurred()) SWIG_fail
;
18949 Py_INCREF(Py_None
); resultobj
= Py_None
;
18956 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18957 PyObject
*resultobj
;
18958 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18960 PyObject
* obj0
= 0 ;
18961 PyObject
* obj1
= 0 ;
18962 char *kwnames
[] = {
18963 (char *) "self",(char *) "flag", NULL
18966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
18967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18969 arg2
= (bool) SWIG_AsBool(obj1
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18973 (arg1
)->EnablePageNumbers(arg2
);
18975 wxPyEndAllowThreads(__tstate
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18978 Py_INCREF(Py_None
); resultobj
= Py_None
;
18985 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
;
18987 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18989 PyObject
* obj0
= 0 ;
18990 PyObject
* obj1
= 0 ;
18991 char *kwnames
[] = {
18992 (char *) "self",(char *) "flag", NULL
18995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18998 arg2
= (bool) SWIG_AsBool(obj1
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 (arg1
)->EnableHelp(arg2
);
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19007 Py_INCREF(Py_None
); resultobj
= Py_None
;
19014 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
;
19016 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19018 PyObject
* obj0
= 0 ;
19019 char *kwnames
[] = {
19020 (char *) "self", NULL
19023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
19024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
19030 wxPyEndAllowThreads(__tstate
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19040 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19041 PyObject
*resultobj
;
19042 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19044 PyObject
* obj0
= 0 ;
19045 char *kwnames
[] = {
19046 (char *) "self", NULL
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
19050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19054 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19066 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
;
19068 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19070 PyObject
* obj0
= 0 ;
19071 char *kwnames
[] = {
19072 (char *) "self", NULL
19075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
19076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19092 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
;
19094 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19096 PyObject
* obj0
= 0 ;
19097 char *kwnames
[] = {
19098 (char *) "self", NULL
19101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19106 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
19108 wxPyEndAllowThreads(__tstate
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19118 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19119 PyObject
*resultobj
;
19120 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19122 PyObject
* obj0
= 0 ;
19123 char *kwnames
[] = {
19124 (char *) "self", NULL
19127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19132 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19144 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19145 PyObject
*resultobj
;
19146 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19147 wxPrintData
*result
;
19148 PyObject
* obj0
= 0 ;
19149 char *kwnames
[] = {
19150 (char *) "self", NULL
19153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19159 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19160 result
= (wxPrintData
*) &_result_ref
;
19163 wxPyEndAllowThreads(__tstate
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19173 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19174 PyObject
*resultobj
;
19175 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19176 wxPrintData
*arg2
= 0 ;
19177 PyObject
* obj0
= 0 ;
19178 PyObject
* obj1
= 0 ;
19179 char *kwnames
[] = {
19180 (char *) "self",(char *) "printData", NULL
19183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19187 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19189 if (arg2
== NULL
) {
19190 PyErr_SetString(PyExc_TypeError
,"null reference");
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19200 Py_INCREF(Py_None
); resultobj
= Py_None
;
19207 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
19209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19210 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
19212 return Py_BuildValue((char *)"");
19214 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
;
19216 wxWindow
*arg1
= (wxWindow
*) 0 ;
19217 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
19218 wxPrintDialog
*result
;
19219 PyObject
* obj0
= 0 ;
19220 PyObject
* obj1
= 0 ;
19221 char *kwnames
[] = {
19222 (char *) "parent",(char *) "data", NULL
19225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
19230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19234 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
19236 wxPyEndAllowThreads(__tstate
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
19246 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19247 PyObject
*resultobj
;
19248 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19249 wxPrintDialogData
*result
;
19250 PyObject
* obj0
= 0 ;
19251 char *kwnames
[] = {
19252 (char *) "self", NULL
19255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19261 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19262 result
= (wxPrintDialogData
*) &_result_ref
;
19265 wxPyEndAllowThreads(__tstate
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
19275 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
;
19277 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19279 PyObject
* obj0
= 0 ;
19280 char *kwnames
[] = {
19281 (char *) "self", NULL
19284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
19285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19289 result
= (wxDC
*)(arg1
)->GetPrintDC();
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19295 resultobj
= wxPyMake_wxObject(result
);
19303 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19304 PyObject
*resultobj
;
19305 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19307 PyObject
* obj0
= 0 ;
19308 char *kwnames
[] = {
19309 (char *) "self", NULL
19312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19317 result
= (int)(arg1
)->ShowModal();
19319 wxPyEndAllowThreads(__tstate
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19322 resultobj
= SWIG_FromInt((int)result
);
19329 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
19331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19332 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
19334 return Py_BuildValue((char *)"");
19336 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
;
19338 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
19340 PyObject
* obj0
= 0 ;
19341 char *kwnames
[] = {
19342 (char *) "data", NULL
19345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
19347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 result
= (wxPrinter
*)new wxPrinter(arg1
);
19354 wxPyEndAllowThreads(__tstate
);
19355 if (PyErr_Occurred()) SWIG_fail
;
19357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
19364 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19365 PyObject
*resultobj
;
19366 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19367 PyObject
* obj0
= 0 ;
19368 char *kwnames
[] = {
19369 (char *) "self", NULL
19372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
19373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19382 Py_INCREF(Py_None
); resultobj
= Py_None
;
19389 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19390 PyObject
*resultobj
;
19391 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19392 wxWindow
*arg2
= (wxWindow
*) 0 ;
19393 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19394 PyObject
* obj0
= 0 ;
19395 PyObject
* obj1
= 0 ;
19396 PyObject
* obj2
= 0 ;
19397 char *kwnames
[] = {
19398 (char *) "self",(char *) "parent",(char *) "printout", NULL
19401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19406 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
19407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19410 (arg1
)->CreateAbortWindow(arg2
,arg3
);
19412 wxPyEndAllowThreads(__tstate
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19415 Py_INCREF(Py_None
); resultobj
= Py_None
;
19422 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19423 PyObject
*resultobj
;
19424 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19425 wxPrintDialogData
*result
;
19426 PyObject
* obj0
= 0 ;
19427 char *kwnames
[] = {
19428 (char *) "self", NULL
19431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19437 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19438 result
= (wxPrintDialogData
*) &_result_ref
;
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
19451 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
;
19453 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19454 wxWindow
*arg2
= (wxWindow
*) 0 ;
19455 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19456 int arg4
= (int) True
;
19458 PyObject
* obj0
= 0 ;
19459 PyObject
* obj1
= 0 ;
19460 PyObject
* obj2
= 0 ;
19461 PyObject
* obj3
= 0 ;
19462 char *kwnames
[] = {
19463 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19471 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
19472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19474 arg4
= (int) SWIG_AsInt(obj3
);
19475 if (PyErr_Occurred()) SWIG_fail
;
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
19481 wxPyEndAllowThreads(__tstate
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19491 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
;
19493 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19494 wxWindow
*arg2
= (wxWindow
*) 0 ;
19496 PyObject
* obj0
= 0 ;
19497 PyObject
* obj1
= 0 ;
19498 char *kwnames
[] = {
19499 (char *) "self",(char *) "parent", NULL
19502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19509 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
19511 wxPyEndAllowThreads(__tstate
);
19512 if (PyErr_Occurred()) SWIG_fail
;
19515 resultobj
= wxPyMake_wxObject(result
);
19523 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19524 PyObject
*resultobj
;
19525 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19526 wxWindow
*arg2
= (wxWindow
*) 0 ;
19527 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19528 wxString
*arg4
= 0 ;
19529 bool temp4
= False
;
19530 PyObject
* obj0
= 0 ;
19531 PyObject
* obj1
= 0 ;
19532 PyObject
* obj2
= 0 ;
19533 PyObject
* obj3
= 0 ;
19534 char *kwnames
[] = {
19535 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19543 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
19544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19546 arg4
= wxString_in_helper(obj3
);
19547 if (arg4
== NULL
) SWIG_fail
;
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19557 Py_INCREF(Py_None
); resultobj
= Py_None
;
19572 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19573 PyObject
*resultobj
;
19574 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19575 wxWindow
*arg2
= (wxWindow
*) 0 ;
19577 PyObject
* obj0
= 0 ;
19578 PyObject
* obj1
= 0 ;
19579 char *kwnames
[] = {
19580 (char *) "self",(char *) "parent", NULL
19583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
19584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 result
= (bool)(arg1
)->Setup(arg2
);
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19602 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
;
19604 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19606 PyObject
* obj0
= 0 ;
19607 char *kwnames
[] = {
19608 (char *) "self", NULL
19611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
19612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19616 result
= (bool)(arg1
)->GetAbort();
19618 wxPyEndAllowThreads(__tstate
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19628 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
;
19631 char *kwnames
[] = {
19635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
19637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19638 result
= (int)wxPrinter::GetLastError();
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19643 resultobj
= SWIG_FromInt((int)result
);
19650 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
19652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19653 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
19655 return Py_BuildValue((char *)"");
19657 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19658 PyObject
*resultobj
;
19659 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
19660 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19661 wxPyPrintout
*result
;
19662 bool temp1
= False
;
19663 PyObject
* obj0
= 0 ;
19664 char *kwnames
[] = {
19665 (char *) "title", NULL
19668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
19671 arg1
= wxString_in_helper(obj0
);
19672 if (arg1
== NULL
) SWIG_fail
;
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19684 resultobj
= wxPyMake_wxObject(result
);
19700 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19703 PyObject
*arg2
= (PyObject
*) 0 ;
19704 PyObject
*arg3
= (PyObject
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 PyObject
* obj1
= 0 ;
19707 PyObject
* obj2
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "self",(char *) "self",(char *) "_class", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
19714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19721 wxPyEndAllowThreads(__tstate
);
19722 if (PyErr_Occurred()) SWIG_fail
;
19724 Py_INCREF(Py_None
); resultobj
= Py_None
;
19731 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19732 PyObject
*resultobj
;
19733 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19735 PyObject
* obj0
= 0 ;
19736 char *kwnames
[] = {
19737 (char *) "self", NULL
19740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
19741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
19742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19745 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
19747 wxPyEndAllowThreads(__tstate
);
19748 if (PyErr_Occurred()) SWIG_fail
;
19752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19763 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
;
19765 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19767 PyObject
* obj0
= 0 ;
19768 char *kwnames
[] = {
19769 (char *) "self", NULL
19772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
19773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
19774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 result
= (wxDC
*)(arg1
)->GetDC();
19779 wxPyEndAllowThreads(__tstate
);
19780 if (PyErr_Occurred()) SWIG_fail
;
19783 resultobj
= wxPyMake_wxObject(result
);
19791 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19792 PyObject
*resultobj
;
19793 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19794 wxDC
*arg2
= (wxDC
*) 0 ;
19795 PyObject
* obj0
= 0 ;
19796 PyObject
* obj1
= 0 ;
19797 char *kwnames
[] = {
19798 (char *) "self",(char *) "dc", NULL
19801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
19802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
19803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 (arg1
)->SetDC(arg2
);
19810 wxPyEndAllowThreads(__tstate
);
19811 if (PyErr_Occurred()) SWIG_fail
;
19813 Py_INCREF(Py_None
); resultobj
= Py_None
;
19820 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19821 PyObject
*resultobj
;
19822 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19825 PyObject
* obj0
= 0 ;
19826 PyObject
* obj1
= 0 ;
19827 PyObject
* obj2
= 0 ;
19828 char *kwnames
[] = {
19829 (char *) "self",(char *) "w",(char *) "h", NULL
19832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
19834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19835 arg2
= (int) SWIG_AsInt(obj1
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19837 arg3
= (int) SWIG_AsInt(obj2
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 (arg1
)->SetPageSizePixels(arg2
,arg3
);
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 Py_INCREF(Py_None
); resultobj
= Py_None
;
19853 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
;
19855 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19856 int *arg2
= (int *) 0 ;
19857 int *arg3
= (int *) 0 ;
19860 PyObject
* obj0
= 0 ;
19861 char *kwnames
[] = {
19862 (char *) "self", NULL
19867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
19868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
19869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19872 (arg1
)->GetPageSizePixels(arg2
,arg3
);
19874 wxPyEndAllowThreads(__tstate
);
19875 if (PyErr_Occurred()) SWIG_fail
;
19877 Py_INCREF(Py_None
); resultobj
= Py_None
;
19879 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19880 resultobj
= t_output_helper(resultobj
,o
);
19883 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19884 resultobj
= t_output_helper(resultobj
,o
);
19892 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19893 PyObject
*resultobj
;
19894 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19897 PyObject
* obj0
= 0 ;
19898 PyObject
* obj1
= 0 ;
19899 PyObject
* obj2
= 0 ;
19900 char *kwnames
[] = {
19901 (char *) "self",(char *) "w",(char *) "h", NULL
19904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
19906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19907 arg2
= (int) SWIG_AsInt(obj1
);
19908 if (PyErr_Occurred()) SWIG_fail
;
19909 arg3
= (int) SWIG_AsInt(obj2
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 (arg1
)->SetPageSizeMM(arg2
,arg3
);
19915 wxPyEndAllowThreads(__tstate
);
19916 if (PyErr_Occurred()) SWIG_fail
;
19918 Py_INCREF(Py_None
); resultobj
= Py_None
;
19925 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
;
19927 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19928 int *arg2
= (int *) 0 ;
19929 int *arg3
= (int *) 0 ;
19932 PyObject
* obj0
= 0 ;
19933 char *kwnames
[] = {
19934 (char *) "self", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
19940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
19941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 (arg1
)->GetPageSizeMM(arg2
,arg3
);
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19949 Py_INCREF(Py_None
); resultobj
= Py_None
;
19951 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19952 resultobj
= t_output_helper(resultobj
,o
);
19955 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19956 resultobj
= t_output_helper(resultobj
,o
);
19964 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19965 PyObject
*resultobj
;
19966 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19969 PyObject
* obj0
= 0 ;
19970 PyObject
* obj1
= 0 ;
19971 PyObject
* obj2
= 0 ;
19972 char *kwnames
[] = {
19973 (char *) "self",(char *) "x",(char *) "y", NULL
19976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
19978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19979 arg2
= (int) SWIG_AsInt(obj1
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19981 arg3
= (int) SWIG_AsInt(obj2
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 (arg1
)->SetPPIScreen(arg2
,arg3
);
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 Py_INCREF(Py_None
); resultobj
= Py_None
;
19997 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20000 int *arg2
= (int *) 0 ;
20001 int *arg3
= (int *) 0 ;
20004 PyObject
* obj0
= 0 ;
20005 char *kwnames
[] = {
20006 (char *) "self", NULL
20011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
20012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 (arg1
)->GetPPIScreen(arg2
,arg3
);
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 Py_INCREF(Py_None
); resultobj
= Py_None
;
20023 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20024 resultobj
= t_output_helper(resultobj
,o
);
20027 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20028 resultobj
= t_output_helper(resultobj
,o
);
20036 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
;
20038 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20041 PyObject
* obj0
= 0 ;
20042 PyObject
* obj1
= 0 ;
20043 PyObject
* obj2
= 0 ;
20044 char *kwnames
[] = {
20045 (char *) "self",(char *) "x",(char *) "y", NULL
20048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20051 arg2
= (int) SWIG_AsInt(obj1
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20053 arg3
= (int) SWIG_AsInt(obj2
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 (arg1
)->SetPPIPrinter(arg2
,arg3
);
20059 wxPyEndAllowThreads(__tstate
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20062 Py_INCREF(Py_None
); resultobj
= Py_None
;
20069 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20070 PyObject
*resultobj
;
20071 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20072 int *arg2
= (int *) 0 ;
20073 int *arg3
= (int *) 0 ;
20076 PyObject
* obj0
= 0 ;
20077 char *kwnames
[] = {
20078 (char *) "self", NULL
20083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
20084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 (arg1
)->GetPPIPrinter(arg2
,arg3
);
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 Py_INCREF(Py_None
); resultobj
= Py_None
;
20095 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20096 resultobj
= t_output_helper(resultobj
,o
);
20099 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20100 resultobj
= t_output_helper(resultobj
,o
);
20108 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
;
20110 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20112 PyObject
* obj0
= 0 ;
20113 char *kwnames
[] = {
20114 (char *) "self", NULL
20117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
20118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20122 result
= (bool)(arg1
)->IsPreview();
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20134 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20135 PyObject
*resultobj
;
20136 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20138 PyObject
* obj0
= 0 ;
20139 PyObject
* obj1
= 0 ;
20140 char *kwnames
[] = {
20141 (char *) "self",(char *) "p", NULL
20144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20147 arg2
= (bool) SWIG_AsBool(obj1
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20151 (arg1
)->SetIsPreview(arg2
);
20153 wxPyEndAllowThreads(__tstate
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20156 Py_INCREF(Py_None
); resultobj
= Py_None
;
20163 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20164 PyObject
*resultobj
;
20165 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20169 PyObject
* obj0
= 0 ;
20170 PyObject
* obj1
= 0 ;
20171 PyObject
* obj2
= 0 ;
20172 char *kwnames
[] = {
20173 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20179 arg2
= (int) SWIG_AsInt(obj1
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20181 arg3
= (int) SWIG_AsInt(obj2
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20197 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
;
20199 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20200 PyObject
* obj0
= 0 ;
20201 char *kwnames
[] = {
20202 (char *) "self", NULL
20205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
20206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 (arg1
)->base_OnEndDocument();
20212 wxPyEndAllowThreads(__tstate
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20215 Py_INCREF(Py_None
); resultobj
= Py_None
;
20222 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20223 PyObject
*resultobj
;
20224 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20225 PyObject
* obj0
= 0 ;
20226 char *kwnames
[] = {
20227 (char *) "self", NULL
20230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
20231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20235 (arg1
)->base_OnBeginPrinting();
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20240 Py_INCREF(Py_None
); resultobj
= Py_None
;
20247 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
;
20249 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20250 PyObject
* obj0
= 0 ;
20251 char *kwnames
[] = {
20252 (char *) "self", NULL
20255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
20256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 (arg1
)->base_OnEndPrinting();
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 Py_INCREF(Py_None
); resultobj
= Py_None
;
20272 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20273 PyObject
*resultobj
;
20274 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20275 PyObject
* obj0
= 0 ;
20276 char *kwnames
[] = {
20277 (char *) "self", NULL
20280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
20281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20285 (arg1
)->base_OnPreparePrinting();
20287 wxPyEndAllowThreads(__tstate
);
20288 if (PyErr_Occurred()) SWIG_fail
;
20290 Py_INCREF(Py_None
); resultobj
= Py_None
;
20297 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20298 PyObject
*resultobj
;
20299 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20302 PyObject
* obj0
= 0 ;
20303 PyObject
* obj1
= 0 ;
20304 char *kwnames
[] = {
20305 (char *) "self",(char *) "page", NULL
20308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20311 arg2
= (int) SWIG_AsInt(obj1
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20315 result
= (bool)(arg1
)->base_HasPage(arg2
);
20317 wxPyEndAllowThreads(__tstate
);
20318 if (PyErr_Occurred()) SWIG_fail
;
20320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20327 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20328 PyObject
*resultobj
;
20329 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20330 int *arg2
= (int *) 0 ;
20331 int *arg3
= (int *) 0 ;
20332 int *arg4
= (int *) 0 ;
20333 int *arg5
= (int *) 0 ;
20338 PyObject
* obj0
= 0 ;
20339 char *kwnames
[] = {
20340 (char *) "self", NULL
20347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
20348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20357 Py_INCREF(Py_None
); resultobj
= Py_None
;
20359 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20360 resultobj
= t_output_helper(resultobj
,o
);
20363 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20364 resultobj
= t_output_helper(resultobj
,o
);
20367 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
20368 resultobj
= t_output_helper(resultobj
,o
);
20371 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
20372 resultobj
= t_output_helper(resultobj
,o
);
20380 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
20382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20383 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
20385 return Py_BuildValue((char *)"");
20387 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20388 PyObject
*resultobj
;
20389 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20390 wxWindow
*arg2
= (wxWindow
*) 0 ;
20391 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20392 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20393 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20394 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20395 long arg5
= (long) 0 ;
20396 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
20397 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20398 wxPreviewCanvas
*result
;
20401 bool temp6
= False
;
20402 PyObject
* obj0
= 0 ;
20403 PyObject
* obj1
= 0 ;
20404 PyObject
* obj2
= 0 ;
20405 PyObject
* obj3
= 0 ;
20406 PyObject
* obj4
= 0 ;
20407 PyObject
* obj5
= 0 ;
20408 char *kwnames
[] = {
20409 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
20414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20420 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20426 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20430 arg5
= (long) SWIG_AsLong(obj4
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20435 arg6
= wxString_in_helper(obj5
);
20436 if (arg6
== NULL
) SWIG_fail
;
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
20462 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
20464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20465 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
20467 return Py_BuildValue((char *)"");
20469 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
;
20471 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20472 wxFrame
*arg2
= (wxFrame
*) 0 ;
20473 wxString
*arg3
= 0 ;
20474 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20475 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20476 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20477 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20478 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20479 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20480 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20481 wxPreviewFrame
*result
;
20482 bool temp3
= False
;
20485 bool temp7
= False
;
20486 PyObject
* obj0
= 0 ;
20487 PyObject
* obj1
= 0 ;
20488 PyObject
* obj2
= 0 ;
20489 PyObject
* obj3
= 0 ;
20490 PyObject
* obj4
= 0 ;
20491 PyObject
* obj5
= 0 ;
20492 PyObject
* obj6
= 0 ;
20493 char *kwnames
[] = {
20494 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
20499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
20501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20503 arg3
= wxString_in_helper(obj2
);
20504 if (arg3
== NULL
) SWIG_fail
;
20510 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20516 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20520 arg6
= (long) SWIG_AsLong(obj5
);
20521 if (PyErr_Occurred()) SWIG_fail
;
20525 arg7
= wxString_in_helper(obj6
);
20526 if (arg7
== NULL
) SWIG_fail
;
20531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20532 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20534 wxPyEndAllowThreads(__tstate
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
20560 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
;
20562 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20563 PyObject
* obj0
= 0 ;
20564 char *kwnames
[] = {
20565 (char *) "self", NULL
20568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
20569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20573 (arg1
)->Initialize();
20575 wxPyEndAllowThreads(__tstate
);
20576 if (PyErr_Occurred()) SWIG_fail
;
20578 Py_INCREF(Py_None
); resultobj
= Py_None
;
20585 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20586 PyObject
*resultobj
;
20587 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20588 PyObject
* obj0
= 0 ;
20589 char *kwnames
[] = {
20590 (char *) "self", NULL
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 (arg1
)->CreateControlBar();
20600 wxPyEndAllowThreads(__tstate
);
20601 if (PyErr_Occurred()) SWIG_fail
;
20603 Py_INCREF(Py_None
); resultobj
= Py_None
;
20610 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20611 PyObject
*resultobj
;
20612 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20613 PyObject
* obj0
= 0 ;
20614 char *kwnames
[] = {
20615 (char *) "self", NULL
20618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20623 (arg1
)->CreateCanvas();
20625 wxPyEndAllowThreads(__tstate
);
20626 if (PyErr_Occurred()) SWIG_fail
;
20628 Py_INCREF(Py_None
); resultobj
= Py_None
;
20635 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20636 PyObject
*resultobj
;
20637 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20638 wxPreviewControlBar
*result
;
20639 PyObject
* obj0
= 0 ;
20640 char *kwnames
[] = {
20641 (char *) "self", NULL
20644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
20645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
20661 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
20663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20664 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
20666 return Py_BuildValue((char *)"");
20668 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20669 PyObject
*resultobj
;
20670 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20672 wxWindow
*arg3
= (wxWindow
*) 0 ;
20673 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20674 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20675 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20676 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20677 long arg6
= (long) wxTAB_TRAVERSAL
;
20678 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20679 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20680 wxPreviewControlBar
*result
;
20683 bool temp7
= False
;
20684 PyObject
* obj0
= 0 ;
20685 PyObject
* obj1
= 0 ;
20686 PyObject
* obj2
= 0 ;
20687 PyObject
* obj3
= 0 ;
20688 PyObject
* obj4
= 0 ;
20689 PyObject
* obj5
= 0 ;
20690 PyObject
* obj6
= 0 ;
20691 char *kwnames
[] = {
20692 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
20697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20698 arg2
= (long) SWIG_AsLong(obj1
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20700 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
20701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20705 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20711 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20715 arg6
= (long) SWIG_AsLong(obj5
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20720 arg7
= wxString_in_helper(obj6
);
20721 if (arg7
== NULL
) SWIG_fail
;
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20727 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20729 wxPyEndAllowThreads(__tstate
);
20730 if (PyErr_Occurred()) SWIG_fail
;
20732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
20747 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20748 PyObject
*resultobj
;
20749 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20751 PyObject
* obj0
= 0 ;
20752 char *kwnames
[] = {
20753 (char *) "self", NULL
20756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
20757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
20758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 result
= (int)(arg1
)->GetZoomControl();
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 resultobj
= SWIG_FromInt((int)result
);
20773 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20774 PyObject
*resultobj
;
20775 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20777 PyObject
* obj0
= 0 ;
20778 PyObject
* obj1
= 0 ;
20779 char *kwnames
[] = {
20780 (char *) "self",(char *) "zoom", NULL
20783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
20784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
20785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20786 arg2
= (int) SWIG_AsInt(obj1
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 (arg1
)->SetZoomControl(arg2
);
20792 wxPyEndAllowThreads(__tstate
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20795 Py_INCREF(Py_None
); resultobj
= Py_None
;
20802 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20803 PyObject
*resultobj
;
20804 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20805 wxPrintPreview
*result
;
20806 PyObject
* obj0
= 0 ;
20807 char *kwnames
[] = {
20808 (char *) "self", NULL
20811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
20812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
20813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20816 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
20818 wxPyEndAllowThreads(__tstate
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
20828 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20830 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20831 PyObject
* obj0
= 0 ;
20832 char *kwnames
[] = {
20833 (char *) "self", NULL
20836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
20837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
20838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20846 Py_INCREF(Py_None
); resultobj
= Py_None
;
20853 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
;
20855 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20856 PyObject
* obj0
= 0 ;
20857 char *kwnames
[] = {
20858 (char *) "self", NULL
20861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
20862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
20863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20866 (arg1
)->OnPrevious();
20868 wxPyEndAllowThreads(__tstate
);
20869 if (PyErr_Occurred()) SWIG_fail
;
20871 Py_INCREF(Py_None
); resultobj
= Py_None
;
20878 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20879 PyObject
*resultobj
;
20880 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20881 PyObject
* obj0
= 0 ;
20882 char *kwnames
[] = {
20883 (char *) "self", NULL
20886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
20887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
20888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20896 Py_INCREF(Py_None
); resultobj
= Py_None
;
20903 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20904 PyObject
*resultobj
;
20905 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20906 PyObject
* obj0
= 0 ;
20907 char *kwnames
[] = {
20908 (char *) "self", NULL
20911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
20912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
20913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 Py_INCREF(Py_None
); resultobj
= Py_None
;
20928 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20929 PyObject
*resultobj
;
20930 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20931 PyObject
* obj0
= 0 ;
20932 char *kwnames
[] = {
20933 (char *) "self", NULL
20936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
20937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
20938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 Py_INCREF(Py_None
); resultobj
= Py_None
;
20953 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
20955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20956 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
20958 return Py_BuildValue((char *)"");
20960 static PyObject
*_wrap_new_PrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20961 PyObject
*resultobj
;
20962 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20963 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
20964 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
20965 wxPrintPreview
*result
;
20966 PyObject
* obj0
= 0 ;
20967 PyObject
* obj1
= 0 ;
20968 PyObject
* obj2
= 0 ;
20969 char *kwnames
[] = {
20970 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
20977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20979 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
20980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
20996 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20997 PyObject
*resultobj
;
20998 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21001 PyObject
* obj0
= 0 ;
21002 PyObject
* obj1
= 0 ;
21003 char *kwnames
[] = {
21004 (char *) "self",(char *) "pageNum", NULL
21007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21010 arg2
= (int) SWIG_AsInt(obj1
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21026 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21027 PyObject
*resultobj
;
21028 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21030 PyObject
* obj0
= 0 ;
21031 char *kwnames
[] = {
21032 (char *) "self", NULL
21035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
21036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 result
= (int)(arg1
)->GetCurrentPage();
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21045 resultobj
= SWIG_FromInt((int)result
);
21052 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21053 PyObject
*resultobj
;
21054 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21055 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21056 PyObject
* obj0
= 0 ;
21057 PyObject
* obj1
= 0 ;
21058 char *kwnames
[] = {
21059 (char *) "self",(char *) "printout", NULL
21062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
21063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 (arg1
)->SetPrintout(arg2
);
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 Py_INCREF(Py_None
); resultobj
= Py_None
;
21081 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
;
21083 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21084 wxPyPrintout
*result
;
21085 PyObject
* obj0
= 0 ;
21086 char *kwnames
[] = {
21087 (char *) "self", NULL
21090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
21091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21101 resultobj
= wxPyMake_wxObject(result
);
21109 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21110 PyObject
*resultobj
;
21111 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21112 wxPyPrintout
*result
;
21113 PyObject
* obj0
= 0 ;
21114 char *kwnames
[] = {
21115 (char *) "self", NULL
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
21119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21123 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
21125 wxPyEndAllowThreads(__tstate
);
21126 if (PyErr_Occurred()) SWIG_fail
;
21129 resultobj
= wxPyMake_wxObject(result
);
21137 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21138 PyObject
*resultobj
;
21139 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21140 wxFrame
*arg2
= (wxFrame
*) 0 ;
21141 PyObject
* obj0
= 0 ;
21142 PyObject
* obj1
= 0 ;
21143 char *kwnames
[] = {
21144 (char *) "self",(char *) "frame", NULL
21147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
21148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
21151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 (arg1
)->SetFrame(arg2
);
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21159 Py_INCREF(Py_None
); resultobj
= Py_None
;
21166 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21167 PyObject
*resultobj
;
21168 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21169 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21170 PyObject
* obj0
= 0 ;
21171 PyObject
* obj1
= 0 ;
21172 char *kwnames
[] = {
21173 (char *) "self",(char *) "canvas", NULL
21176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
21177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 (arg1
)->SetCanvas(arg2
);
21185 wxPyEndAllowThreads(__tstate
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21188 Py_INCREF(Py_None
); resultobj
= Py_None
;
21195 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21196 PyObject
*resultobj
;
21197 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21199 PyObject
* obj0
= 0 ;
21200 char *kwnames
[] = {
21201 (char *) "self", NULL
21204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
21205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 result
= (wxFrame
*)(arg1
)->GetFrame();
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21215 resultobj
= wxPyMake_wxObject(result
);
21223 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21224 PyObject
*resultobj
;
21225 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21226 wxPreviewCanvas
*result
;
21227 PyObject
* obj0
= 0 ;
21228 char *kwnames
[] = {
21229 (char *) "self", NULL
21232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
21233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
21239 wxPyEndAllowThreads(__tstate
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
21249 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21250 PyObject
*resultobj
;
21251 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21252 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21255 PyObject
* obj0
= 0 ;
21256 PyObject
* obj1
= 0 ;
21257 PyObject
* obj2
= 0 ;
21258 char *kwnames
[] = {
21259 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21267 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
21268 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21270 if (arg3
== NULL
) {
21271 PyErr_SetString(PyExc_TypeError
,"null reference");
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21288 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21289 PyObject
*resultobj
;
21290 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21291 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21294 PyObject
* obj0
= 0 ;
21295 PyObject
* obj1
= 0 ;
21296 PyObject
* obj2
= 0 ;
21297 char *kwnames
[] = {
21298 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21306 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
21307 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21309 if (arg3
== NULL
) {
21310 PyErr_SetString(PyExc_TypeError
,"null reference");
21314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21315 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
21317 wxPyEndAllowThreads(__tstate
);
21318 if (PyErr_Occurred()) SWIG_fail
;
21320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21327 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21328 PyObject
*resultobj
;
21329 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21332 PyObject
* obj0
= 0 ;
21333 PyObject
* obj1
= 0 ;
21334 char *kwnames
[] = {
21335 (char *) "self",(char *) "pageNum", NULL
21338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21341 arg2
= (int) SWIG_AsInt(obj1
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21345 result
= (bool)(arg1
)->RenderPage(arg2
);
21347 wxPyEndAllowThreads(__tstate
);
21348 if (PyErr_Occurred()) SWIG_fail
;
21350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21357 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21358 PyObject
*resultobj
;
21359 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21360 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21361 PyObject
* obj0
= 0 ;
21362 PyObject
* obj1
= 0 ;
21363 char *kwnames
[] = {
21364 (char *) "self",(char *) "canvas", NULL
21367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
21368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21374 (arg1
)->AdjustScrollbars(arg2
);
21376 wxPyEndAllowThreads(__tstate
);
21377 if (PyErr_Occurred()) SWIG_fail
;
21379 Py_INCREF(Py_None
); resultobj
= Py_None
;
21386 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21387 PyObject
*resultobj
;
21388 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21389 wxPrintDialogData
*result
;
21390 PyObject
* obj0
= 0 ;
21391 char *kwnames
[] = {
21392 (char *) "self", NULL
21395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21401 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21402 result
= (wxPrintDialogData
*) &_result_ref
;
21405 wxPyEndAllowThreads(__tstate
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21415 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21416 PyObject
*resultobj
;
21417 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21419 PyObject
* obj0
= 0 ;
21420 PyObject
* obj1
= 0 ;
21421 char *kwnames
[] = {
21422 (char *) "self",(char *) "percent", NULL
21425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
21426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21428 arg2
= (int) SWIG_AsInt(obj1
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 (arg1
)->SetZoom(arg2
);
21434 wxPyEndAllowThreads(__tstate
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21437 Py_INCREF(Py_None
); resultobj
= Py_None
;
21444 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
;
21446 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21448 PyObject
* obj0
= 0 ;
21449 char *kwnames
[] = {
21450 (char *) "self", NULL
21453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
21454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 result
= (int)(arg1
)->GetZoom();
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21463 resultobj
= SWIG_FromInt((int)result
);
21470 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
;
21472 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21474 PyObject
* obj0
= 0 ;
21475 char *kwnames
[] = {
21476 (char *) "self", NULL
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21484 result
= (int)(arg1
)->GetMaxPage();
21486 wxPyEndAllowThreads(__tstate
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21489 resultobj
= SWIG_FromInt((int)result
);
21496 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21497 PyObject
*resultobj
;
21498 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21500 PyObject
* obj0
= 0 ;
21501 char *kwnames
[] = {
21502 (char *) "self", NULL
21505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
21506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 result
= (int)(arg1
)->GetMinPage();
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21515 resultobj
= SWIG_FromInt((int)result
);
21522 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
;
21524 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21526 PyObject
* obj0
= 0 ;
21527 char *kwnames
[] = {
21528 (char *) "self", NULL
21531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
21532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21536 result
= (bool)(arg1
)->Ok();
21538 wxPyEndAllowThreads(__tstate
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21548 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21549 PyObject
*resultobj
;
21550 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21552 PyObject
* obj0
= 0 ;
21553 PyObject
* obj1
= 0 ;
21554 char *kwnames
[] = {
21555 (char *) "self",(char *) "ok", NULL
21558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
21559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21561 arg2
= (bool) SWIG_AsBool(obj1
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 (arg1
)->SetOk(arg2
);
21567 wxPyEndAllowThreads(__tstate
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21570 Py_INCREF(Py_None
); resultobj
= Py_None
;
21577 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21578 PyObject
*resultobj
;
21579 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21582 PyObject
* obj0
= 0 ;
21583 PyObject
* obj1
= 0 ;
21584 char *kwnames
[] = {
21585 (char *) "self",(char *) "interactive", NULL
21588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
21589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21591 arg2
= (bool) SWIG_AsBool(obj1
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21595 result
= (bool)(arg1
)->Print(arg2
);
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21607 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
;
21609 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21610 PyObject
* obj0
= 0 ;
21611 char *kwnames
[] = {
21612 (char *) "self", NULL
21615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
21616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 (arg1
)->DetermineScaling();
21622 wxPyEndAllowThreads(__tstate
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 Py_INCREF(Py_None
); resultobj
= Py_None
;
21632 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
21634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21635 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
21637 return Py_BuildValue((char *)"");
21639 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21640 PyObject
*resultobj
;
21641 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21642 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21643 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
21644 wxPyPrintPreview
*result
;
21645 PyObject
* obj0
= 0 ;
21646 PyObject
* obj1
= 0 ;
21647 PyObject
* obj2
= 0 ;
21648 char *kwnames
[] = {
21649 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21658 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
21659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21663 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
21665 wxPyEndAllowThreads(__tstate
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
21675 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
;
21677 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21678 PyObject
*arg2
= (PyObject
*) 0 ;
21679 PyObject
*arg3
= (PyObject
*) 0 ;
21680 PyObject
* obj0
= 0 ;
21681 PyObject
* obj1
= 0 ;
21682 PyObject
* obj2
= 0 ;
21683 char *kwnames
[] = {
21684 (char *) "self",(char *) "self",(char *) "_class", NULL
21687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
21689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21699 Py_INCREF(Py_None
); resultobj
= Py_None
;
21706 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21707 PyObject
*resultobj
;
21708 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21711 PyObject
* obj0
= 0 ;
21712 PyObject
* obj1
= 0 ;
21713 char *kwnames
[] = {
21714 (char *) "self",(char *) "pageNum", NULL
21717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
21719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21720 arg2
= (int) SWIG_AsInt(obj1
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21736 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21737 PyObject
*resultobj
;
21738 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21739 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21742 PyObject
* obj0
= 0 ;
21743 PyObject
* obj1
= 0 ;
21744 PyObject
* obj2
= 0 ;
21745 char *kwnames
[] = {
21746 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
21751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21754 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
21755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21757 if (arg3
== NULL
) {
21758 PyErr_SetString(PyExc_TypeError
,"null reference");
21762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21763 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
21765 wxPyEndAllowThreads(__tstate
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21775 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
;
21777 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21778 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21781 PyObject
* obj0
= 0 ;
21782 PyObject
* obj1
= 0 ;
21783 PyObject
* obj2
= 0 ;
21784 char *kwnames
[] = {
21785 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
21790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21793 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
21794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21796 if (arg3
== NULL
) {
21797 PyErr_SetString(PyExc_TypeError
,"null reference");
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21814 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
;
21816 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21819 PyObject
* obj0
= 0 ;
21820 PyObject
* obj1
= 0 ;
21821 char *kwnames
[] = {
21822 (char *) "self",(char *) "pageNum", NULL
21825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
21827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21828 arg2
= (int) SWIG_AsInt(obj1
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21832 result
= (bool)(arg1
)->base_RenderPage(arg2
);
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21844 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21845 PyObject
*resultobj
;
21846 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21848 PyObject
* obj0
= 0 ;
21849 PyObject
* obj1
= 0 ;
21850 char *kwnames
[] = {
21851 (char *) "self",(char *) "percent", NULL
21854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
21855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
21856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21857 arg2
= (int) SWIG_AsInt(obj1
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 (arg1
)->base_SetZoom(arg2
);
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 Py_INCREF(Py_None
); resultobj
= Py_None
;
21873 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
;
21875 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21878 PyObject
* obj0
= 0 ;
21879 PyObject
* obj1
= 0 ;
21880 char *kwnames
[] = {
21881 (char *) "self",(char *) "interactive", NULL
21884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
21885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
21886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21887 arg2
= (bool) SWIG_AsBool(obj1
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 result
= (bool)(arg1
)->base_Print(arg2
);
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21903 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21906 PyObject
* obj0
= 0 ;
21907 char *kwnames
[] = {
21908 (char *) "self", NULL
21911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
21912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
21913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21916 (arg1
)->base_DetermineScaling();
21918 wxPyEndAllowThreads(__tstate
);
21919 if (PyErr_Occurred()) SWIG_fail
;
21921 Py_INCREF(Py_None
); resultobj
= Py_None
;
21928 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
21930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21931 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
21933 return Py_BuildValue((char *)"");
21935 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21936 PyObject
*resultobj
;
21937 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21938 wxFrame
*arg2
= (wxFrame
*) 0 ;
21939 wxString
*arg3
= 0 ;
21940 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21941 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21942 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21943 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21944 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21945 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21946 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21947 wxPyPreviewFrame
*result
;
21948 bool temp3
= False
;
21951 bool temp7
= False
;
21952 PyObject
* obj0
= 0 ;
21953 PyObject
* obj1
= 0 ;
21954 PyObject
* obj2
= 0 ;
21955 PyObject
* obj3
= 0 ;
21956 PyObject
* obj4
= 0 ;
21957 PyObject
* obj5
= 0 ;
21958 PyObject
* obj6
= 0 ;
21959 char *kwnames
[] = {
21960 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
21967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21969 arg3
= wxString_in_helper(obj2
);
21970 if (arg3
== NULL
) SWIG_fail
;
21976 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21982 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21986 arg6
= (long) SWIG_AsLong(obj5
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21991 arg7
= wxString_in_helper(obj6
);
21992 if (arg7
== NULL
) SWIG_fail
;
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
22026 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22027 PyObject
*resultobj
;
22028 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22029 PyObject
*arg2
= (PyObject
*) 0 ;
22030 PyObject
*arg3
= (PyObject
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 PyObject
* obj1
= 0 ;
22033 PyObject
* obj2
= 0 ;
22034 char *kwnames
[] = {
22035 (char *) "self",(char *) "self",(char *) "_class", NULL
22038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22047 wxPyEndAllowThreads(__tstate
);
22048 if (PyErr_Occurred()) SWIG_fail
;
22050 Py_INCREF(Py_None
); resultobj
= Py_None
;
22057 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22058 PyObject
*resultobj
;
22059 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22060 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22061 PyObject
* obj0
= 0 ;
22062 PyObject
* obj1
= 0 ;
22063 char *kwnames
[] = {
22064 (char *) "self",(char *) "canvas", NULL
22067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22074 (arg1
)->SetPreviewCanvas(arg2
);
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22079 Py_INCREF(Py_None
); resultobj
= Py_None
;
22086 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22087 PyObject
*resultobj
;
22088 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22089 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
22090 PyObject
* obj0
= 0 ;
22091 PyObject
* obj1
= 0 ;
22092 char *kwnames
[] = {
22093 (char *) "self",(char *) "bar", NULL
22096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
22097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
22100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22103 (arg1
)->SetControlBar(arg2
);
22105 wxPyEndAllowThreads(__tstate
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22108 Py_INCREF(Py_None
); resultobj
= Py_None
;
22115 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
;
22117 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22118 PyObject
* obj0
= 0 ;
22119 char *kwnames
[] = {
22120 (char *) "self", NULL
22123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
22124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 (arg1
)->base_Initialize();
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 Py_INCREF(Py_None
); resultobj
= Py_None
;
22140 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
;
22142 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22143 PyObject
* obj0
= 0 ;
22144 char *kwnames
[] = {
22145 (char *) "self", NULL
22148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22153 (arg1
)->base_CreateCanvas();
22155 wxPyEndAllowThreads(__tstate
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22158 Py_INCREF(Py_None
); resultobj
= Py_None
;
22165 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22166 PyObject
*resultobj
;
22167 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22168 PyObject
* obj0
= 0 ;
22169 char *kwnames
[] = {
22170 (char *) "self", NULL
22173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22178 (arg1
)->base_CreateControlBar();
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 Py_INCREF(Py_None
); resultobj
= Py_None
;
22190 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
22192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22193 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
22195 return Py_BuildValue((char *)"");
22197 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22198 PyObject
*resultobj
;
22199 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22201 wxWindow
*arg3
= (wxWindow
*) 0 ;
22202 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22203 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22204 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22205 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22206 long arg6
= (long) 0 ;
22207 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22208 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22209 wxPyPreviewControlBar
*result
;
22212 bool temp7
= False
;
22213 PyObject
* obj0
= 0 ;
22214 PyObject
* obj1
= 0 ;
22215 PyObject
* obj2
= 0 ;
22216 PyObject
* obj3
= 0 ;
22217 PyObject
* obj4
= 0 ;
22218 PyObject
* obj5
= 0 ;
22219 PyObject
* obj6
= 0 ;
22220 char *kwnames
[] = {
22221 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22227 arg2
= (long) SWIG_AsLong(obj1
);
22228 if (PyErr_Occurred()) SWIG_fail
;
22229 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22234 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22240 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22244 arg6
= (long) SWIG_AsLong(obj5
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22249 arg7
= wxString_in_helper(obj6
);
22250 if (arg7
== NULL
) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
22276 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22277 PyObject
*resultobj
;
22278 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22279 PyObject
*arg2
= (PyObject
*) 0 ;
22280 PyObject
*arg3
= (PyObject
*) 0 ;
22281 PyObject
* obj0
= 0 ;
22282 PyObject
* obj1
= 0 ;
22283 PyObject
* obj2
= 0 ;
22284 char *kwnames
[] = {
22285 (char *) "self",(char *) "self",(char *) "_class", NULL
22288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22295 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22297 wxPyEndAllowThreads(__tstate
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22300 Py_INCREF(Py_None
); resultobj
= Py_None
;
22307 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22308 PyObject
*resultobj
;
22309 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22310 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
22311 PyObject
* obj0
= 0 ;
22312 PyObject
* obj1
= 0 ;
22313 char *kwnames
[] = {
22314 (char *) "self",(char *) "preview", NULL
22317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
22321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22324 (arg1
)->SetPrintPreview(arg2
);
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22329 Py_INCREF(Py_None
); resultobj
= Py_None
;
22336 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22337 PyObject
*resultobj
;
22338 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22339 PyObject
* obj0
= 0 ;
22340 char *kwnames
[] = {
22341 (char *) "self", NULL
22344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
22345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22349 (arg1
)->base_CreateButtons();
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22354 Py_INCREF(Py_None
); resultobj
= Py_None
;
22361 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22362 PyObject
*resultobj
;
22363 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22365 PyObject
* obj0
= 0 ;
22366 PyObject
* obj1
= 0 ;
22367 char *kwnames
[] = {
22368 (char *) "self",(char *) "zoom", NULL
22371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22374 arg2
= (int) SWIG_AsInt(obj1
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22378 (arg1
)->base_SetZoomControl(arg2
);
22380 wxPyEndAllowThreads(__tstate
);
22381 if (PyErr_Occurred()) SWIG_fail
;
22383 Py_INCREF(Py_None
); resultobj
= Py_None
;
22390 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
22392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22393 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
22395 return Py_BuildValue((char *)"");
22397 static PyMethodDef SwigMethods
[] = {
22398 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22399 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22400 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22401 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22402 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
22403 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22404 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22405 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22406 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22407 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22408 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22409 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22410 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22411 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22412 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22413 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22414 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22415 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22416 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22417 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
22418 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
22419 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22420 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22421 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22422 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22423 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22424 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22425 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
22426 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22427 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22428 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22429 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22430 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22431 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22432 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22433 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22434 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22435 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22436 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22437 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22438 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22439 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
22440 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22441 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22442 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22443 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22444 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22445 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22446 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22447 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22448 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22449 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22450 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22451 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22452 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22453 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22454 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22455 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22456 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22457 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22458 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22459 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22460 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22461 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22462 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
22463 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22464 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22465 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22466 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22467 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22468 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22469 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22470 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22471 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22472 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22473 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22474 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
22475 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22476 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22477 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22478 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
22479 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22480 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22481 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22482 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
22483 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22484 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22485 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22486 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22487 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
22488 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22489 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22490 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22491 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22492 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22493 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22494 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22495 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22496 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22497 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22498 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22499 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22500 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22501 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22502 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
22503 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22504 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22505 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22506 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22507 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22508 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22509 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22510 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22511 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22512 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22513 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22514 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22515 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22516 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22517 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22518 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22519 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22520 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22521 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22522 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22523 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22524 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22525 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22526 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22527 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22528 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
22529 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22530 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22531 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22532 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22533 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22534 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22535 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
22536 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22537 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22538 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22539 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22540 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22541 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22542 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22543 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22544 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22545 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22546 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22547 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22548 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22549 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22550 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22551 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22552 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22553 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22554 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22555 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22556 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22557 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22558 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
22559 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22560 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22561 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22562 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22563 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22564 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22565 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22566 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
22567 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22568 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22569 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22570 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22571 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22572 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22573 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22574 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22575 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22576 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22577 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22578 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
22579 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22580 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22581 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22582 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22583 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22584 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
22585 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22586 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22587 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22588 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22589 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22590 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22591 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22592 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22593 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
22594 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22595 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22596 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22597 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22598 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22599 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
22600 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22601 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22602 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
22603 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22604 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22605 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
22606 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22607 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22608 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22609 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
22610 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22611 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22612 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22613 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22614 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22615 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22616 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22617 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22618 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22619 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22620 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22621 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22622 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22623 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22624 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22625 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22626 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22627 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
22628 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22629 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22630 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22631 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22632 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22633 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22634 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22635 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22636 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22637 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22638 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22639 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22640 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22641 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22642 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22643 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22644 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22645 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22646 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22647 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22648 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22649 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22650 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22651 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22652 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22653 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
22654 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22655 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22656 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22657 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22658 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22659 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22660 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
22661 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22662 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22663 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
22664 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22665 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
22666 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22667 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22668 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22669 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22670 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22671 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22672 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22673 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22674 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
22675 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22676 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22677 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
22678 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22679 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22680 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22681 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22682 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22683 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22684 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
22685 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22686 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22687 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22688 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22689 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22690 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22691 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22692 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22693 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22694 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22695 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22696 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22697 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22698 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22699 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22700 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22701 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22702 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
22703 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22704 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22705 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22706 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
22707 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22708 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22709 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22710 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22711 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
22712 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22713 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22714 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22715 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
22716 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22717 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22718 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22719 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22720 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22721 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22722 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22723 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22724 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22725 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22726 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22727 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22728 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22729 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22730 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22731 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
22732 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22733 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22734 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
22735 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22736 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
22737 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22738 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22739 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22740 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
22741 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22742 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22743 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22744 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22745 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22746 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22747 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22748 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22749 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
22750 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22751 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22752 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22753 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22754 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22755 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22756 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22757 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22758 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
22759 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22760 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22761 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22762 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22763 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22764 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
22765 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22766 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22767 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22768 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22769 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22770 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22771 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22772 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22773 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22774 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22775 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22776 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
22777 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22778 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22779 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22780 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22781 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22782 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22783 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
22784 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22785 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22786 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22787 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
22788 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22789 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22790 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22791 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22792 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22793 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22794 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22795 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22796 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22797 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22798 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22799 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22800 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22801 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22802 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22803 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22804 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22805 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22806 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22807 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22808 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
22809 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22810 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22811 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22812 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22813 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22814 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22815 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22816 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22817 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22818 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22819 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22820 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22821 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22822 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22823 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22824 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22825 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22826 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22827 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22828 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22829 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
22830 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22831 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22832 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22833 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22834 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22835 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22836 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22837 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22838 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22839 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22840 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22841 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22842 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22843 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22844 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22845 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22846 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22847 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22848 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22849 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22850 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22851 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22852 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22853 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22854 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22855 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22856 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22857 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22858 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22859 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22860 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22861 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22862 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22863 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22864 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22865 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22866 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22867 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22868 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22869 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22870 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22871 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22872 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22873 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22874 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22875 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
22876 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22877 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22878 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22879 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22880 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22881 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22882 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22883 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22884 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22885 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22886 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22887 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22888 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22889 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22890 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22891 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22892 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22893 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22894 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22895 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22896 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22897 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22898 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22899 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22900 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22901 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22902 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22903 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22904 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22905 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22906 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22907 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
22908 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22909 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22910 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22911 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
22912 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22913 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22914 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22915 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22916 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22917 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22918 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22919 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22920 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22921 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22922 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22923 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22924 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22925 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22926 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22927 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22928 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22929 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22930 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22931 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22932 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22933 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22934 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22935 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22936 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22937 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22938 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22939 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22940 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22941 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22942 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22943 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22944 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22945 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
22946 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22947 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22948 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22949 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22950 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
22951 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22952 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22953 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22954 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22955 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22956 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22957 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22958 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22959 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22960 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22961 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
22962 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22963 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22964 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22965 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22966 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22967 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22968 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22969 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22970 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22971 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22972 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22973 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22974 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22975 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22976 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22977 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22978 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22979 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22980 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22981 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22982 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22983 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22984 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
22985 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22986 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
22987 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22988 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22989 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22990 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22991 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22992 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
22993 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22994 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22995 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22996 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22997 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22998 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22999 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23000 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23001 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23002 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
23003 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23004 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23005 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23006 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23007 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23008 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23009 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23010 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23011 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23012 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23013 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23014 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23015 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23016 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23017 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23018 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23019 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23020 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23021 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23022 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23023 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23024 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23025 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23026 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
23027 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23028 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23029 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23030 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23031 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23032 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23033 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23034 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23035 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23036 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
23037 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23038 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23039 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23040 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23041 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23042 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23043 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23044 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
23045 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23046 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23047 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23048 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23049 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23050 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
23051 { NULL
, NULL
, 0, NULL
}
23055 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23057 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
23058 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23060 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
23061 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23063 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
23064 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
23066 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
23067 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
23069 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
23070 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
23072 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
23073 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
23075 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
23076 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
23078 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
23079 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23081 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
23082 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
23084 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
23085 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
23087 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
23088 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23090 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
23091 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
23093 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
23094 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23096 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
23097 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23099 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
23100 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
23102 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
23103 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23105 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
23106 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23108 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
23109 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
23111 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
23112 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
23114 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
23115 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
23117 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
23118 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
23120 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
23121 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
23123 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
23124 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
23126 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
23127 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
23129 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
23130 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23132 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
23133 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23135 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
23136 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23138 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
23139 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23141 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
23142 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23144 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
23145 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
23147 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
23148 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
23150 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
23151 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23153 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
23154 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
23156 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
23157 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23159 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
23160 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
23162 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
23163 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
23165 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
23166 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23168 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
23169 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23171 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
23172 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23174 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
23175 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
23177 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
23178 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
23180 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
23181 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23183 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
23184 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23186 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
23187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23189 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
23190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23192 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
23193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23195 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
23196 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
23198 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
23199 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
23201 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
23202 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
23204 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
23205 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
23207 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
23208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23210 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
23211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23213 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
23214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23216 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
23217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23219 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
23220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23222 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
23223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23225 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
23226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23228 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
23229 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
23231 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
23232 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
23234 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
23235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23237 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
23238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
23240 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
23241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23243 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
23244 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
23246 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
23247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23249 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
23250 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
23252 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
23253 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
23255 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
23256 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
23258 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
23259 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
23261 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
23262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
23264 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
23265 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
23267 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
23268 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
23270 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
23271 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
23273 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
23274 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23276 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
23277 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23279 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
23280 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23282 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
23283 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
23285 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
23286 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
23288 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
23289 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
23291 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
23292 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23294 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
23295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23297 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
23298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23300 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
23303 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
23306 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
23307 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23309 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
23310 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23312 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
23313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
23315 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
23316 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23318 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
23319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23321 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
23322 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
23324 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
23325 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
23327 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
23328 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
23330 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
23331 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23333 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
23334 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23336 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
23337 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
23339 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
23340 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
23342 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
23343 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
23345 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
23346 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
23348 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
23349 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23351 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
23352 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
23354 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
23355 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
23357 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
23358 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
23360 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
23361 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
23363 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
23364 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23366 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
23367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23369 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
23370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23372 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
23373 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
23375 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
23376 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
23378 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
23379 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
23381 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
23382 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
23384 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
23385 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
23387 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
23388 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
23390 static void *_p_wxSizerTo_p_wxObject(void *x
) {
23391 return (void *)((wxObject
*) ((wxSizer
*) x
));
23393 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
23394 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
23396 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
23397 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23399 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
23400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23402 static void *_p_wxEventTo_p_wxObject(void *x
) {
23403 return (void *)((wxObject
*) ((wxEvent
*) x
));
23405 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
23406 return (void *)((wxObject
*) ((wxFontData
*) x
));
23408 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
23409 return (void *)((wxObject
*) ((wxPrintData
*) x
));
23411 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
23412 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
23414 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
23415 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
23417 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
23418 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
23420 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
23421 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
23423 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
23424 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23426 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
23427 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23429 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
23430 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
23432 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
23433 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
23435 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
23436 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23438 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
23439 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23441 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
23442 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23444 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
23445 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23447 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
23448 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23450 static void *_p_wxControlTo_p_wxObject(void *x
) {
23451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
23453 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
23454 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
23456 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
23457 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23459 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
23460 return (void *)((wxObject
*) ((wxFSFile
*) x
));
23462 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
23463 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
23465 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
23466 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
23468 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
23469 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23471 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
23472 return (void *)((wxObject
*) ((wxColourData
*) x
));
23474 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
23475 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
23477 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
23478 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23480 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
23481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
23483 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
23484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23486 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
23487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23489 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
23490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23492 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
23493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23495 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
23496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23498 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
23499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23501 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
23502 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23504 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
23505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23507 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
23508 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
23510 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
23511 return (void *)((wxObject
*) ((wxPrinter
*) x
));
23513 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
23514 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
23516 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
23517 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
23519 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
23520 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23522 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
23523 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23525 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
23526 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
23528 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
23529 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
23531 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
23532 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
23534 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
23535 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
23537 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
23538 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
23540 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
23541 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
23543 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
23544 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
23546 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
23547 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
23549 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
23550 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
23552 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
23553 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
23555 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
23556 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
23558 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
23559 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
23561 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
23562 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
23564 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
23565 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
23567 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
23568 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
23570 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
23571 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
23573 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
23574 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
23576 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
23577 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
23579 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
23580 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23582 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
23583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23585 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
23586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23588 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
23589 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
23591 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
23592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23594 static void *_p_wxImageTo_p_wxObject(void *x
) {
23595 return (void *)((wxObject
*) ((wxImage
*) x
));
23597 static void *_p_wxFrameTo_p_wxObject(void *x
) {
23598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23600 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
23601 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
23603 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
23604 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
23606 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
23607 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23609 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
23610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
23612 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
23613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23615 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
23616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23618 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
23619 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23621 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
23622 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
23624 static void *_p_wxWindowTo_p_wxObject(void *x
) {
23625 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
23627 static void *_p_wxMenuTo_p_wxObject(void *x
) {
23628 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
23630 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
23631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
23633 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
23634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
23636 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
23637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
23639 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
23640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
23642 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
23643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
23645 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
23646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
23648 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
23649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23651 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
23652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
23654 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
23655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23657 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
23658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
23660 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
23661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23663 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
23664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
23666 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
23667 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
23669 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
23670 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
23672 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
23673 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
23675 static void *_p_wxPanelTo_p_wxObject(void *x
) {
23676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
23678 static void *_p_wxDialogTo_p_wxObject(void *x
) {
23679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
23681 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
23682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23684 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
23685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23687 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
23688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
23690 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
23691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
23693 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
23694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
23696 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
23697 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
23699 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
23700 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23702 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
23703 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
23705 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
23706 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
23708 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
23709 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
23711 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
23712 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
23714 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
23715 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
23717 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
23718 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23720 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
23721 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
23723 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
23724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
23726 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
23727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
23729 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
23730 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
23732 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
23733 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
23735 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
23736 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23738 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
23739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
23741 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
23742 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
23744 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
23745 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
23747 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
23748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
23750 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
23751 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
23753 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
23754 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23756 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
23757 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23759 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
23760 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23762 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
23763 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23765 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
23766 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
23768 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
23769 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
23771 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
23772 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
23774 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
23775 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
23777 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
23778 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
23780 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
23781 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
23783 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
23784 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
23786 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
23787 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
23789 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
23790 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
23792 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
23793 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
23795 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
23796 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
23798 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
23799 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
23801 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
23802 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
23804 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
23805 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
23807 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
23808 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
23810 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
23811 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23813 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
23814 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23816 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
23817 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
23819 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
23820 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
23822 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
23823 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
23825 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
23826 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23828 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
23829 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23831 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
23832 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23834 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
23835 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
23837 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
23838 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
23840 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
23841 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23843 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
23844 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23846 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
23847 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23849 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
23850 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23852 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
23853 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23855 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
23856 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23858 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
23859 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23861 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
23862 return (void *)((wxWindow
*) ((wxPanel
*) x
));
23864 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
23865 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
23867 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
23868 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
23870 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
23871 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23873 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
23874 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
23876 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
23877 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23879 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
23880 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
23882 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
23883 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23885 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
23886 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
23888 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
23889 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
23891 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
23892 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
23894 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
23895 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
23897 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
23898 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
23900 static void *_p_wxControlTo_p_wxWindow(void *x
) {
23901 return (void *)((wxWindow
*) ((wxControl
*) x
));
23903 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
23904 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23906 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
23907 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23909 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
23910 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23912 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
23913 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
23915 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
23916 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
23918 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
23919 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23921 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
23922 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23924 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
23925 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23927 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
23928 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
23930 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
23931 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
23933 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
23934 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
23936 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
23937 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
23939 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
23940 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23942 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
23943 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23945 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
23946 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
23948 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
23949 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
23951 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
23952 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
23954 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
23955 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23957 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
23958 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23960 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
23961 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
23963 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
23964 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
23966 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
23967 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
23969 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
23970 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
23972 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
23973 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
23975 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
23976 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
23978 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
23979 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
23981 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
23982 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23984 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
23985 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23987 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
23988 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
23990 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
23991 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
23993 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
23994 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
23996 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
23997 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
23999 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
24000 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24002 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
24003 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24005 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
24006 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24008 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
24009 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
24011 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
24012 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24014 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
24015 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
24017 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
24018 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24020 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
24021 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24023 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
24024 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
24026 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
24027 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24029 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
24030 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24032 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
24033 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24035 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
24036 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24038 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
24039 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24041 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
24042 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24044 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
24045 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24047 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
24048 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24050 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
24051 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
24053 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
24054 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24056 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}};
24057 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}};
24058 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}};
24059 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}};
24060 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}};
24061 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}};
24062 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}};
24063 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}};
24064 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}};
24065 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}};
24066 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}};
24067 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}};
24068 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}};
24069 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}};
24070 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}};
24071 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}};
24072 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}};
24073 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}};
24074 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}};
24075 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}};
24076 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}};
24077 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}};
24078 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}};
24079 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}};
24080 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}};
24081 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}};
24082 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}};
24083 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}};
24084 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}};
24085 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}};
24086 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}};
24087 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}};
24088 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}};
24089 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}};
24090 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}};
24091 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_wxTipWindow", _p_wxTipWindowTo_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_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_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}};
24092 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}};
24093 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}};
24094 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}};
24095 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}};
24096 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}};
24097 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}};
24098 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_wxTipWindow", _p_wxTipWindowTo_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}};
24099 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}};
24100 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}};
24101 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}};
24102 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}};
24103 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}};
24104 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}};
24105 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_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_wxTipWindow", _p_wxTipWindowTo_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_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}};
24106 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}};
24107 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}};
24108 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}};
24109 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}};
24110 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24111 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}};
24112 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}};
24113 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}};
24114 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},{0, 0, 0, 0, 0, 0, 0}};
24115 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}};
24116 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_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_wxDirDialog", _p_wxDirDialogTo_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_wxTipWindow", _p_wxTipWindowTo_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}};
24117 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_wxTipWindow", _p_wxTipWindowTo_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_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_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}};
24118 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24119 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}};
24120 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}};
24121 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}};
24122 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}};
24123 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}};
24124 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}};
24125 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}};
24126 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}};
24127 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}};
24128 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}};
24129 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_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}};
24130 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}};
24131 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}};
24132 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}};
24133 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}};
24134 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}};
24135 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}};
24136 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}};
24137 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}};
24138 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}};
24139 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}};
24141 static swig_type_info
*swig_types_initial
[] = {
24142 _swigt__p_wxQueryLayoutInfoEvent
,
24143 _swigt__p_wxPreviewFrame
,
24144 _swigt__p_wxPyPreviewFrame
,
24145 _swigt__p_wxPyPanel
,
24147 _swigt__p_wxPrintData
,
24148 _swigt__p_wxFontData
,
24150 _swigt__p_wxTaskBarIcon
,
24151 _swigt__p_wxIconBundle
,
24152 _swigt__p_wxLayoutAlgorithm
,
24153 _swigt__p_wxFindDialogEvent
,
24154 _swigt__p_wxPreviewCanvas
,
24156 _swigt__p_wxSplitterEvent
,
24157 _swigt__p_wxRegion
,
24158 _swigt__p_wxFindReplaceData
,
24163 _swigt__p_wxMDIChildFrame
,
24164 _swigt__p_wxColourData
,
24165 _swigt__p_wxNotifyEvent
,
24166 _swigt__p_wxPyWindow
,
24167 _swigt__p_wxSplashScreen
,
24168 _swigt__p_wxFindReplaceDialog
,
24169 _swigt__p_wxProgressDialog
,
24170 _swigt__p_wxMessageDialog
,
24171 _swigt__p_wxTextEntryDialog
,
24172 _swigt__p_wxSingleChoiceDialog
,
24173 _swigt__p_wxMultiChoiceDialog
,
24174 _swigt__p_wxFileDialog
,
24175 _swigt__p_wxPrinter
,
24176 _swigt__p_wxArrayInt
,
24177 _swigt__p_wxEvtHandler
,
24178 _swigt__p_wxCalculateLayoutEvent
,
24179 _swigt__p_wxPyHtmlListBox
,
24180 _swigt__p_wxPyVListBox
,
24183 _swigt__p_wxMiniFrame
,
24185 _swigt__p_wxPyPrintout
,
24186 _swigt__p_wxTaskBarIconEvent
,
24187 _swigt__p_wxScrollWinEvent
,
24188 _swigt__p_wxStatusBar
,
24189 _swigt__p_wxMDIParentFrame
,
24191 _swigt__p_wxObject
,
24192 _swigt__p_wxOutputStream
,
24193 _swigt__p_unsigned_long
,
24194 _swigt__p_wxMDIClientWindow
,
24195 _swigt__p_wxTipWindow
,
24196 _swigt__p_wxPyPopupTransientWindow
,
24197 _swigt__p_wxSashLayoutWindow
,
24198 _swigt__p_wxSplitterWindow
,
24199 _swigt__p_wxPyVScrolledWindow
,
24200 _swigt__p_wxPopupWindow
,
24201 _swigt__p_wxSashWindow
,
24202 _swigt__p_wxTopLevelWindow
,
24203 _swigt__p_wxWindow
,
24204 _swigt__p_wxScrolledWindow
,
24205 _swigt__p_wxSplashScreenWindow
,
24206 _swigt__p_wxMenuBar
,
24207 _swigt__p_wxPrintPreview
,
24208 _swigt__p_wxSashEvent
,
24209 _swigt__p_wxString
,
24210 _swigt__p_wxPyPrintPreview
,
24211 _swigt__p_wxFontDialog
,
24212 _swigt__p_wxDirDialog
,
24213 _swigt__p_wxColourDialog
,
24214 _swigt__p_wxDialog
,
24216 _swigt__p_wxPageSetupDialog
,
24217 _swigt__p_wxPrintDialog
,
24218 _swigt__p_wxBitmap
,
24219 _swigt__p_wxCommandEvent
,
24220 _swigt__p_wxPreviewControlBar
,
24221 _swigt__p_wxPyPreviewControlBar
,
24222 _swigt__p_wxColour
,
24223 _swigt__p_wxToolBar
,
24224 _swigt__p_wxPageSetupDialogData
,
24225 _swigt__p_wxPrintDialogData
,
24230 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24232 static swig_const_info swig_const_table
[] = {
24233 {0, 0, 0, 0.0, 0, 0}};
24242 SWIGEXPORT(void) SWIG_init(void) {
24243 static PyObject
*SWIG_globals
= 0;
24244 static int typeinit
= 0;
24247 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
24248 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
24249 d
= PyModule_GetDict(m
);
24252 for (i
= 0; swig_types_initial
[i
]; i
++) {
24253 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
24257 SWIG_InstallConstants(d
,swig_const_table
);
24259 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
24260 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
24261 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
24262 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
24263 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
24264 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
24265 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
24266 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
24267 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
24268 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
24269 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
24270 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
24271 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
24272 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
24273 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
24274 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
24275 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
24276 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
24277 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
24278 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
24279 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
24280 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
24281 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
24282 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
24283 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
24284 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
24285 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
24286 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
24287 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
24288 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
24289 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
24290 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
24291 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
24292 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
24293 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
24294 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
24295 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
24296 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
24297 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
24298 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
24299 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
24300 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
24301 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
24302 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
24303 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
24304 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
24305 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
24306 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
24307 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
24308 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
24309 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
24310 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
24311 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
24312 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
24313 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
24314 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
24315 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
24316 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
24317 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
24318 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
24319 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
24320 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
24321 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
24322 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
24323 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
24324 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
24325 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
24327 // Map renamed classes back to their common name for OOR
24328 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24329 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24330 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24332 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
24333 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
24334 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
24335 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
24336 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
24337 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
24338 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
24339 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
24340 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
24341 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
24342 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
24343 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
24344 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
24345 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
24346 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
24347 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
24348 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
24349 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
24350 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
24351 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
24352 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
24353 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
24354 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
24355 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
24356 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
24357 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
24358 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
24359 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
24360 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
24361 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
24362 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
24363 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
24364 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
24365 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
24366 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
24367 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
24368 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
24369 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
24370 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
24371 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
24372 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
24373 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
24374 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
24375 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
24376 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
24377 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
24378 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
24379 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
24380 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
24381 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
24382 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
24383 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
24384 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
24385 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
24386 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
24387 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
24388 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
24389 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
24390 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
24391 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
24393 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");