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_wxSashLayoutWindow swig_types[54]
264 #define SWIGTYPE_p_wxSplitterWindow swig_types[55]
265 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyPopupTransientWindow 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
){
512 return self
->m_modalShowing
;
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 wxPyPopupTransientWindow
: public wxPopupTransientWindow
534 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
535 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
536 : wxPopupTransientWindow(parent
, style
) {}
538 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
539 DEC_PYCALLBACK__(OnDismiss
);
540 DEC_PYCALLBACK_BOOL_(CanDismiss
);
545 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
546 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
547 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
550 #include <wx/tipwin.h>
552 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
553 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
556 #include <wx/tipwin.h>
559 #include <wx/vscroll.h>
562 class wxPyVScrolledWindow
: public wxVScrolledWindow
564 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
566 wxPyVScrolledWindow() : wxVScrolledWindow() {}
568 wxPyVScrolledWindow(wxWindow
*parent
,
569 wxWindowID id
= wxID_ANY
,
570 const wxPoint
& pos
= wxDefaultPosition
,
571 const wxSize
& size
= wxDefaultSize
,
573 const wxString
& name
= wxPyPanelNameStr
)
574 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
577 // Overridable virtuals
579 // this function must be overridden in the derived class and it should
580 // return the height of the given line in pixels
581 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
584 // this function doesn't have to be overridden but it may be useful to do
585 // it if calculating the lines heights is a relatively expensive operation
586 // as it gives the user code a possibility to calculate several of them at
589 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
590 // shouldn't rely on the latter being called for all lines in the interval
591 // specified here. It is also possible that OnGetLineHeight() will be
592 // called for the lines outside of this interval, so this is really just a
593 // hint, not a promise.
595 // finally note that lineMin is inclusive, while lineMax is exclusive, as
597 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
600 // when the number of lines changes, we try to estimate the total height
601 // of all lines which is a rather expensive operation in terms of lines
602 // access, so if the user code may estimate the average height
603 // better/faster than we do, it should override this function to implement
606 // this function should return the best guess for the total height it may
608 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
611 // Also expose some other interesting protected methods
614 // find the index of the line we need to show at the top of the window such
615 // that the last (fully or partially) visible line is the given one
616 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
617 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
619 // get the total height of the lines between lineMin (inclusive) and
620 // lineMax (exclusive)
621 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
622 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
628 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
630 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
631 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
632 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
635 SWIGSTATICINLINE(unsigned long)
636 SWIG_AsUnsignedLong(PyObject
* obj
)
638 if (PyLong_Check(obj
)) {
639 return PyLong_AsUnsignedLong(obj
);
641 long i
= PyInt_AsLong(obj
);
642 if ( !PyErr_Occurred() && (i
< 0)) {
643 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
650 SWIGSTATICINLINE(int)
651 SWIG_CheckUnsignedLong(PyObject
* obj
)
653 SWIG_AsUnsignedLong(obj
);
654 if (PyErr_Occurred()) {
663 SWIGSTATICINLINE(PyObject
* )
664 SWIG_FromUnsignedLong(unsigned long value
)
666 return (value
> LONG_MAX
) ?
667 PyLong_FromUnsignedLong(value
)
668 : PyInt_FromLong(swig_numeric_cast(long,value
));
672 #include <wx/vlbox.h>
674 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
676 class wxPyVListBox
: public wxVListBox
678 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
680 wxPyVListBox() : wxVListBox() {}
682 wxPyVListBox(wxWindow
*parent
,
683 wxWindowID id
= wxID_ANY
,
684 const wxPoint
& pos
= wxDefaultPosition
,
685 const wxSize
& size
= wxDefaultSize
,
687 const wxString
& name
= wxPyVListBoxNameStr
)
688 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
691 // Overridable virtuals
693 // the derived class must implement this function to actually draw the item
694 // with the given index on the provided DC
695 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
696 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
699 // the derived class must implement this method to return the height of the
701 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
702 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
705 // this method may be used to draw separators between the lines; note that
706 // the rectangle may be modified, typically to deflate it a bit before
707 // passing to OnDrawItem()
709 // the base class version doesn't do anything
710 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
711 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
714 // this method is used to draw the items background and, maybe, a border
717 // the base class version implements a reasonable default behaviour which
718 // consists in drawing the selected item with the standard background
719 // colour and drawing a border around the item if it is either selected or
721 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
722 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
728 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
730 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
731 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
732 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
733 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
737 #include <wx/htmllbox.h>
740 class wxPyHtmlListBox
: public wxHtmlListBox
742 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
744 wxPyHtmlListBox() : wxHtmlListBox() {}
746 wxPyHtmlListBox(wxWindow
*parent
,
747 wxWindowID id
= wxID_ANY
,
748 const wxPoint
& pos
= wxDefaultPosition
,
749 const wxSize
& size
= wxDefaultSize
,
751 const wxString
& name
= wxPyVListBoxNameStr
)
752 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
755 // Overridable virtuals
757 // this method must be implemented in the derived class and should return
758 // the body (i.e. without <html>) of the HTML for the given item
759 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
761 // this function may be overridden to decorate HTML returned by OnGetItem()
762 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
765 // // this method allows to customize the selection appearance: it may be used
766 // // to specify the colour of the text which normally has the given colour
767 // // colFg when it is inside the selection
769 // // by default, the original colour is not used at all and all text has the
770 // // same (default for this system) colour inside selection
771 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
773 // // this is the same as GetSelectedTextColour() but allows to customize the
774 // // background colour -- this is even more rarely used as you can change it
775 // // globally using SetSelectionBackground()
776 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
783 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
785 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
786 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
793 // implement dummy classes and such for wxMac
795 class wxTaskBarIcon
: public wxEvtHandler
798 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
802 class wxTaskBarIconEvent
: public wxEvent
805 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
806 { wxPyRaiseNotImplemented(); }
807 virtual wxEvent
* Clone() const { return NULL
; }
811 wxEVT_TASKBAR_MOVE
= 0,
812 wxEVT_TASKBAR_LEFT_DOWN
= 0,
813 wxEVT_TASKBAR_LEFT_UP
= 0,
814 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
815 wxEVT_TASKBAR_RIGHT_UP
= 0,
816 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
817 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
821 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
822 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
823 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
824 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
825 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
826 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
827 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
829 self
->GetFilenames(arr
);
830 return wxArrayString2PyList_helper(arr
);
832 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
835 return wxArrayString2PyList_helper(arr
);
837 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
838 return wxArrayInt2PyList_helper(self
->GetSelections());
840 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
841 return new wxSingleChoiceDialog(parent
, message
, caption
,
842 choices
, choices_array
, NULL
, style
, pos
);
847 // C++ version of Python aware wxWindow
848 class wxPyWindow
: public wxWindow
850 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
852 wxPyWindow() : wxWindow() {}
853 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
854 const wxPoint
& pos
= wxDefaultPosition
,
855 const wxSize
& size
= wxDefaultSize
,
857 const wxString
& name
= wxPyPanelNameStr
)
858 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
861 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
862 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
863 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
864 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
866 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
867 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
868 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
870 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
871 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
873 DEC_PYCALLBACK__(InitDialog
);
874 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
875 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
876 DEC_PYCALLBACK_BOOL_(Validate
);
878 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
879 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
880 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
882 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
883 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
888 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
890 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
891 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
892 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
893 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
895 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
896 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
897 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
899 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
900 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
902 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
903 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
904 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
905 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
907 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
908 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
909 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
911 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
912 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
915 // C++ version of Python aware wxPanel
916 class wxPyPanel
: public wxPanel
918 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
920 wxPyPanel() : wxPanel() {}
921 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
922 const wxPoint
& pos
= wxDefaultPosition
,
923 const wxSize
& size
= wxDefaultSize
,
925 const wxString
& name
= wxPyPanelNameStr
)
926 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
929 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
930 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
931 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
932 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
934 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
935 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
936 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
938 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
939 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
941 DEC_PYCALLBACK__(InitDialog
);
942 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
943 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
944 DEC_PYCALLBACK_BOOL_(Validate
);
946 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
947 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
948 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
950 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
951 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
956 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
958 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
959 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
960 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
961 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
963 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
964 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
965 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
967 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
968 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
970 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
971 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
972 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
973 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
975 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
976 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
977 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
979 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
980 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
984 #include "wx/wxPython/printfw.h"
987 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
988 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
992 // Since this one would be tough and ugly to do with the Macros...
993 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
997 wxPyBeginBlockThreads();
998 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
999 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1000 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1003 val
= PyTuple_GetItem(result
, 0);
1004 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1007 val
= PyTuple_GetItem(result
, 1);
1008 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1011 val
= PyTuple_GetItem(result
, 2);
1012 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1015 val
= PyTuple_GetItem(result
, 3);
1016 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1023 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1028 wxPyEndBlockThreads();
1030 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1033 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1034 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1038 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1039 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1040 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1041 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1042 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1043 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1044 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1050 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1051 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1052 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1055 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1056 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1059 wxPyBeginBlockThreads(); \
1060 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1061 PyObject* win = wxPyMake_wxObject(a); \
1062 PyObject* dc = wxPyMake_wxObject(&b); \
1063 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1067 wxPyEndBlockThreads(); \
1069 rval = PCLASS::CBNAME(a, b); \
1072 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1073 return PCLASS::CBNAME(a, b); \
1079 class wxPyPrintPreview
: public wxPrintPreview
1081 DECLARE_CLASS(wxPyPrintPreview
)
1083 wxPyPrintPreview(wxPyPrintout
* printout
,
1084 wxPyPrintout
* printoutForPrinting
,
1085 wxPrintData
* data
=NULL
)
1086 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1089 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1090 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1091 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1092 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1093 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1094 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1095 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1100 // Stupid renamed classes... Fix this in 2.5...
1101 #if defined(__WXMSW__)
1102 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1103 #elif defined(__WXMAC__)
1104 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1106 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1109 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1110 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1111 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1112 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1113 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1114 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1115 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1118 class wxPyPreviewFrame
: public wxPreviewFrame
1120 DECLARE_CLASS(wxPyPreviewFrame
);
1122 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1123 const wxString
& title
,
1124 const wxPoint
& pos
= wxDefaultPosition
,
1125 const wxSize
& size
= wxDefaultSize
,
1126 long style
= wxDEFAULT_FRAME_STYLE
,
1127 const wxString
& name
= wxPyFrameNameStr
)
1128 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1131 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1132 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1134 DEC_PYCALLBACK_VOID_(Initialize
);
1135 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1136 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1141 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1143 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1144 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1145 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1148 class wxPyPreviewControlBar
: public wxPreviewControlBar
1150 DECLARE_CLASS(wxPyPreviewControlBar
);
1152 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1155 const wxPoint
& pos
= wxDefaultPosition
,
1156 const wxSize
& size
= wxDefaultSize
,
1158 const wxString
& name
= wxPyPanelNameStr
)
1159 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1162 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1164 DEC_PYCALLBACK_VOID_(CreateButtons
);
1165 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1170 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1171 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1172 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1177 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
*resultobj
;
1179 wxWindow
*arg1
= (wxWindow
*) 0 ;
1180 int arg2
= (int) (int)-1 ;
1181 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1182 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1183 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1184 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1185 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1186 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1187 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1191 bool temp6
= False
;
1192 PyObject
* obj0
= 0 ;
1193 PyObject
* obj1
= 0 ;
1194 PyObject
* obj2
= 0 ;
1195 PyObject
* obj3
= 0 ;
1196 PyObject
* obj4
= 0 ;
1197 PyObject
* obj5
= 0 ;
1199 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1206 arg2
= (int const) SWIG_AsInt(obj1
);
1207 if (PyErr_Occurred()) SWIG_fail
;
1212 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1218 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1222 arg5
= (long) SWIG_AsLong(obj4
);
1223 if (PyErr_Occurred()) SWIG_fail
;
1227 arg6
= wxString_in_helper(obj5
);
1228 if (arg6
== NULL
) SWIG_fail
;
1233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1234 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1236 wxPyEndAllowThreads(__tstate
);
1237 if (PyErr_Occurred()) SWIG_fail
;
1239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1254 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
*resultobj
;
1261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1264 result
= (wxPanel
*)new wxPanel();
1266 wxPyEndAllowThreads(__tstate
);
1267 if (PyErr_Occurred()) SWIG_fail
;
1269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1276 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1277 PyObject
*resultobj
;
1278 wxPanel
*arg1
= (wxPanel
*) 0 ;
1279 wxWindow
*arg2
= (wxWindow
*) 0 ;
1281 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1282 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1283 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1284 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1285 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1286 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1287 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1291 bool temp7
= False
;
1292 PyObject
* obj0
= 0 ;
1293 PyObject
* obj1
= 0 ;
1294 PyObject
* obj2
= 0 ;
1295 PyObject
* obj3
= 0 ;
1296 PyObject
* obj4
= 0 ;
1297 PyObject
* obj5
= 0 ;
1298 PyObject
* obj6
= 0 ;
1300 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1308 arg3
= (int const) SWIG_AsInt(obj2
);
1309 if (PyErr_Occurred()) SWIG_fail
;
1313 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1319 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1323 arg6
= (long) SWIG_AsLong(obj5
);
1324 if (PyErr_Occurred()) SWIG_fail
;
1328 arg7
= wxString_in_helper(obj6
);
1329 if (arg7
== NULL
) SWIG_fail
;
1334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1335 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1337 wxPyEndAllowThreads(__tstate
);
1338 if (PyErr_Occurred()) SWIG_fail
;
1340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1355 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
*resultobj
;
1357 wxPanel
*arg1
= (wxPanel
*) 0 ;
1358 PyObject
* obj0
= 0 ;
1360 (char *) "self", NULL
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1368 (arg1
)->InitDialog();
1370 wxPyEndAllowThreads(__tstate
);
1371 if (PyErr_Occurred()) SWIG_fail
;
1373 Py_INCREF(Py_None
); resultobj
= Py_None
;
1380 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1383 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1385 return Py_BuildValue((char *)"");
1387 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1388 PyObject
*resultobj
;
1389 wxWindow
*arg1
= (wxWindow
*) 0 ;
1390 int arg2
= (int) (int)-1 ;
1391 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1392 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1393 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1394 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1395 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1396 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1397 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1398 wxScrolledWindow
*result
;
1401 bool temp6
= False
;
1402 PyObject
* obj0
= 0 ;
1403 PyObject
* obj1
= 0 ;
1404 PyObject
* obj2
= 0 ;
1405 PyObject
* obj3
= 0 ;
1406 PyObject
* obj4
= 0 ;
1407 PyObject
* obj5
= 0 ;
1409 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1416 arg2
= (int const) SWIG_AsInt(obj1
);
1417 if (PyErr_Occurred()) SWIG_fail
;
1422 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1428 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1432 arg5
= (long) SWIG_AsLong(obj4
);
1433 if (PyErr_Occurred()) SWIG_fail
;
1437 arg6
= wxString_in_helper(obj5
);
1438 if (arg6
== NULL
) SWIG_fail
;
1443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1444 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1446 wxPyEndAllowThreads(__tstate
);
1447 if (PyErr_Occurred()) SWIG_fail
;
1449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1464 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
*resultobj
;
1466 wxScrolledWindow
*result
;
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1474 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1476 wxPyEndAllowThreads(__tstate
);
1477 if (PyErr_Occurred()) SWIG_fail
;
1479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1486 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1487 PyObject
*resultobj
;
1488 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1489 wxWindow
*arg2
= (wxWindow
*) 0 ;
1490 int arg3
= (int) (int)-1 ;
1491 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1492 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1493 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1494 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1495 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1496 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1497 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1501 bool temp7
= False
;
1502 PyObject
* obj0
= 0 ;
1503 PyObject
* obj1
= 0 ;
1504 PyObject
* obj2
= 0 ;
1505 PyObject
* obj3
= 0 ;
1506 PyObject
* obj4
= 0 ;
1507 PyObject
* obj5
= 0 ;
1508 PyObject
* obj6
= 0 ;
1510 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1519 arg3
= (int const) SWIG_AsInt(obj2
);
1520 if (PyErr_Occurred()) SWIG_fail
;
1525 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1531 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1535 arg6
= (long) SWIG_AsLong(obj5
);
1536 if (PyErr_Occurred()) SWIG_fail
;
1540 arg7
= wxString_in_helper(obj6
);
1541 if (arg7
== NULL
) SWIG_fail
;
1546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1547 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1549 wxPyEndAllowThreads(__tstate
);
1550 if (PyErr_Occurred()) SWIG_fail
;
1552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1567 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
*resultobj
;
1569 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1574 int arg6
= (int) 0 ;
1575 int arg7
= (int) 0 ;
1576 bool arg8
= (bool) False
;
1577 PyObject
* obj0
= 0 ;
1578 PyObject
* obj1
= 0 ;
1579 PyObject
* obj2
= 0 ;
1580 PyObject
* obj3
= 0 ;
1581 PyObject
* obj4
= 0 ;
1582 PyObject
* obj5
= 0 ;
1583 PyObject
* obj6
= 0 ;
1584 PyObject
* obj7
= 0 ;
1586 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1592 arg2
= (int) SWIG_AsInt(obj1
);
1593 if (PyErr_Occurred()) SWIG_fail
;
1594 arg3
= (int) SWIG_AsInt(obj2
);
1595 if (PyErr_Occurred()) SWIG_fail
;
1596 arg4
= (int) SWIG_AsInt(obj3
);
1597 if (PyErr_Occurred()) SWIG_fail
;
1598 arg5
= (int) SWIG_AsInt(obj4
);
1599 if (PyErr_Occurred()) SWIG_fail
;
1601 arg6
= (int) SWIG_AsInt(obj5
);
1602 if (PyErr_Occurred()) SWIG_fail
;
1605 arg7
= (int) SWIG_AsInt(obj6
);
1606 if (PyErr_Occurred()) SWIG_fail
;
1609 arg8
= (bool) SWIG_AsBool(obj7
);
1610 if (PyErr_Occurred()) SWIG_fail
;
1613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1614 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1616 wxPyEndAllowThreads(__tstate
);
1617 if (PyErr_Occurred()) SWIG_fail
;
1619 Py_INCREF(Py_None
); resultobj
= Py_None
;
1626 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1627 PyObject
*resultobj
;
1628 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1631 PyObject
* obj0
= 0 ;
1632 PyObject
* obj1
= 0 ;
1633 PyObject
* obj2
= 0 ;
1635 (char *) "self",(char *) "x",(char *) "y", NULL
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1641 arg2
= (int) SWIG_AsInt(obj1
);
1642 if (PyErr_Occurred()) SWIG_fail
;
1643 arg3
= (int) SWIG_AsInt(obj2
);
1644 if (PyErr_Occurred()) SWIG_fail
;
1646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1647 (arg1
)->Scroll(arg2
,arg3
);
1649 wxPyEndAllowThreads(__tstate
);
1650 if (PyErr_Occurred()) SWIG_fail
;
1652 Py_INCREF(Py_None
); resultobj
= Py_None
;
1659 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
*resultobj
;
1661 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1664 PyObject
* obj0
= 0 ;
1665 PyObject
* obj1
= 0 ;
1667 (char *) "self",(char *) "orient", NULL
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1673 arg2
= (int) SWIG_AsInt(obj1
);
1674 if (PyErr_Occurred()) SWIG_fail
;
1676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1677 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1679 wxPyEndAllowThreads(__tstate
);
1680 if (PyErr_Occurred()) SWIG_fail
;
1682 resultobj
= SWIG_FromInt((int)result
);
1689 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
*resultobj
;
1691 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1694 PyObject
* obj0
= 0 ;
1695 PyObject
* obj1
= 0 ;
1696 PyObject
* obj2
= 0 ;
1698 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1704 arg2
= (int) SWIG_AsInt(obj1
);
1705 if (PyErr_Occurred()) SWIG_fail
;
1706 arg3
= (int) SWIG_AsInt(obj2
);
1707 if (PyErr_Occurred()) SWIG_fail
;
1709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1710 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1712 wxPyEndAllowThreads(__tstate
);
1713 if (PyErr_Occurred()) SWIG_fail
;
1715 Py_INCREF(Py_None
); resultobj
= Py_None
;
1722 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1723 PyObject
*resultobj
;
1724 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1727 PyObject
* obj0
= 0 ;
1728 PyObject
* obj1
= 0 ;
1729 PyObject
* obj2
= 0 ;
1731 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1737 arg2
= (int) SWIG_AsInt(obj1
);
1738 if (PyErr_Occurred()) SWIG_fail
;
1739 arg3
= (int) SWIG_AsInt(obj2
);
1740 if (PyErr_Occurred()) SWIG_fail
;
1742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1743 (arg1
)->SetScrollRate(arg2
,arg3
);
1745 wxPyEndAllowThreads(__tstate
);
1746 if (PyErr_Occurred()) SWIG_fail
;
1748 Py_INCREF(Py_None
); resultobj
= Py_None
;
1755 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
*resultobj
;
1757 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1758 int *arg2
= (int *) 0 ;
1759 int *arg3
= (int *) 0 ;
1762 PyObject
* obj0
= 0 ;
1764 (char *) "self", NULL
1769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) SWIG_fail
;
1779 Py_INCREF(Py_None
); resultobj
= Py_None
;
1781 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1782 resultobj
= t_output_helper(resultobj
,o
);
1785 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1786 resultobj
= t_output_helper(resultobj
,o
);
1794 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
*resultobj
;
1796 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1799 PyObject
* obj0
= 0 ;
1800 PyObject
* obj1
= 0 ;
1801 PyObject
* obj2
= 0 ;
1803 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1809 arg2
= (bool) SWIG_AsBool(obj1
);
1810 if (PyErr_Occurred()) SWIG_fail
;
1811 arg3
= (bool) SWIG_AsBool(obj2
);
1812 if (PyErr_Occurred()) SWIG_fail
;
1814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1815 (arg1
)->EnableScrolling(arg2
,arg3
);
1817 wxPyEndAllowThreads(__tstate
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1820 Py_INCREF(Py_None
); resultobj
= Py_None
;
1827 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1828 PyObject
*resultobj
;
1829 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1830 int *arg2
= (int *) 0 ;
1831 int *arg3
= (int *) 0 ;
1834 PyObject
* obj0
= 0 ;
1836 (char *) "self", NULL
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1846 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1848 wxPyEndAllowThreads(__tstate
);
1849 if (PyErr_Occurred()) SWIG_fail
;
1851 Py_INCREF(Py_None
); resultobj
= Py_None
;
1853 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1854 resultobj
= t_output_helper(resultobj
,o
);
1857 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1858 resultobj
= t_output_helper(resultobj
,o
);
1866 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
*resultobj
;
1868 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1871 PyObject
* obj0
= 0 ;
1872 PyObject
* obj1
= 0 ;
1873 PyObject
* obj2
= 0 ;
1875 (char *) "self",(char *) "xs",(char *) "ys", NULL
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1881 arg2
= (double) SWIG_AsDouble(obj1
);
1882 if (PyErr_Occurred()) SWIG_fail
;
1883 arg3
= (double) SWIG_AsDouble(obj2
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1887 (arg1
)->SetScale(arg2
,arg3
);
1889 wxPyEndAllowThreads(__tstate
);
1890 if (PyErr_Occurred()) SWIG_fail
;
1892 Py_INCREF(Py_None
); resultobj
= Py_None
;
1899 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
*resultobj
;
1901 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1903 PyObject
* obj0
= 0 ;
1905 (char *) "self", NULL
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1913 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1915 wxPyEndAllowThreads(__tstate
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1918 resultobj
= SWIG_FromDouble((double)result
);
1925 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
*resultobj
;
1927 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1929 PyObject
* obj0
= 0 ;
1931 (char *) "self", NULL
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1939 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1941 wxPyEndAllowThreads(__tstate
);
1942 if (PyErr_Occurred()) SWIG_fail
;
1944 resultobj
= SWIG_FromDouble((double)result
);
1951 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1952 PyObject
*resultobj
;
1953 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1957 PyObject
* obj0
= 0 ;
1958 PyObject
* obj1
= 0 ;
1960 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1965 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) SWIG_fail
;
1975 wxPoint
* resultptr
;
1976 resultptr
= new wxPoint((wxPoint
&) result
);
1977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
1985 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1986 PyObject
*resultobj
;
1987 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1990 int *arg4
= (int *) 0 ;
1991 int *arg5
= (int *) 0 ;
1994 PyObject
* obj0
= 0 ;
1995 PyObject
* obj1
= 0 ;
1996 PyObject
* obj2
= 0 ;
2000 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2003 arg2
= (int) SWIG_AsInt(obj1
);
2004 if (PyErr_Occurred()) SWIG_fail
;
2005 arg3
= (int) SWIG_AsInt(obj2
);
2006 if (PyErr_Occurred()) SWIG_fail
;
2008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2009 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2011 wxPyEndAllowThreads(__tstate
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2014 Py_INCREF(Py_None
); resultobj
= Py_None
;
2016 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2017 resultobj
= t_output_helper(resultobj
,o
);
2020 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2021 resultobj
= t_output_helper(resultobj
,o
);
2029 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2034 argc
= PyObject_Length(args
);
2035 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2036 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2042 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2051 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2054 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2062 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2070 _v
= SWIG_CheckInt(argv
[1]);
2072 _v
= SWIG_CheckInt(argv
[2]);
2074 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2080 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2085 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2086 PyObject
*resultobj
;
2087 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2091 PyObject
* obj0
= 0 ;
2092 PyObject
* obj1
= 0 ;
2094 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2099 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) SWIG_fail
;
2109 wxPoint
* resultptr
;
2110 resultptr
= new wxPoint((wxPoint
&) result
);
2111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2119 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2120 PyObject
*resultobj
;
2121 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2124 int *arg4
= (int *) 0 ;
2125 int *arg5
= (int *) 0 ;
2128 PyObject
* obj0
= 0 ;
2129 PyObject
* obj1
= 0 ;
2130 PyObject
* obj2
= 0 ;
2134 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2137 arg2
= (int) SWIG_AsInt(obj1
);
2138 if (PyErr_Occurred()) SWIG_fail
;
2139 arg3
= (int) SWIG_AsInt(obj2
);
2140 if (PyErr_Occurred()) SWIG_fail
;
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2143 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) SWIG_fail
;
2148 Py_INCREF(Py_None
); resultobj
= Py_None
;
2150 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2151 resultobj
= t_output_helper(resultobj
,o
);
2154 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2155 resultobj
= t_output_helper(resultobj
,o
);
2163 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2168 argc
= PyObject_Length(args
);
2169 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2170 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2176 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2185 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2188 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2196 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2204 _v
= SWIG_CheckInt(argv
[1]);
2206 _v
= SWIG_CheckInt(argv
[2]);
2208 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2214 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2219 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2220 PyObject
*resultobj
;
2221 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2222 PyObject
* obj0
= 0 ;
2224 (char *) "self", NULL
2227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 (arg1
)->AdjustScrollbars();
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2237 Py_INCREF(Py_None
); resultobj
= Py_None
;
2244 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
*resultobj
;
2246 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2247 wxScrollWinEvent
*arg2
= 0 ;
2249 PyObject
* obj0
= 0 ;
2250 PyObject
* obj1
= 0 ;
2252 (char *) "self",(char *) "event", NULL
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2259 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2262 PyErr_SetString(PyExc_TypeError
,"null reference");
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) SWIG_fail
;
2272 resultobj
= SWIG_FromInt((int)result
);
2279 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
*resultobj
;
2281 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2282 wxWindow
*arg2
= (wxWindow
*) 0 ;
2283 PyObject
* obj0
= 0 ;
2284 PyObject
* obj1
= 0 ;
2286 (char *) "self",(char *) "target", NULL
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 (arg1
)->SetTargetWindow(arg2
);
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) SWIG_fail
;
2301 Py_INCREF(Py_None
); resultobj
= Py_None
;
2308 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
*resultobj
;
2310 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2312 PyObject
* obj0
= 0 ;
2314 (char *) "self", NULL
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2328 resultobj
= wxPyMake_wxObject(result
);
2336 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2339 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2341 return Py_BuildValue((char *)"");
2343 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2344 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2349 static PyObject
*_wrap_FrameNameStr_get() {
2354 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2356 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2363 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2364 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2369 static PyObject
*_wrap_DialogNameStr_get() {
2374 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2376 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2383 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2384 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2389 static PyObject
*_wrap_StatusLineNameStr_get() {
2394 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2396 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2403 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2404 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2409 static PyObject
*_wrap_ToolBarNameStr_get() {
2414 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2416 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2423 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
*resultobj
;
2425 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2426 bool arg2
= (bool) True
;
2427 PyObject
* obj0
= 0 ;
2428 PyObject
* obj1
= 0 ;
2430 (char *) "self",(char *) "maximize", NULL
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2437 arg2
= (bool) SWIG_AsBool(obj1
);
2438 if (PyErr_Occurred()) SWIG_fail
;
2441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2442 (arg1
)->Maximize(arg2
);
2444 wxPyEndAllowThreads(__tstate
);
2445 if (PyErr_Occurred()) SWIG_fail
;
2447 Py_INCREF(Py_None
); resultobj
= Py_None
;
2454 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2455 PyObject
*resultobj
;
2456 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2457 PyObject
* obj0
= 0 ;
2459 (char *) "self", NULL
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 wxPyEndAllowThreads(__tstate
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2472 Py_INCREF(Py_None
); resultobj
= Py_None
;
2479 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2482 bool arg2
= (bool) True
;
2483 PyObject
* obj0
= 0 ;
2484 PyObject
* obj1
= 0 ;
2486 (char *) "self",(char *) "iconize", NULL
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2493 arg2
= (bool) SWIG_AsBool(obj1
);
2494 if (PyErr_Occurred()) SWIG_fail
;
2497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 (arg1
)->Iconize(arg2
);
2500 wxPyEndAllowThreads(__tstate
);
2501 if (PyErr_Occurred()) SWIG_fail
;
2503 Py_INCREF(Py_None
); resultobj
= Py_None
;
2510 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2511 PyObject
*resultobj
;
2512 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2514 PyObject
* obj0
= 0 ;
2516 (char *) "self", NULL
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",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();
2524 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2536 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2538 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2540 PyObject
* obj0
= 0 ;
2542 (char *) "self", NULL
2545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2550 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2552 wxPyEndAllowThreads(__tstate
);
2553 if (PyErr_Occurred()) SWIG_fail
;
2555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2562 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
*resultobj
;
2564 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2566 PyObject
* obj0
= 0 ;
2568 (char *) "self", NULL
2571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2576 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) SWIG_fail
;
2583 resultptr
= new wxIcon((wxIcon
&) result
);
2584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2592 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
*resultobj
;
2594 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2596 PyObject
* obj0
= 0 ;
2597 PyObject
* obj1
= 0 ;
2599 (char *) "self",(char *) "icon", NULL
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2609 PyErr_SetString(PyExc_TypeError
,"null reference");
2613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2614 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2616 wxPyEndAllowThreads(__tstate
);
2617 if (PyErr_Occurred()) SWIG_fail
;
2619 Py_INCREF(Py_None
); resultobj
= Py_None
;
2626 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2627 PyObject
*resultobj
;
2628 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2629 wxIconBundle
*arg2
= 0 ;
2630 PyObject
* obj0
= 0 ;
2631 PyObject
* obj1
= 0 ;
2633 (char *) "self",(char *) "icons", NULL
2636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2643 PyErr_SetString(PyExc_TypeError
,"null reference");
2647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2648 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2650 wxPyEndAllowThreads(__tstate
);
2651 if (PyErr_Occurred()) SWIG_fail
;
2653 Py_INCREF(Py_None
); resultobj
= Py_None
;
2660 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
*resultobj
;
2662 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2664 long arg3
= (long) wxFULLSCREEN_ALL
;
2666 PyObject
* obj0
= 0 ;
2667 PyObject
* obj1
= 0 ;
2668 PyObject
* obj2
= 0 ;
2670 (char *) "self",(char *) "show",(char *) "style", NULL
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2676 arg2
= (bool) SWIG_AsBool(obj1
);
2677 if (PyErr_Occurred()) SWIG_fail
;
2679 arg3
= (long) SWIG_AsLong(obj2
);
2680 if (PyErr_Occurred()) SWIG_fail
;
2683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2684 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2686 wxPyEndAllowThreads(__tstate
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2696 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
*resultobj
;
2698 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2700 PyObject
* obj0
= 0 ;
2702 (char *) "self", NULL
2705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2710 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2712 wxPyEndAllowThreads(__tstate
);
2713 if (PyErr_Occurred()) SWIG_fail
;
2715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2722 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
*resultobj
;
2724 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2725 wxString
*arg2
= 0 ;
2726 bool temp2
= False
;
2727 PyObject
* obj0
= 0 ;
2728 PyObject
* obj1
= 0 ;
2730 (char *) "self",(char *) "title", NULL
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2737 arg2
= wxString_in_helper(obj1
);
2738 if (arg2
== NULL
) SWIG_fail
;
2742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2743 (arg1
)->SetTitle((wxString
const &)*arg2
);
2745 wxPyEndAllowThreads(__tstate
);
2746 if (PyErr_Occurred()) SWIG_fail
;
2748 Py_INCREF(Py_None
); resultobj
= Py_None
;
2763 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
*resultobj
;
2765 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2767 PyObject
* obj0
= 0 ;
2769 (char *) "self", NULL
2772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2777 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2779 wxPyEndAllowThreads(__tstate
);
2780 if (PyErr_Occurred()) SWIG_fail
;
2784 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2786 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2795 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
*resultobj
;
2797 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2798 wxRegion
*arg2
= 0 ;
2800 PyObject
* obj0
= 0 ;
2801 PyObject
* obj1
= 0 ;
2803 (char *) "self",(char *) "region", NULL
2806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2813 PyErr_SetString(PyExc_TypeError
,"null reference");
2817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2818 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2820 wxPyEndAllowThreads(__tstate
);
2821 if (PyErr_Occurred()) SWIG_fail
;
2823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2830 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2833 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2835 return Py_BuildValue((char *)"");
2837 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
*resultobj
;
2839 wxWindow
*arg1
= (wxWindow
*) 0 ;
2841 wxString
*arg3
= 0 ;
2842 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2843 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2844 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2845 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2846 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2847 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2848 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2850 bool temp3
= False
;
2853 bool temp7
= False
;
2854 PyObject
* obj0
= 0 ;
2855 PyObject
* obj1
= 0 ;
2856 PyObject
* obj2
= 0 ;
2857 PyObject
* obj3
= 0 ;
2858 PyObject
* obj4
= 0 ;
2859 PyObject
* obj5
= 0 ;
2860 PyObject
* obj6
= 0 ;
2862 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2868 arg2
= (int const) SWIG_AsInt(obj1
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2871 arg3
= wxString_in_helper(obj2
);
2872 if (arg3
== NULL
) SWIG_fail
;
2878 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2884 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2888 arg6
= (long) SWIG_AsLong(obj5
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2893 arg7
= wxString_in_helper(obj6
);
2894 if (arg7
== NULL
) SWIG_fail
;
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2906 resultobj
= wxPyMake_wxObject(result
);
2930 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
*resultobj
;
2937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2940 result
= (wxFrame
*)new wxFrame();
2942 wxPyEndAllowThreads(__tstate
);
2943 if (PyErr_Occurred()) SWIG_fail
;
2946 resultobj
= wxPyMake_wxObject(result
);
2954 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
*resultobj
;
2956 wxFrame
*arg1
= (wxFrame
*) 0 ;
2957 wxWindow
*arg2
= (wxWindow
*) 0 ;
2959 wxString
*arg4
= 0 ;
2960 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2961 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2962 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2963 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2964 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2965 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2966 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2968 bool temp4
= False
;
2971 bool temp8
= False
;
2972 PyObject
* obj0
= 0 ;
2973 PyObject
* obj1
= 0 ;
2974 PyObject
* obj2
= 0 ;
2975 PyObject
* obj3
= 0 ;
2976 PyObject
* obj4
= 0 ;
2977 PyObject
* obj5
= 0 ;
2978 PyObject
* obj6
= 0 ;
2979 PyObject
* obj7
= 0 ;
2981 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
2986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2989 arg3
= (int const) SWIG_AsInt(obj2
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2992 arg4
= wxString_in_helper(obj3
);
2993 if (arg4
== NULL
) SWIG_fail
;
2999 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3005 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3009 arg7
= (long) SWIG_AsLong(obj6
);
3010 if (PyErr_Occurred()) SWIG_fail
;
3014 arg8
= wxString_in_helper(obj7
);
3015 if (arg8
== NULL
) SWIG_fail
;
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3021 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) SWIG_fail
;
3026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3049 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
*resultobj
;
3051 wxFrame
*arg1
= (wxFrame
*) 0 ;
3053 PyObject
* obj0
= 0 ;
3055 (char *) "self", NULL
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3063 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3065 wxPyEndAllowThreads(__tstate
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3069 wxPoint
* resultptr
;
3070 resultptr
= new wxPoint((wxPoint
&) result
);
3071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3079 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
*resultobj
;
3081 wxFrame
*arg1
= (wxFrame
*) 0 ;
3082 PyObject
* obj0
= 0 ;
3084 (char *) "self", NULL
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 (arg1
)->SendSizeEvent();
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3097 Py_INCREF(Py_None
); resultobj
= Py_None
;
3104 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
*resultobj
;
3106 wxFrame
*arg1
= (wxFrame
*) 0 ;
3107 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3108 PyObject
* obj0
= 0 ;
3109 PyObject
* obj1
= 0 ;
3111 (char *) "self",(char *) "menubar", NULL
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3121 (arg1
)->SetMenuBar(arg2
);
3123 wxPyEndAllowThreads(__tstate
);
3124 if (PyErr_Occurred()) SWIG_fail
;
3126 Py_INCREF(Py_None
); resultobj
= Py_None
;
3133 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
*resultobj
;
3135 wxFrame
*arg1
= (wxFrame
*) 0 ;
3137 PyObject
* obj0
= 0 ;
3139 (char *) "self", NULL
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3147 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3149 wxPyEndAllowThreads(__tstate
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3153 resultobj
= wxPyMake_wxObject(result
);
3161 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
*resultobj
;
3163 wxFrame
*arg1
= (wxFrame
*) 0 ;
3166 PyObject
* obj0
= 0 ;
3167 PyObject
* obj1
= 0 ;
3169 (char *) "self",(char *) "winid", NULL
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3175 arg2
= (int) SWIG_AsInt(obj1
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3191 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
*resultobj
;
3193 wxFrame
*arg1
= (wxFrame
*) 0 ;
3194 int arg2
= (int) 1 ;
3195 long arg3
= (long) wxST_SIZEGRIP
;
3196 int arg4
= (int) 0 ;
3197 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3198 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3199 wxStatusBar
*result
;
3200 bool temp5
= False
;
3201 PyObject
* obj0
= 0 ;
3202 PyObject
* obj1
= 0 ;
3203 PyObject
* obj2
= 0 ;
3204 PyObject
* obj3
= 0 ;
3205 PyObject
* obj4
= 0 ;
3207 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3214 arg2
= (int) SWIG_AsInt(obj1
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3218 arg3
= (long) SWIG_AsLong(obj2
);
3219 if (PyErr_Occurred()) SWIG_fail
;
3222 arg4
= (int) SWIG_AsInt(obj3
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3227 arg5
= wxString_in_helper(obj4
);
3228 if (arg5
== NULL
) SWIG_fail
;
3233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3234 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3236 wxPyEndAllowThreads(__tstate
);
3237 if (PyErr_Occurred()) SWIG_fail
;
3240 resultobj
= wxPyMake_wxObject(result
);
3256 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3257 PyObject
*resultobj
;
3258 wxFrame
*arg1
= (wxFrame
*) 0 ;
3259 wxStatusBar
*result
;
3260 PyObject
* obj0
= 0 ;
3262 (char *) "self", NULL
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3270 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) SWIG_fail
;
3276 resultobj
= wxPyMake_wxObject(result
);
3284 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
*resultobj
;
3286 wxFrame
*arg1
= (wxFrame
*) 0 ;
3287 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3288 PyObject
* obj0
= 0 ;
3289 PyObject
* obj1
= 0 ;
3291 (char *) "self",(char *) "statBar", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 (arg1
)->SetStatusBar(arg2
);
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 Py_INCREF(Py_None
); resultobj
= Py_None
;
3313 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3315 wxFrame
*arg1
= (wxFrame
*) 0 ;
3316 wxString
*arg2
= 0 ;
3317 int arg3
= (int) 0 ;
3318 bool temp2
= False
;
3319 PyObject
* obj0
= 0 ;
3320 PyObject
* obj1
= 0 ;
3321 PyObject
* obj2
= 0 ;
3323 (char *) "self",(char *) "text",(char *) "number", NULL
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3330 arg2
= wxString_in_helper(obj1
);
3331 if (arg2
== NULL
) SWIG_fail
;
3335 arg3
= (int) SWIG_AsInt(obj2
);
3336 if (PyErr_Occurred()) SWIG_fail
;
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 Py_INCREF(Py_None
); resultobj
= Py_None
;
3360 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
*resultobj
;
3362 wxFrame
*arg1
= (wxFrame
*) 0 ;
3364 int *arg3
= (int *) 0 ;
3365 PyObject
* obj0
= 0 ;
3366 PyObject
* obj1
= 0 ;
3368 (char *) "self",(char *) "widths", NULL
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3375 arg2
= PyList_Size(obj1
);
3376 arg3
= int_LIST_helper(obj1
);
3377 if (arg3
== NULL
) SWIG_fail
;
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3386 Py_INCREF(Py_None
); resultobj
= Py_None
;
3388 if (arg3
) delete [] arg3
;
3393 if (arg3
) delete [] arg3
;
3399 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
*resultobj
;
3401 wxFrame
*arg1
= (wxFrame
*) 0 ;
3402 wxString
*arg2
= 0 ;
3403 int arg3
= (int) 0 ;
3404 bool temp2
= False
;
3405 PyObject
* obj0
= 0 ;
3406 PyObject
* obj1
= 0 ;
3407 PyObject
* obj2
= 0 ;
3409 (char *) "self",(char *) "text",(char *) "number", NULL
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3416 arg2
= wxString_in_helper(obj1
);
3417 if (arg2
== NULL
) SWIG_fail
;
3421 arg3
= (int) SWIG_AsInt(obj2
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3426 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3428 wxPyEndAllowThreads(__tstate
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3431 Py_INCREF(Py_None
); resultobj
= Py_None
;
3446 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
;
3448 wxFrame
*arg1
= (wxFrame
*) 0 ;
3449 int arg2
= (int) 0 ;
3450 PyObject
* obj0
= 0 ;
3451 PyObject
* obj1
= 0 ;
3453 (char *) "self",(char *) "number", NULL
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3460 arg2
= (int) SWIG_AsInt(obj1
);
3461 if (PyErr_Occurred()) SWIG_fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 (arg1
)->PopStatusText(arg2
);
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3470 Py_INCREF(Py_None
); resultobj
= Py_None
;
3477 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
*resultobj
;
3479 wxFrame
*arg1
= (wxFrame
*) 0 ;
3481 PyObject
* obj0
= 0 ;
3482 PyObject
* obj1
= 0 ;
3484 (char *) "self",(char *) "n", NULL
3487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3490 arg2
= (int) SWIG_AsInt(obj1
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 (arg1
)->SetStatusBarPane(arg2
);
3496 wxPyEndAllowThreads(__tstate
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3499 Py_INCREF(Py_None
); resultobj
= Py_None
;
3506 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
*resultobj
;
3508 wxFrame
*arg1
= (wxFrame
*) 0 ;
3510 PyObject
* obj0
= 0 ;
3512 (char *) "self", NULL
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3520 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3525 resultobj
= SWIG_FromInt((int)result
);
3532 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxFrame
*arg1
= (wxFrame
*) 0 ;
3535 long arg2
= (long) -1 ;
3536 int arg3
= (int) -1 ;
3537 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3538 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3540 bool temp4
= False
;
3541 PyObject
* obj0
= 0 ;
3542 PyObject
* obj1
= 0 ;
3543 PyObject
* obj2
= 0 ;
3544 PyObject
* obj3
= 0 ;
3546 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3553 arg2
= (long) SWIG_AsLong(obj1
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3557 arg3
= (int) SWIG_AsInt(obj2
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3562 arg4
= wxString_in_helper(obj3
);
3563 if (arg4
== NULL
) SWIG_fail
;
3568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3569 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3571 wxPyEndAllowThreads(__tstate
);
3572 if (PyErr_Occurred()) SWIG_fail
;
3575 resultobj
= wxPyMake_wxObject(result
);
3591 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
*resultobj
;
3593 wxFrame
*arg1
= (wxFrame
*) 0 ;
3595 PyObject
* obj0
= 0 ;
3597 (char *) "self", NULL
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3611 resultobj
= wxPyMake_wxObject(result
);
3619 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
*resultobj
;
3621 wxFrame
*arg1
= (wxFrame
*) 0 ;
3622 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3623 PyObject
* obj0
= 0 ;
3624 PyObject
* obj1
= 0 ;
3626 (char *) "self",(char *) "toolbar", NULL
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 (arg1
)->SetToolBar(arg2
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3641 Py_INCREF(Py_None
); resultobj
= Py_None
;
3648 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3650 wxFrame
*arg1
= (wxFrame
*) 0 ;
3651 wxString
*arg2
= 0 ;
3653 bool temp2
= False
;
3654 PyObject
* obj0
= 0 ;
3655 PyObject
* obj1
= 0 ;
3656 PyObject
* obj2
= 0 ;
3658 (char *) "self",(char *) "text",(char *) "show", NULL
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3665 arg2
= wxString_in_helper(obj1
);
3666 if (arg2
== NULL
) SWIG_fail
;
3669 arg3
= (bool) SWIG_AsBool(obj2
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3678 Py_INCREF(Py_None
); resultobj
= Py_None
;
3693 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
*resultobj
;
3695 wxFrame
*arg1
= (wxFrame
*) 0 ;
3696 wxMenu
*arg2
= (wxMenu
*) NULL
;
3697 PyObject
* obj0
= 0 ;
3698 PyObject
* obj1
= 0 ;
3700 (char *) "self",(char *) "menu", NULL
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 (arg1
)->DoMenuUpdates(arg2
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 Py_INCREF(Py_None
); resultobj
= Py_None
;
3724 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3727 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3729 return Py_BuildValue((char *)"");
3731 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
*resultobj
;
3733 wxWindow
*arg1
= (wxWindow
*) 0 ;
3735 wxString
*arg3
= 0 ;
3736 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3737 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3738 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3739 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3740 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3741 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3742 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3744 bool temp3
= False
;
3747 bool temp7
= False
;
3748 PyObject
* obj0
= 0 ;
3749 PyObject
* obj1
= 0 ;
3750 PyObject
* obj2
= 0 ;
3751 PyObject
* obj3
= 0 ;
3752 PyObject
* obj4
= 0 ;
3753 PyObject
* obj5
= 0 ;
3754 PyObject
* obj6
= 0 ;
3756 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3762 arg2
= (int const) SWIG_AsInt(obj1
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 arg3
= wxString_in_helper(obj2
);
3766 if (arg3
== NULL
) SWIG_fail
;
3772 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3778 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3782 arg6
= (long) SWIG_AsLong(obj5
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3787 arg7
= wxString_in_helper(obj6
);
3788 if (arg7
== NULL
) SWIG_fail
;
3793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3796 wxPyEndAllowThreads(__tstate
);
3797 if (PyErr_Occurred()) SWIG_fail
;
3799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3822 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
;
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3832 result
= (wxDialog
*)new wxDialog();
3834 wxPyEndAllowThreads(__tstate
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3844 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
*resultobj
;
3846 wxDialog
*arg1
= (wxDialog
*) 0 ;
3847 wxWindow
*arg2
= (wxWindow
*) 0 ;
3849 wxString
*arg4
= 0 ;
3850 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3851 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3852 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3853 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3854 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3855 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3856 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3858 bool temp4
= False
;
3861 bool temp8
= False
;
3862 PyObject
* obj0
= 0 ;
3863 PyObject
* obj1
= 0 ;
3864 PyObject
* obj2
= 0 ;
3865 PyObject
* obj3
= 0 ;
3866 PyObject
* obj4
= 0 ;
3867 PyObject
* obj5
= 0 ;
3868 PyObject
* obj6
= 0 ;
3869 PyObject
* obj7
= 0 ;
3871 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
3876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3879 arg3
= (int const) SWIG_AsInt(obj2
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 arg4
= wxString_in_helper(obj3
);
3883 if (arg4
== NULL
) SWIG_fail
;
3889 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3895 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3899 arg7
= (long) SWIG_AsLong(obj6
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3904 arg8
= wxString_in_helper(obj7
);
3905 if (arg8
== NULL
) SWIG_fail
;
3910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3911 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3913 wxPyEndAllowThreads(__tstate
);
3914 if (PyErr_Occurred()) SWIG_fail
;
3916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3939 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3941 wxDialog
*arg1
= (wxDialog
*) 0 ;
3943 PyObject
* obj0
= 0 ;
3944 PyObject
* obj1
= 0 ;
3946 (char *) "self",(char *) "returnCode", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
3950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
3951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3952 arg2
= (int) SWIG_AsInt(obj1
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 (arg1
)->SetReturnCode(arg2
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3961 Py_INCREF(Py_None
); resultobj
= Py_None
;
3968 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
*resultobj
;
3970 wxDialog
*arg1
= (wxDialog
*) 0 ;
3972 PyObject
* obj0
= 0 ;
3974 (char *) "self", NULL
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
3978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
3979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 resultobj
= SWIG_FromInt((int)result
);
3994 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxDialog
*arg1
= (wxDialog
*) 0 ;
3997 wxString
*arg2
= 0 ;
3999 bool temp2
= False
;
4000 PyObject
* obj0
= 0 ;
4001 PyObject
* obj1
= 0 ;
4003 (char *) "self",(char *) "message", NULL
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4010 arg2
= wxString_in_helper(obj1
);
4011 if (arg2
== NULL
) SWIG_fail
;
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) SWIG_fail
;
4022 resultobj
= wxPyMake_wxSizer(result
);
4038 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
*resultobj
;
4040 wxDialog
*arg1
= (wxDialog
*) 0 ;
4043 PyObject
* obj0
= 0 ;
4044 PyObject
* obj1
= 0 ;
4046 (char *) "self",(char *) "flags", NULL
4049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4052 arg2
= (long) SWIG_AsLong(obj1
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4062 resultobj
= wxPyMake_wxSizer(result
);
4070 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4071 PyObject
*resultobj
;
4072 wxDialog
*arg1
= (wxDialog
*) 0 ;
4074 PyObject
* obj0
= 0 ;
4076 (char *) "self", NULL
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4096 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
*resultobj
;
4098 wxDialog
*arg1
= (wxDialog
*) 0 ;
4100 PyObject
* obj0
= 0 ;
4102 (char *) "self", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 result
= (int)(arg1
)->ShowModal();
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4115 resultobj
= SWIG_FromInt((int)result
);
4122 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
*resultobj
;
4124 wxDialog
*arg1
= (wxDialog
*) 0 ;
4126 PyObject
* obj0
= 0 ;
4127 PyObject
* obj1
= 0 ;
4129 (char *) "self",(char *) "retCode", NULL
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4135 arg2
= (int) SWIG_AsInt(obj1
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 (arg1
)->EndModal(arg2
);
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 Py_INCREF(Py_None
); resultobj
= Py_None
;
4151 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
;
4153 wxDialog
*arg1
= (wxDialog
*) 0 ;
4155 PyObject
* obj0
= 0 ;
4157 (char *) "self", NULL
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4165 result
= (bool)wxDialog_IsModalShowing(arg1
);
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4177 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4180 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4182 return Py_BuildValue((char *)"");
4184 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4186 wxWindow
*arg1
= (wxWindow
*) 0 ;
4188 wxString
*arg3
= 0 ;
4189 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4190 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4191 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4192 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4193 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4194 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4195 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4196 wxMiniFrame
*result
;
4197 bool temp3
= False
;
4200 bool temp7
= False
;
4201 PyObject
* obj0
= 0 ;
4202 PyObject
* obj1
= 0 ;
4203 PyObject
* obj2
= 0 ;
4204 PyObject
* obj3
= 0 ;
4205 PyObject
* obj4
= 0 ;
4206 PyObject
* obj5
= 0 ;
4207 PyObject
* obj6
= 0 ;
4209 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4215 arg2
= (int const) SWIG_AsInt(obj1
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 arg3
= wxString_in_helper(obj2
);
4219 if (arg3
== NULL
) SWIG_fail
;
4225 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4231 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4235 arg6
= (long) SWIG_AsLong(obj5
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4240 arg7
= wxString_in_helper(obj6
);
4241 if (arg7
== NULL
) SWIG_fail
;
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4275 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
;
4277 wxMiniFrame
*result
;
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4285 result
= (wxMiniFrame
*)new wxMiniFrame();
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) SWIG_fail
;
4290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4297 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
*resultobj
;
4299 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4300 wxWindow
*arg2
= (wxWindow
*) 0 ;
4302 wxString
*arg4
= 0 ;
4303 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4304 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4305 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4306 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4307 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4308 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4309 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4311 bool temp4
= False
;
4314 bool temp8
= False
;
4315 PyObject
* obj0
= 0 ;
4316 PyObject
* obj1
= 0 ;
4317 PyObject
* obj2
= 0 ;
4318 PyObject
* obj3
= 0 ;
4319 PyObject
* obj4
= 0 ;
4320 PyObject
* obj5
= 0 ;
4321 PyObject
* obj6
= 0 ;
4322 PyObject
* obj7
= 0 ;
4324 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4332 arg3
= (int const) SWIG_AsInt(obj2
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4335 arg4
= wxString_in_helper(obj3
);
4336 if (arg4
== NULL
) SWIG_fail
;
4342 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4348 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4352 arg7
= (long) SWIG_AsLong(obj6
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4357 arg8
= wxString_in_helper(obj7
);
4358 if (arg8
== NULL
) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4392 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4395 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4397 return Py_BuildValue((char *)"");
4399 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
;
4401 wxBitmap
*arg1
= 0 ;
4402 wxWindow
*arg2
= (wxWindow
*) 0 ;
4404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4408 long arg6
= (long) wxNO_BORDER
;
4409 wxSplashScreenWindow
*result
;
4412 PyObject
* obj0
= 0 ;
4413 PyObject
* obj1
= 0 ;
4414 PyObject
* obj2
= 0 ;
4415 PyObject
* obj3
= 0 ;
4416 PyObject
* obj4
= 0 ;
4417 PyObject
* obj5
= 0 ;
4419 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4427 PyErr_SetString(PyExc_TypeError
,"null reference");
4430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4432 arg3
= (int) SWIG_AsInt(obj2
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4437 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4443 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4447 arg6
= (long) SWIG_AsLong(obj5
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4464 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4467 wxBitmap
*arg2
= 0 ;
4468 PyObject
* obj0
= 0 ;
4469 PyObject
* obj1
= 0 ;
4471 (char *) "self",(char *) "bitmap", NULL
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4481 PyErr_SetString(PyExc_TypeError
,"null reference");
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) SWIG_fail
;
4491 Py_INCREF(Py_None
); resultobj
= Py_None
;
4498 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
*resultobj
;
4500 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4502 PyObject
* obj0
= 0 ;
4504 (char *) "self", NULL
4507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4514 result
= (wxBitmap
*) &_result_ref
;
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
4527 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4530 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4532 return Py_BuildValue((char *)"");
4534 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
*resultobj
;
4536 wxBitmap
*arg1
= 0 ;
4539 wxWindow
*arg4
= (wxWindow
*) 0 ;
4541 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4542 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4543 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4544 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4545 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4546 wxSplashScreen
*result
;
4549 PyObject
* obj0
= 0 ;
4550 PyObject
* obj1
= 0 ;
4551 PyObject
* obj2
= 0 ;
4552 PyObject
* obj3
= 0 ;
4553 PyObject
* obj4
= 0 ;
4554 PyObject
* obj5
= 0 ;
4555 PyObject
* obj6
= 0 ;
4556 PyObject
* obj7
= 0 ;
4558 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4566 PyErr_SetString(PyExc_TypeError
,"null reference");
4569 arg2
= (long) SWIG_AsLong(obj1
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4571 arg3
= (int) SWIG_AsInt(obj2
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4573 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4575 arg5
= (int) SWIG_AsInt(obj4
);
4576 if (PyErr_Occurred()) SWIG_fail
;
4580 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4586 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4590 arg8
= (long) SWIG_AsLong(obj7
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4595 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4597 wxPyEndAllowThreads(__tstate
);
4598 if (PyErr_Occurred()) SWIG_fail
;
4600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4607 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
*resultobj
;
4609 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4611 PyObject
* obj0
= 0 ;
4613 (char *) "self", NULL
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4626 resultobj
= SWIG_FromLong((long)result
);
4633 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
;
4635 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4636 wxSplashScreenWindow
*result
;
4637 PyObject
* obj0
= 0 ;
4639 (char *) "self", NULL
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4647 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4659 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4663 PyObject
* obj0
= 0 ;
4665 (char *) "self", NULL
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4675 wxPyEndAllowThreads(__tstate
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4678 resultobj
= SWIG_FromInt((int)result
);
4685 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4688 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4690 return Py_BuildValue((char *)"");
4692 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
*resultobj
;
4694 wxWindow
*arg1
= (wxWindow
*) 0 ;
4695 int arg2
= (int) -1 ;
4696 long arg3
= (long) wxST_SIZEGRIP
;
4697 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4698 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4699 wxStatusBar
*result
;
4700 bool temp4
= False
;
4701 PyObject
* obj0
= 0 ;
4702 PyObject
* obj1
= 0 ;
4703 PyObject
* obj2
= 0 ;
4704 PyObject
* obj3
= 0 ;
4706 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4713 arg2
= (int) SWIG_AsInt(obj1
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4717 arg3
= (long) SWIG_AsLong(obj2
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4722 arg4
= wxString_in_helper(obj3
);
4723 if (arg4
== NULL
) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= wxPyMake_wxObject(result
);
4751 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
*resultobj
;
4753 wxStatusBar
*result
;
4758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 result
= (wxStatusBar
*)new wxStatusBar();
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4767 resultobj
= wxPyMake_wxObject(result
);
4775 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
*resultobj
;
4777 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4778 wxWindow
*arg2
= (wxWindow
*) 0 ;
4780 long arg4
= (long) wxST_SIZEGRIP
;
4781 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4782 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4784 bool temp5
= False
;
4785 PyObject
* obj0
= 0 ;
4786 PyObject
* obj1
= 0 ;
4787 PyObject
* obj2
= 0 ;
4788 PyObject
* obj3
= 0 ;
4789 PyObject
* obj4
= 0 ;
4791 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4799 arg3
= (int) SWIG_AsInt(obj2
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4802 arg4
= (long) SWIG_AsLong(obj3
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4807 arg5
= wxString_in_helper(obj4
);
4808 if (arg5
== NULL
) SWIG_fail
;
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4834 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
*resultobj
;
4836 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4837 int arg2
= (int) 1 ;
4838 PyObject
* obj0
= 0 ;
4839 PyObject
* obj1
= 0 ;
4841 (char *) "self",(char *) "number", NULL
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4848 arg2
= (int) SWIG_AsInt(obj1
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 (arg1
)->SetFieldsCount(arg2
);
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 Py_INCREF(Py_None
); resultobj
= Py_None
;
4865 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4869 PyObject
* obj0
= 0 ;
4871 (char *) "self", NULL
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4884 resultobj
= SWIG_FromInt((int)result
);
4891 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
*resultobj
;
4893 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4894 wxString
*arg2
= 0 ;
4895 int arg3
= (int) 0 ;
4896 bool temp2
= False
;
4897 PyObject
* obj0
= 0 ;
4898 PyObject
* obj1
= 0 ;
4899 PyObject
* obj2
= 0 ;
4901 (char *) "self",(char *) "text",(char *) "number", NULL
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4908 arg2
= wxString_in_helper(obj1
);
4909 if (arg2
== NULL
) SWIG_fail
;
4913 arg3
= (int) SWIG_AsInt(obj2
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4923 Py_INCREF(Py_None
); resultobj
= Py_None
;
4938 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
;
4940 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4941 int arg2
= (int) 0 ;
4943 PyObject
* obj0
= 0 ;
4944 PyObject
* obj1
= 0 ;
4946 (char *) "self",(char *) "number", NULL
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
4950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4953 arg2
= (int) SWIG_AsInt(obj1
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4976 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
*resultobj
;
4978 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4979 wxString
*arg2
= 0 ;
4980 int arg3
= (int) 0 ;
4981 bool temp2
= False
;
4982 PyObject
* obj0
= 0 ;
4983 PyObject
* obj1
= 0 ;
4984 PyObject
* obj2
= 0 ;
4986 (char *) "self",(char *) "text",(char *) "number", NULL
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4993 arg2
= wxString_in_helper(obj1
);
4994 if (arg2
== NULL
) SWIG_fail
;
4998 arg3
= (int) SWIG_AsInt(obj2
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 Py_INCREF(Py_None
); resultobj
= Py_None
;
5023 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5026 int arg2
= (int) 0 ;
5027 PyObject
* obj0
= 0 ;
5028 PyObject
* obj1
= 0 ;
5030 (char *) "self",(char *) "number", NULL
5033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5037 arg2
= (int) SWIG_AsInt(obj1
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 (arg1
)->PopStatusText(arg2
);
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5047 Py_INCREF(Py_None
); resultobj
= Py_None
;
5054 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
*resultobj
;
5056 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5058 int *arg3
= (int *) 0 ;
5059 PyObject
* obj0
= 0 ;
5060 PyObject
* obj1
= 0 ;
5062 (char *) "self",(char *) "widths", NULL
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5069 arg2
= PyList_Size(obj1
);
5070 arg3
= int_LIST_helper(obj1
);
5071 if (arg3
== NULL
) SWIG_fail
;
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 Py_INCREF(Py_None
); resultobj
= Py_None
;
5082 if (arg3
) delete [] arg3
;
5087 if (arg3
) delete [] arg3
;
5093 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
;
5095 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5098 PyObject
* obj0
= 0 ;
5099 PyObject
* obj1
= 0 ;
5101 (char *) "self",(char *) "i", NULL
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5107 arg2
= (int) SWIG_AsInt(obj1
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5118 resultptr
= new wxRect((wxRect
&) result
);
5119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5127 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
;
5129 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5131 PyObject
* obj0
= 0 ;
5132 PyObject
* obj1
= 0 ;
5134 (char *) "self",(char *) "height", NULL
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5140 arg2
= (int) SWIG_AsInt(obj1
);
5141 if (PyErr_Occurred()) SWIG_fail
;
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 (arg1
)->SetMinHeight(arg2
);
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5149 Py_INCREF(Py_None
); resultobj
= Py_None
;
5156 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
*resultobj
;
5158 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5160 PyObject
* obj0
= 0 ;
5162 (char *) "self", NULL
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5175 resultobj
= SWIG_FromInt((int)result
);
5182 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
*resultobj
;
5184 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5186 PyObject
* obj0
= 0 ;
5188 (char *) "self", NULL
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5201 resultobj
= SWIG_FromInt((int)result
);
5208 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5211 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5213 return Py_BuildValue((char *)"");
5215 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5216 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5221 static PyObject
*_wrap_SplitterNameStr_get() {
5226 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5228 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5235 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
;
5237 wxWindow
*arg1
= (wxWindow
*) 0 ;
5239 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5240 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5241 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5242 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5243 long arg5
= (long) wxSP_3D
;
5244 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5245 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5246 wxSplitterWindow
*result
;
5249 bool temp6
= False
;
5250 PyObject
* obj0
= 0 ;
5251 PyObject
* obj1
= 0 ;
5252 PyObject
* obj2
= 0 ;
5253 PyObject
* obj3
= 0 ;
5254 PyObject
* obj4
= 0 ;
5255 PyObject
* obj5
= 0 ;
5257 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5263 arg2
= (int) SWIG_AsInt(obj1
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5268 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5274 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5278 arg5
= (long) SWIG_AsLong(obj4
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5283 arg6
= wxString_in_helper(obj5
);
5284 if (arg6
== NULL
) SWIG_fail
;
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5310 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
;
5312 wxSplitterWindow
*result
;
5317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5332 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
*resultobj
;
5334 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5335 wxWindow
*arg2
= (wxWindow
*) 0 ;
5337 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5338 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5339 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5340 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5341 long arg6
= (long) wxSP_3D
;
5342 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5343 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5347 bool temp7
= False
;
5348 PyObject
* obj0
= 0 ;
5349 PyObject
* obj1
= 0 ;
5350 PyObject
* obj2
= 0 ;
5351 PyObject
* obj3
= 0 ;
5352 PyObject
* obj4
= 0 ;
5353 PyObject
* obj5
= 0 ;
5354 PyObject
* obj6
= 0 ;
5356 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5364 arg3
= (int) SWIG_AsInt(obj2
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5369 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5375 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5379 arg6
= (long) SWIG_AsLong(obj5
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5384 arg7
= wxString_in_helper(obj6
);
5385 if (arg7
== NULL
) SWIG_fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5411 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
;
5413 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5415 PyObject
* obj0
= 0 ;
5417 (char *) "self", NULL
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5431 resultobj
= wxPyMake_wxObject(result
);
5439 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5443 PyObject
* obj0
= 0 ;
5445 (char *) "self", NULL
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5459 resultobj
= wxPyMake_wxObject(result
);
5467 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
*resultobj
;
5469 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5471 PyObject
* obj0
= 0 ;
5472 PyObject
* obj1
= 0 ;
5474 (char *) "self",(char *) "mode", NULL
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5480 arg2
= (int) SWIG_AsInt(obj1
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 (arg1
)->SetSplitMode(arg2
);
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5489 Py_INCREF(Py_None
); resultobj
= Py_None
;
5496 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, 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_GetSplitMode",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
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5515 resultobj
= SWIG_FromInt((int)result
);
5522 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
*resultobj
;
5524 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5525 wxWindow
*arg2
= (wxWindow
*) 0 ;
5526 PyObject
* obj0
= 0 ;
5527 PyObject
* obj1
= 0 ;
5529 (char *) "self",(char *) "window", NULL
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5539 (arg1
)->Initialize(arg2
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5544 Py_INCREF(Py_None
); resultobj
= Py_None
;
5551 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
;
5553 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5554 wxWindow
*arg2
= (wxWindow
*) 0 ;
5555 wxWindow
*arg3
= (wxWindow
*) 0 ;
5556 int arg4
= (int) 0 ;
5558 PyObject
* obj0
= 0 ;
5559 PyObject
* obj1
= 0 ;
5560 PyObject
* obj2
= 0 ;
5561 PyObject
* obj3
= 0 ;
5563 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5571 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5574 arg4
= (int) SWIG_AsInt(obj3
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5579 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5591 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
*resultobj
;
5593 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5594 wxWindow
*arg2
= (wxWindow
*) 0 ;
5595 wxWindow
*arg3
= (wxWindow
*) 0 ;
5596 int arg4
= (int) 0 ;
5598 PyObject
* obj0
= 0 ;
5599 PyObject
* obj1
= 0 ;
5600 PyObject
* obj2
= 0 ;
5601 PyObject
* obj3
= 0 ;
5603 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5611 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5614 arg4
= (int) SWIG_AsInt(obj3
);
5615 if (PyErr_Occurred()) SWIG_fail
;
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) SWIG_fail
;
5624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5631 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
*resultobj
;
5633 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5634 wxWindow
*arg2
= (wxWindow
*) NULL
;
5636 PyObject
* obj0
= 0 ;
5637 PyObject
* obj1
= 0 ;
5639 (char *) "self",(char *) "toRemove", NULL
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 result
= (bool)(arg1
)->Unsplit(arg2
);
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) SWIG_fail
;
5656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5663 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5664 PyObject
*resultobj
;
5665 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5666 wxWindow
*arg2
= (wxWindow
*) 0 ;
5667 wxWindow
*arg3
= (wxWindow
*) 0 ;
5669 PyObject
* obj0
= 0 ;
5670 PyObject
* obj1
= 0 ;
5671 PyObject
* obj2
= 0 ;
5673 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5681 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5697 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
;
5699 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5701 PyObject
* obj0
= 0 ;
5703 (char *) "self", NULL
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5723 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
*resultobj
;
5725 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5727 PyObject
* obj0
= 0 ;
5728 PyObject
* obj1
= 0 ;
5730 (char *) "self",(char *) "width", NULL
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5736 arg2
= (int) SWIG_AsInt(obj1
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 (arg1
)->SetSashSize(arg2
);
5742 wxPyEndAllowThreads(__tstate
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5745 Py_INCREF(Py_None
); resultobj
= Py_None
;
5752 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
*resultobj
;
5754 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5756 PyObject
* obj0
= 0 ;
5757 PyObject
* obj1
= 0 ;
5759 (char *) "self",(char *) "width", NULL
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5765 arg2
= (int) SWIG_AsInt(obj1
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 (arg1
)->SetBorderSize(arg2
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5774 Py_INCREF(Py_None
); resultobj
= Py_None
;
5781 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
*resultobj
;
5783 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5785 PyObject
* obj0
= 0 ;
5787 (char *) "self", NULL
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5800 resultobj
= SWIG_FromInt((int)result
);
5807 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
*resultobj
;
5809 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5811 PyObject
* obj0
= 0 ;
5813 (char *) "self", NULL
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 resultobj
= SWIG_FromInt((int)result
);
5833 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5837 bool arg3
= (bool) True
;
5838 PyObject
* obj0
= 0 ;
5839 PyObject
* obj1
= 0 ;
5840 PyObject
* obj2
= 0 ;
5842 (char *) "self",(char *) "position",(char *) "redraw", NULL
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5848 arg2
= (int) SWIG_AsInt(obj1
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 arg3
= (bool) SWIG_AsBool(obj2
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 (arg1
)->SetSashPosition(arg2
,arg3
);
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5861 Py_INCREF(Py_None
); resultobj
= Py_None
;
5868 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
;
5870 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5872 PyObject
* obj0
= 0 ;
5874 (char *) "self", NULL
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5887 resultobj
= SWIG_FromInt((int)result
);
5894 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
;
5896 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5898 PyObject
* obj0
= 0 ;
5899 PyObject
* obj1
= 0 ;
5901 (char *) "self",(char *) "min", NULL
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5907 arg2
= (int) SWIG_AsInt(obj1
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 (arg1
)->SetMinimumPaneSize(arg2
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 Py_INCREF(Py_None
); resultobj
= Py_None
;
5923 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5925 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5927 PyObject
* obj0
= 0 ;
5929 (char *) "self", NULL
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= SWIG_FromInt((int)result
);
5949 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
;
5951 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5954 int arg4
= (int) 5 ;
5956 PyObject
* obj0
= 0 ;
5957 PyObject
* obj1
= 0 ;
5958 PyObject
* obj2
= 0 ;
5959 PyObject
* obj3
= 0 ;
5961 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5967 arg2
= (int) SWIG_AsInt(obj1
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5969 arg3
= (int) SWIG_AsInt(obj2
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 arg4
= (int) SWIG_AsInt(obj3
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5989 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
*resultobj
;
5991 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5992 PyObject
* obj0
= 0 ;
5994 (char *) "self", NULL
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
5998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 (arg1
)->SizeWindows();
6004 wxPyEndAllowThreads(__tstate
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6007 Py_INCREF(Py_None
); resultobj
= Py_None
;
6014 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
*resultobj
;
6016 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6018 PyObject
* obj0
= 0 ;
6019 PyObject
* obj1
= 0 ;
6021 (char *) "self",(char *) "needUpdating", NULL
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6027 arg2
= (bool) SWIG_AsBool(obj1
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 (arg1
)->SetNeedUpdating(arg2
);
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6036 Py_INCREF(Py_None
); resultobj
= Py_None
;
6043 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
;
6045 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6047 PyObject
* obj0
= 0 ;
6049 (char *) "self", NULL
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6069 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6072 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6074 return Py_BuildValue((char *)"");
6076 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
*resultobj
;
6078 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6079 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6080 wxSplitterEvent
*result
;
6081 PyObject
* obj0
= 0 ;
6082 PyObject
* obj1
= 0 ;
6084 (char *) "type",(char *) "splitter", NULL
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6089 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6110 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
;
6112 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6114 PyObject
* obj0
= 0 ;
6115 PyObject
* obj1
= 0 ;
6117 (char *) "self",(char *) "pos", NULL
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6123 arg2
= (int) SWIG_AsInt(obj1
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6127 (arg1
)->SetSashPosition(arg2
);
6129 wxPyEndAllowThreads(__tstate
);
6130 if (PyErr_Occurred()) SWIG_fail
;
6132 Py_INCREF(Py_None
); resultobj
= Py_None
;
6139 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
*resultobj
;
6141 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6143 PyObject
* obj0
= 0 ;
6145 (char *) "self", NULL
6148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) SWIG_fail
;
6158 resultobj
= SWIG_FromInt((int)result
);
6165 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6166 PyObject
*resultobj
;
6167 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6169 PyObject
* obj0
= 0 ;
6171 (char *) "self", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6185 resultobj
= wxPyMake_wxObject(result
);
6193 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
;
6195 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6197 PyObject
* obj0
= 0 ;
6199 (char *) "self", NULL
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= SWIG_FromInt((int)result
);
6219 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6223 PyObject
* obj0
= 0 ;
6225 (char *) "self", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6238 resultobj
= SWIG_FromInt((int)result
);
6245 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6248 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6250 return Py_BuildValue((char *)"");
6252 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6253 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6258 static PyObject
*_wrap_SashNameStr_get() {
6263 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6265 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6272 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6273 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6278 static PyObject
*_wrap_SashLayoutNameStr_get() {
6283 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6285 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6292 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6294 wxWindow
*arg1
= (wxWindow
*) 0 ;
6296 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6297 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6298 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6299 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6300 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6301 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6302 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6303 wxSashWindow
*result
;
6306 bool temp6
= False
;
6307 PyObject
* obj0
= 0 ;
6308 PyObject
* obj1
= 0 ;
6309 PyObject
* obj2
= 0 ;
6310 PyObject
* obj3
= 0 ;
6311 PyObject
* obj4
= 0 ;
6312 PyObject
* obj5
= 0 ;
6314 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6320 arg2
= (int) SWIG_AsInt(obj1
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6325 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6331 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6335 arg5
= (long) SWIG_AsLong(obj4
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6340 arg6
= wxString_in_helper(obj5
);
6341 if (arg6
== NULL
) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6367 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
;
6369 wxSashWindow
*result
;
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (wxSashWindow
*)new wxSashWindow();
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6389 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6392 wxWindow
*arg2
= (wxWindow
*) 0 ;
6394 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6395 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6396 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6397 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6398 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6399 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6400 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6404 bool temp7
= False
;
6405 PyObject
* obj0
= 0 ;
6406 PyObject
* obj1
= 0 ;
6407 PyObject
* obj2
= 0 ;
6408 PyObject
* obj3
= 0 ;
6409 PyObject
* obj4
= 0 ;
6410 PyObject
* obj5
= 0 ;
6411 PyObject
* obj6
= 0 ;
6413 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6421 arg3
= (int) SWIG_AsInt(obj2
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6432 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6436 arg6
= (long) SWIG_AsLong(obj5
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6441 arg7
= wxString_in_helper(obj6
);
6442 if (arg7
== NULL
) SWIG_fail
;
6447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6450 wxPyEndAllowThreads(__tstate
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6468 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
*resultobj
;
6470 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6473 PyObject
* obj0
= 0 ;
6474 PyObject
* obj1
= 0 ;
6475 PyObject
* obj2
= 0 ;
6477 (char *) "self",(char *) "edge",(char *) "sash", NULL
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6483 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6484 if (PyErr_Occurred()) SWIG_fail
;
6485 arg3
= (bool) SWIG_AsBool(obj2
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6494 Py_INCREF(Py_None
); resultobj
= Py_None
;
6501 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
*resultobj
;
6503 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6506 PyObject
* obj0
= 0 ;
6507 PyObject
* obj1
= 0 ;
6509 (char *) "self",(char *) "edge", NULL
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6515 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6531 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
*resultobj
;
6533 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6536 PyObject
* obj0
= 0 ;
6537 PyObject
* obj1
= 0 ;
6538 PyObject
* obj2
= 0 ;
6540 (char *) "self",(char *) "edge",(char *) "border", NULL
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6546 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6548 arg3
= (bool) SWIG_AsBool(obj2
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6557 Py_INCREF(Py_None
); resultobj
= Py_None
;
6564 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
*resultobj
;
6566 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6569 PyObject
* obj0
= 0 ;
6570 PyObject
* obj1
= 0 ;
6572 (char *) "self",(char *) "edge", NULL
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6578 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6594 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
;
6596 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6599 PyObject
* obj0
= 0 ;
6600 PyObject
* obj1
= 0 ;
6602 (char *) "self",(char *) "edge", NULL
6605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6608 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6614 wxPyEndAllowThreads(__tstate
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= SWIG_FromInt((int)result
);
6624 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6625 PyObject
*resultobj
;
6626 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6628 PyObject
* obj0
= 0 ;
6629 PyObject
* obj1
= 0 ;
6631 (char *) "self",(char *) "width", NULL
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6637 arg2
= (int) SWIG_AsInt(obj1
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 (arg1
)->SetDefaultBorderSize(arg2
);
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6646 Py_INCREF(Py_None
); resultobj
= Py_None
;
6653 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
*resultobj
;
6655 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6657 PyObject
* obj0
= 0 ;
6659 (char *) "self", NULL
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= SWIG_FromInt((int)result
);
6679 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
;
6681 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6683 PyObject
* obj0
= 0 ;
6684 PyObject
* obj1
= 0 ;
6686 (char *) "self",(char *) "width", NULL
6689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6692 arg2
= (int) SWIG_AsInt(obj1
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 (arg1
)->SetExtraBorderSize(arg2
);
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6701 Py_INCREF(Py_None
); resultobj
= Py_None
;
6708 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
*resultobj
;
6710 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6712 PyObject
* obj0
= 0 ;
6714 (char *) "self", NULL
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) SWIG_fail
;
6727 resultobj
= SWIG_FromInt((int)result
);
6734 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
*resultobj
;
6736 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6738 PyObject
* obj0
= 0 ;
6739 PyObject
* obj1
= 0 ;
6741 (char *) "self",(char *) "min", NULL
6744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6747 arg2
= (int) SWIG_AsInt(obj1
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 (arg1
)->SetMinimumSizeX(arg2
);
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6756 Py_INCREF(Py_None
); resultobj
= Py_None
;
6763 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
*resultobj
;
6765 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6767 PyObject
* obj0
= 0 ;
6768 PyObject
* obj1
= 0 ;
6770 (char *) "self",(char *) "min", NULL
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6776 arg2
= (int) SWIG_AsInt(obj1
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 (arg1
)->SetMinimumSizeY(arg2
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 Py_INCREF(Py_None
); resultobj
= Py_None
;
6792 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
;
6794 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6796 PyObject
* obj0
= 0 ;
6798 (char *) "self", NULL
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6808 wxPyEndAllowThreads(__tstate
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6811 resultobj
= SWIG_FromInt((int)result
);
6818 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
*resultobj
;
6820 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6822 PyObject
* obj0
= 0 ;
6824 (char *) "self", NULL
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) SWIG_fail
;
6837 resultobj
= SWIG_FromInt((int)result
);
6844 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
;
6846 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6848 PyObject
* obj0
= 0 ;
6849 PyObject
* obj1
= 0 ;
6851 (char *) "self",(char *) "max", NULL
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6857 arg2
= (int) SWIG_AsInt(obj1
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 (arg1
)->SetMaximumSizeX(arg2
);
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6866 Py_INCREF(Py_None
); resultobj
= Py_None
;
6873 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6874 PyObject
*resultobj
;
6875 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6877 PyObject
* obj0
= 0 ;
6878 PyObject
* obj1
= 0 ;
6880 (char *) "self",(char *) "max", NULL
6883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6886 arg2
= (int) SWIG_AsInt(obj1
);
6887 if (PyErr_Occurred()) SWIG_fail
;
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 (arg1
)->SetMaximumSizeY(arg2
);
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6895 Py_INCREF(Py_None
); resultobj
= Py_None
;
6902 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
*resultobj
;
6904 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6906 PyObject
* obj0
= 0 ;
6908 (char *) "self", NULL
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6921 resultobj
= SWIG_FromInt((int)result
);
6928 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
*resultobj
;
6930 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6932 PyObject
* obj0
= 0 ;
6934 (char *) "self", NULL
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6944 wxPyEndAllowThreads(__tstate
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6947 resultobj
= SWIG_FromInt((int)result
);
6954 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
*resultobj
;
6956 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6959 int arg4
= (int) 2 ;
6961 PyObject
* obj0
= 0 ;
6962 PyObject
* obj1
= 0 ;
6963 PyObject
* obj2
= 0 ;
6964 PyObject
* obj3
= 0 ;
6966 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6972 arg2
= (int) SWIG_AsInt(obj1
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6974 arg3
= (int) SWIG_AsInt(obj2
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6977 arg4
= (int) SWIG_AsInt(obj3
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) SWIG_fail
;
6987 resultobj
= SWIG_FromInt((int)result
);
6994 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
*resultobj
;
6996 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6997 PyObject
* obj0
= 0 ;
6999 (char *) "self", NULL
7002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 (arg1
)->SizeWindows();
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7012 Py_INCREF(Py_None
); resultobj
= Py_None
;
7019 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7022 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7024 return Py_BuildValue((char *)"");
7026 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7028 int arg1
= (int) 0 ;
7029 int arg2
= (int) wxSASH_NONE
;
7030 wxSashEvent
*result
;
7031 PyObject
* obj0
= 0 ;
7032 PyObject
* obj1
= 0 ;
7034 (char *) "id",(char *) "edge", NULL
7037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7039 arg1
= (int) SWIG_AsInt(obj0
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7043 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7060 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
;
7062 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7064 PyObject
* obj0
= 0 ;
7065 PyObject
* obj1
= 0 ;
7067 (char *) "self",(char *) "edge", NULL
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7073 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7077 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7082 Py_INCREF(Py_None
); resultobj
= Py_None
;
7089 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
;
7091 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7093 PyObject
* obj0
= 0 ;
7095 (char *) "self", NULL
7098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7105 wxPyEndAllowThreads(__tstate
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7108 resultobj
= SWIG_FromInt((int)result
);
7115 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
;
7117 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7120 PyObject
* obj0
= 0 ;
7121 PyObject
* obj1
= 0 ;
7123 (char *) "self",(char *) "rect", NULL
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7131 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 Py_INCREF(Py_None
); resultobj
= Py_None
;
7147 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
;
7149 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7151 PyObject
* obj0
= 0 ;
7153 (char *) "self", NULL
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7168 resultptr
= new wxRect((wxRect
&) result
);
7169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7177 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
;
7179 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7181 PyObject
* obj0
= 0 ;
7182 PyObject
* obj1
= 0 ;
7184 (char *) "self",(char *) "status", NULL
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7190 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 Py_INCREF(Py_None
); resultobj
= Py_None
;
7206 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7208 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7210 PyObject
* obj0
= 0 ;
7212 (char *) "self", NULL
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= SWIG_FromInt((int)result
);
7232 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7235 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7237 return Py_BuildValue((char *)"");
7239 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7240 PyObject
*resultobj
;
7241 int arg1
= (int) 0 ;
7242 wxQueryLayoutInfoEvent
*result
;
7243 PyObject
* obj0
= 0 ;
7248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7250 arg1
= (int) SWIG_AsInt(obj0
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7267 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7271 PyObject
* obj0
= 0 ;
7272 PyObject
* obj1
= 0 ;
7274 (char *) "self",(char *) "length", NULL
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7280 arg2
= (int) SWIG_AsInt(obj1
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 (arg1
)->SetRequestedLength(arg2
);
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 Py_INCREF(Py_None
); resultobj
= Py_None
;
7296 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
;
7298 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7300 PyObject
* obj0
= 0 ;
7302 (char *) "self", NULL
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 resultobj
= SWIG_FromInt((int)result
);
7322 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
;
7324 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7326 PyObject
* obj0
= 0 ;
7327 PyObject
* obj1
= 0 ;
7329 (char *) "self",(char *) "flags", NULL
7332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7335 arg2
= (int) SWIG_AsInt(obj1
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 (arg1
)->SetFlags(arg2
);
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 Py_INCREF(Py_None
); resultobj
= Py_None
;
7351 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
*resultobj
;
7353 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7355 PyObject
* obj0
= 0 ;
7357 (char *) "self", NULL
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7365 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7367 wxPyEndAllowThreads(__tstate
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7370 resultobj
= SWIG_FromInt((int)result
);
7377 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
;
7379 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7382 PyObject
* obj0
= 0 ;
7383 PyObject
* obj1
= 0 ;
7385 (char *) "self",(char *) "size", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7393 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 (arg1
)->SetSize((wxSize
const &)*arg2
);
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7402 Py_INCREF(Py_None
); resultobj
= Py_None
;
7409 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7410 PyObject
*resultobj
;
7411 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7413 PyObject
* obj0
= 0 ;
7415 (char *) "self", NULL
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7430 resultptr
= new wxSize((wxSize
&) result
);
7431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7439 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
;
7441 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7443 PyObject
* obj0
= 0 ;
7444 PyObject
* obj1
= 0 ;
7446 (char *) "self",(char *) "orient", NULL
7449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7452 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7456 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7461 Py_INCREF(Py_None
); resultobj
= Py_None
;
7468 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
*resultobj
;
7470 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7472 PyObject
* obj0
= 0 ;
7474 (char *) "self", NULL
7477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= SWIG_FromInt((int)result
);
7494 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
*resultobj
;
7496 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7498 PyObject
* obj0
= 0 ;
7499 PyObject
* obj1
= 0 ;
7501 (char *) "self",(char *) "align", NULL
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7507 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7516 Py_INCREF(Py_None
); resultobj
= Py_None
;
7523 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
;
7525 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7527 PyObject
* obj0
= 0 ;
7529 (char *) "self", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= SWIG_FromInt((int)result
);
7549 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7552 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7554 return Py_BuildValue((char *)"");
7556 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
;
7558 int arg1
= (int) 0 ;
7559 wxCalculateLayoutEvent
*result
;
7560 PyObject
* obj0
= 0 ;
7565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7567 arg1
= (int) SWIG_AsInt(obj0
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7584 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
*resultobj
;
7586 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7588 PyObject
* obj0
= 0 ;
7589 PyObject
* obj1
= 0 ;
7591 (char *) "self",(char *) "flags", NULL
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7597 arg2
= (int) SWIG_AsInt(obj1
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 (arg1
)->SetFlags(arg2
);
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7606 Py_INCREF(Py_None
); resultobj
= Py_None
;
7613 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
*resultobj
;
7615 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7617 PyObject
* obj0
= 0 ;
7619 (char *) "self", NULL
7622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= SWIG_FromInt((int)result
);
7639 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
;
7641 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7644 PyObject
* obj0
= 0 ;
7645 PyObject
* obj1
= 0 ;
7647 (char *) "self",(char *) "rect", NULL
7650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7655 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 (arg1
)->SetRect((wxRect
const &)*arg2
);
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7664 Py_INCREF(Py_None
); resultobj
= Py_None
;
7671 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
*resultobj
;
7673 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7675 PyObject
* obj0
= 0 ;
7677 (char *) "self", NULL
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7692 resultptr
= new wxRect((wxRect
&) result
);
7693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7701 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7704 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7706 return Py_BuildValue((char *)"");
7708 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
;
7710 wxWindow
*arg1
= (wxWindow
*) 0 ;
7712 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7713 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7714 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7715 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7716 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7717 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7718 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7719 wxSashLayoutWindow
*result
;
7722 bool temp6
= False
;
7723 PyObject
* obj0
= 0 ;
7724 PyObject
* obj1
= 0 ;
7725 PyObject
* obj2
= 0 ;
7726 PyObject
* obj3
= 0 ;
7727 PyObject
* obj4
= 0 ;
7728 PyObject
* obj5
= 0 ;
7730 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7736 arg2
= (int) SWIG_AsInt(obj1
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7741 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7747 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7751 arg5
= (long) SWIG_AsLong(obj4
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7756 arg6
= wxString_in_helper(obj5
);
7757 if (arg6
== NULL
) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7783 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
;
7785 wxSashLayoutWindow
*result
;
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7805 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
*resultobj
;
7807 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7808 wxWindow
*arg2
= (wxWindow
*) 0 ;
7810 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7811 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7812 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7813 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7814 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7815 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7816 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7820 bool temp7
= False
;
7821 PyObject
* obj0
= 0 ;
7822 PyObject
* obj1
= 0 ;
7823 PyObject
* obj2
= 0 ;
7824 PyObject
* obj3
= 0 ;
7825 PyObject
* obj4
= 0 ;
7826 PyObject
* obj5
= 0 ;
7827 PyObject
* obj6
= 0 ;
7829 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7837 arg3
= (int) SWIG_AsInt(obj2
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7842 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7848 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7852 arg6
= (long) SWIG_AsLong(obj5
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7857 arg7
= wxString_in_helper(obj6
);
7858 if (arg7
== NULL
) SWIG_fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7884 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
*resultobj
;
7886 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7888 PyObject
* obj0
= 0 ;
7890 (char *) "self", NULL
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 result
= (int)(arg1
)->GetAlignment();
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7903 resultobj
= SWIG_FromInt((int)result
);
7910 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
*resultobj
;
7912 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7914 PyObject
* obj0
= 0 ;
7916 (char *) "self", NULL
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7924 result
= (int)(arg1
)->GetOrientation();
7926 wxPyEndAllowThreads(__tstate
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= SWIG_FromInt((int)result
);
7936 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
;
7938 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7940 PyObject
* obj0
= 0 ;
7941 PyObject
* obj1
= 0 ;
7943 (char *) "self",(char *) "alignment", NULL
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7949 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7958 Py_INCREF(Py_None
); resultobj
= Py_None
;
7965 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
;
7967 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7970 PyObject
* obj0
= 0 ;
7971 PyObject
* obj1
= 0 ;
7973 (char *) "self",(char *) "size", NULL
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7981 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7985 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
7987 wxPyEndAllowThreads(__tstate
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7990 Py_INCREF(Py_None
); resultobj
= Py_None
;
7997 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
*resultobj
;
7999 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8001 PyObject
* obj0
= 0 ;
8002 PyObject
* obj1
= 0 ;
8004 (char *) "self",(char *) "orientation", NULL
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8010 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8019 Py_INCREF(Py_None
); resultobj
= Py_None
;
8026 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8029 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8031 return Py_BuildValue((char *)"");
8033 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
;
8035 wxLayoutAlgorithm
*result
;
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8043 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8055 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8056 PyObject
*resultobj
;
8057 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8058 PyObject
* obj0
= 0 ;
8060 (char *) "self", NULL
8063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 Py_INCREF(Py_None
); resultobj
= Py_None
;
8080 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
;
8082 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8083 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8084 wxRect
*arg3
= (wxRect
*) NULL
;
8086 PyObject
* obj0
= 0 ;
8087 PyObject
* obj1
= 0 ;
8088 PyObject
* obj2
= 0 ;
8090 (char *) "self",(char *) "frame",(char *) "rect", NULL
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8099 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8104 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8106 wxPyEndAllowThreads(__tstate
);
8107 if (PyErr_Occurred()) SWIG_fail
;
8109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8116 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8117 PyObject
*resultobj
;
8118 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8119 wxFrame
*arg2
= (wxFrame
*) 0 ;
8120 wxWindow
*arg3
= (wxWindow
*) NULL
;
8122 PyObject
* obj0
= 0 ;
8123 PyObject
* obj1
= 0 ;
8124 PyObject
* obj2
= 0 ;
8126 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8135 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8152 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
*resultobj
;
8154 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8155 wxWindow
*arg2
= (wxWindow
*) 0 ;
8156 wxWindow
*arg3
= (wxWindow
*) NULL
;
8158 PyObject
* obj0
= 0 ;
8159 PyObject
* obj1
= 0 ;
8160 PyObject
* obj2
= 0 ;
8162 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8171 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8188 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8191 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8193 return Py_BuildValue((char *)"");
8195 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
;
8197 wxWindow
*arg1
= (wxWindow
*) 0 ;
8198 int arg2
= (int) wxBORDER_NONE
;
8199 wxPopupWindow
*result
;
8200 PyObject
* obj0
= 0 ;
8201 PyObject
* obj1
= 0 ;
8203 (char *) "parent",(char *) "flags", NULL
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8210 arg2
= (int) SWIG_AsInt(obj1
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8227 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8228 PyObject
*resultobj
;
8229 wxPopupWindow
*result
;
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 result
= (wxPopupWindow
*)new wxPopupWindow();
8239 wxPyEndAllowThreads(__tstate
);
8240 if (PyErr_Occurred()) SWIG_fail
;
8242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8249 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8250 PyObject
*resultobj
;
8251 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8252 wxWindow
*arg2
= (wxWindow
*) 0 ;
8253 int arg3
= (int) wxBORDER_NONE
;
8255 PyObject
* obj0
= 0 ;
8256 PyObject
* obj1
= 0 ;
8257 PyObject
* obj2
= 0 ;
8259 (char *) "self",(char *) "parent",(char *) "flags", NULL
8262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8268 arg3
= (int) SWIG_AsInt(obj2
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8273 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8275 wxPyEndAllowThreads(__tstate
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8285 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
;
8287 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8292 PyObject
* obj0
= 0 ;
8293 PyObject
* obj1
= 0 ;
8294 PyObject
* obj2
= 0 ;
8296 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8304 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8308 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8312 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8317 Py_INCREF(Py_None
); resultobj
= Py_None
;
8324 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8327 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8329 return Py_BuildValue((char *)"");
8331 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
*resultobj
;
8333 wxWindow
*arg1
= (wxWindow
*) 0 ;
8334 int arg2
= (int) wxBORDER_NONE
;
8335 wxPyPopupTransientWindow
*result
;
8336 PyObject
* obj0
= 0 ;
8337 PyObject
* obj1
= 0 ;
8339 (char *) "parent",(char *) "style", NULL
8342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8346 arg2
= (int) SWIG_AsInt(obj1
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8353 wxPyEndAllowThreads(__tstate
);
8354 if (PyErr_Occurred()) SWIG_fail
;
8356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8363 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8364 PyObject
*resultobj
;
8365 wxPyPopupTransientWindow
*result
;
8370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8375 wxPyEndAllowThreads(__tstate
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8385 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
;
8387 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8388 PyObject
*arg2
= (PyObject
*) 0 ;
8389 PyObject
*arg3
= (PyObject
*) 0 ;
8390 PyObject
* obj0
= 0 ;
8391 PyObject
* obj1
= 0 ;
8392 PyObject
* obj2
= 0 ;
8394 (char *) "self",(char *) "self",(char *) "_class", NULL
8397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 Py_INCREF(Py_None
); resultobj
= Py_None
;
8416 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
*resultobj
;
8418 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8419 wxWindow
*arg2
= (wxWindow
*) NULL
;
8420 PyObject
* obj0
= 0 ;
8421 PyObject
* obj1
= 0 ;
8423 (char *) "self",(char *) "focus", NULL
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 (arg1
)->Popup(arg2
);
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 Py_INCREF(Py_None
); resultobj
= Py_None
;
8447 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
*resultobj
;
8449 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8450 PyObject
* obj0
= 0 ;
8452 (char *) "self", NULL
8455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8465 Py_INCREF(Py_None
); resultobj
= Py_None
;
8472 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8475 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8477 return Py_BuildValue((char *)"");
8479 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8480 PyObject
*resultobj
;
8481 wxWindow
*arg1
= (wxWindow
*) 0 ;
8482 wxString
*arg2
= 0 ;
8483 int arg3
= (int) 100 ;
8484 wxRect
*arg4
= (wxRect
*) NULL
;
8485 wxTipWindow
*result
;
8486 bool temp2
= False
;
8487 PyObject
* obj0
= 0 ;
8488 PyObject
* obj1
= 0 ;
8489 PyObject
* obj2
= 0 ;
8490 PyObject
* obj3
= 0 ;
8492 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8499 arg2
= wxString_in_helper(obj1
);
8500 if (arg2
== NULL
) SWIG_fail
;
8504 arg3
= (int) SWIG_AsInt(obj2
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8508 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8533 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8538 PyObject
* obj0
= 0 ;
8539 PyObject
* obj1
= 0 ;
8541 (char *) "self",(char *) "rectBound", NULL
8544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8549 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8553 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8555 wxPyEndAllowThreads(__tstate
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8558 Py_INCREF(Py_None
); resultobj
= Py_None
;
8565 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8566 PyObject
*resultobj
;
8567 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8568 PyObject
* obj0
= 0 ;
8570 (char *) "self", NULL
8573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8580 wxPyEndAllowThreads(__tstate
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8583 Py_INCREF(Py_None
); resultobj
= Py_None
;
8590 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8593 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8595 return Py_BuildValue((char *)"");
8597 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
;
8599 wxWindow
*arg1
= (wxWindow
*) 0 ;
8600 int arg2
= (int) wxID_ANY
;
8601 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8602 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8603 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8604 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8605 long arg5
= (long) 0 ;
8606 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8607 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8608 wxPyVScrolledWindow
*result
;
8611 bool temp6
= False
;
8612 PyObject
* obj0
= 0 ;
8613 PyObject
* obj1
= 0 ;
8614 PyObject
* obj2
= 0 ;
8615 PyObject
* obj3
= 0 ;
8616 PyObject
* obj4
= 0 ;
8617 PyObject
* obj5
= 0 ;
8619 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8626 arg2
= (int) SWIG_AsInt(obj1
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8638 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8642 arg5
= (long) SWIG_AsLong(obj4
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8647 arg6
= wxString_in_helper(obj5
);
8648 if (arg6
== NULL
) SWIG_fail
;
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8674 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
;
8676 wxPyVScrolledWindow
*result
;
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8696 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
;
8698 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8699 PyObject
*arg2
= (PyObject
*) 0 ;
8700 PyObject
*arg3
= (PyObject
*) 0 ;
8701 PyObject
* obj0
= 0 ;
8702 PyObject
* obj1
= 0 ;
8703 PyObject
* obj2
= 0 ;
8705 (char *) "self",(char *) "self",(char *) "_class", NULL
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 Py_INCREF(Py_None
); resultobj
= Py_None
;
8727 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
;
8729 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8730 wxWindow
*arg2
= (wxWindow
*) 0 ;
8731 int arg3
= (int) wxID_ANY
;
8732 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8733 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8734 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8735 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8736 long arg6
= (long) 0 ;
8737 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8738 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8742 bool temp7
= False
;
8743 PyObject
* obj0
= 0 ;
8744 PyObject
* obj1
= 0 ;
8745 PyObject
* obj2
= 0 ;
8746 PyObject
* obj3
= 0 ;
8747 PyObject
* obj4
= 0 ;
8748 PyObject
* obj5
= 0 ;
8749 PyObject
* obj6
= 0 ;
8751 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8760 arg3
= (int) SWIG_AsInt(obj2
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8766 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8772 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8776 arg6
= (long) SWIG_AsLong(obj5
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8781 arg7
= wxString_in_helper(obj6
);
8782 if (arg7
== NULL
) SWIG_fail
;
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8808 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
;
8810 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8812 PyObject
* obj0
= 0 ;
8813 PyObject
* obj1
= 0 ;
8815 (char *) "self",(char *) "count", NULL
8818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8821 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 (arg1
)->SetLineCount(arg2
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 Py_INCREF(Py_None
); resultobj
= Py_None
;
8837 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
;
8839 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8842 PyObject
* obj0
= 0 ;
8843 PyObject
* obj1
= 0 ;
8845 (char *) "self",(char *) "line", NULL
8848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8851 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8855 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8857 wxPyEndAllowThreads(__tstate
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8867 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
*resultobj
;
8869 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8872 PyObject
* obj0
= 0 ;
8873 PyObject
* obj1
= 0 ;
8875 (char *) "self",(char *) "lines", NULL
8878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
8879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8881 arg2
= (int) SWIG_AsInt(obj1
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 result
= (bool)(arg1
)->ScrollLines(arg2
);
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8897 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
*resultobj
;
8899 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8902 PyObject
* obj0
= 0 ;
8903 PyObject
* obj1
= 0 ;
8905 (char *) "self",(char *) "pages", NULL
8908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
8909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8911 arg2
= (int) SWIG_AsInt(obj1
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8915 result
= (bool)(arg1
)->ScrollPages(arg2
);
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8927 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
*resultobj
;
8929 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8931 PyObject
* obj0
= 0 ;
8932 PyObject
* obj1
= 0 ;
8934 (char *) "self",(char *) "line", NULL
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8940 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 (arg1
)->RefreshLine(arg2
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8949 Py_INCREF(Py_None
); resultobj
= Py_None
;
8956 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
*resultobj
;
8958 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8961 PyObject
* obj0
= 0 ;
8962 PyObject
* obj1
= 0 ;
8963 PyObject
* obj2
= 0 ;
8965 (char *) "self",(char *) "from",(char *) "to", NULL
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8971 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8973 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 (arg1
)->RefreshLines(arg2
,arg3
);
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 Py_INCREF(Py_None
); resultobj
= Py_None
;
8989 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
;
8991 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8995 PyObject
* obj0
= 0 ;
8996 PyObject
* obj1
= 0 ;
8997 PyObject
* obj2
= 0 ;
8999 (char *) "self",(char *) "x",(char *) "y", NULL
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9005 arg2
= (int) SWIG_AsInt(obj1
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9007 arg3
= (int) SWIG_AsInt(obj2
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9016 resultobj
= SWIG_FromInt((int)result
);
9023 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9024 PyObject
*resultobj
;
9025 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9029 PyObject
* obj0
= 0 ;
9030 PyObject
* obj1
= 0 ;
9032 (char *) "self",(char *) "pt", NULL
9035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9040 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9044 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9046 wxPyEndAllowThreads(__tstate
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9049 resultobj
= SWIG_FromInt((int)result
);
9056 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9057 PyObject
*resultobj
;
9058 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9059 PyObject
* obj0
= 0 ;
9061 (char *) "self", NULL
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 (arg1
)->RefreshAll();
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 Py_INCREF(Py_None
); resultobj
= Py_None
;
9081 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9083 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9085 PyObject
* obj0
= 0 ;
9087 (char *) "self", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9100 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9107 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
*resultobj
;
9109 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9111 PyObject
* obj0
= 0 ;
9113 (char *) "self", NULL
9116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9133 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9134 PyObject
*resultobj
;
9135 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9137 PyObject
* obj0
= 0 ;
9139 (char *) "self", NULL
9142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9159 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
;
9161 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9164 PyObject
* obj0
= 0 ;
9165 PyObject
* obj1
= 0 ;
9167 (char *) "self",(char *) "line", NULL
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9173 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9189 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9192 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9194 return Py_BuildValue((char *)"");
9196 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9197 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9202 static PyObject
*_wrap_VListBoxNameStr_get() {
9207 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9209 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9216 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
;
9218 wxWindow
*arg1
= (wxWindow
*) 0 ;
9219 int arg2
= (int) wxID_ANY
;
9220 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9221 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9222 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9223 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9224 long arg5
= (long) 0 ;
9225 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9226 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9227 wxPyVListBox
*result
;
9230 bool temp6
= False
;
9231 PyObject
* obj0
= 0 ;
9232 PyObject
* obj1
= 0 ;
9233 PyObject
* obj2
= 0 ;
9234 PyObject
* obj3
= 0 ;
9235 PyObject
* obj4
= 0 ;
9236 PyObject
* obj5
= 0 ;
9238 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9245 arg2
= (int) SWIG_AsInt(obj1
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9251 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9257 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9261 arg5
= (long) SWIG_AsLong(obj4
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9266 arg6
= wxString_in_helper(obj5
);
9267 if (arg6
== NULL
) SWIG_fail
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9293 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9294 PyObject
*resultobj
;
9295 wxPyVListBox
*result
;
9300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 result
= (wxPyVListBox
*)new wxPyVListBox();
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9315 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
*resultobj
;
9317 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9318 PyObject
*arg2
= (PyObject
*) 0 ;
9319 PyObject
*arg3
= (PyObject
*) 0 ;
9320 PyObject
* obj0
= 0 ;
9321 PyObject
* obj1
= 0 ;
9322 PyObject
* obj2
= 0 ;
9324 (char *) "self",(char *) "self",(char *) "_class", NULL
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9339 Py_INCREF(Py_None
); resultobj
= Py_None
;
9346 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9349 wxWindow
*arg2
= (wxWindow
*) 0 ;
9350 int arg3
= (int) wxID_ANY
;
9351 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9352 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9353 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9354 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9355 long arg6
= (long) 0 ;
9356 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9357 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9361 bool temp7
= False
;
9362 PyObject
* obj0
= 0 ;
9363 PyObject
* obj1
= 0 ;
9364 PyObject
* obj2
= 0 ;
9365 PyObject
* obj3
= 0 ;
9366 PyObject
* obj4
= 0 ;
9367 PyObject
* obj5
= 0 ;
9368 PyObject
* obj6
= 0 ;
9370 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9379 arg3
= (int) SWIG_AsInt(obj2
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9385 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9391 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9395 arg6
= (long) SWIG_AsLong(obj5
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9400 arg7
= wxString_in_helper(obj6
);
9401 if (arg7
== NULL
) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9427 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
;
9429 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9431 PyObject
* obj0
= 0 ;
9433 (char *) "self", NULL
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9453 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
;
9455 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9457 PyObject
* obj0
= 0 ;
9459 (char *) "self", NULL
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9479 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
*resultobj
;
9481 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9483 PyObject
* obj0
= 0 ;
9485 (char *) "self", NULL
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9498 resultobj
= SWIG_FromInt((int)result
);
9505 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
*resultobj
;
9507 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9510 PyObject
* obj0
= 0 ;
9511 PyObject
* obj1
= 0 ;
9513 (char *) "self",(char *) "item", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9519 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9535 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9540 PyObject
* obj0
= 0 ;
9541 PyObject
* obj1
= 0 ;
9543 (char *) "self",(char *) "item", NULL
9546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9549 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9565 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
*resultobj
;
9567 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9569 PyObject
* obj0
= 0 ;
9571 (char *) "self", NULL
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9591 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9594 unsigned long *arg2
= 0 ;
9596 PyObject
* obj0
= 0 ;
9597 PyObject
* obj1
= 0 ;
9599 (char *) "self",(char *) "cookie", NULL
9602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9609 PyErr_SetString(PyExc_TypeError
,"null reference");
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 resultobj
= SWIG_FromInt((int)result
);
9626 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
;
9628 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9629 unsigned long *arg2
= 0 ;
9631 PyObject
* obj0
= 0 ;
9632 PyObject
* obj1
= 0 ;
9634 (char *) "self",(char *) "cookie", NULL
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9641 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9644 PyErr_SetString(PyExc_TypeError
,"null reference");
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= SWIG_FromInt((int)result
);
9661 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9662 PyObject
*resultobj
;
9663 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9665 PyObject
* obj0
= 0 ;
9667 (char *) "self", NULL
9670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9677 wxPyEndAllowThreads(__tstate
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9681 wxPoint
* resultptr
;
9682 resultptr
= new wxPoint((wxPoint
&) result
);
9683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9691 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
*resultobj
;
9693 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9695 PyObject
* obj0
= 0 ;
9697 (char *) "self", NULL
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9707 result
= (wxColour
*) &_result_ref
;
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9720 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
;
9722 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9724 PyObject
* obj0
= 0 ;
9725 PyObject
* obj1
= 0 ;
9727 (char *) "self",(char *) "count", NULL
9730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9733 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 (arg1
)->SetItemCount(arg2
);
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9742 Py_INCREF(Py_None
); resultobj
= Py_None
;
9749 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
;
9751 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9752 PyObject
* obj0
= 0 ;
9754 (char *) "self", NULL
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 Py_INCREF(Py_None
); resultobj
= Py_None
;
9774 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
;
9776 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9778 PyObject
* obj0
= 0 ;
9779 PyObject
* obj1
= 0 ;
9781 (char *) "self",(char *) "selection", NULL
9784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9787 arg2
= (int) SWIG_AsInt(obj1
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 (arg1
)->SetSelection(arg2
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 Py_INCREF(Py_None
); resultobj
= Py_None
;
9803 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9807 bool arg3
= (bool) True
;
9809 PyObject
* obj0
= 0 ;
9810 PyObject
* obj1
= 0 ;
9811 PyObject
* obj2
= 0 ;
9813 (char *) "self",(char *) "item",(char *) "select", NULL
9816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9819 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9822 arg3
= (bool) SWIG_AsBool(obj2
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9827 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9839 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
;
9841 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9845 PyObject
* obj0
= 0 ;
9846 PyObject
* obj1
= 0 ;
9847 PyObject
* obj2
= 0 ;
9849 (char *) "self",(char *) "from",(char *) "to", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9855 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9857 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9873 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
;
9875 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9877 PyObject
* obj0
= 0 ;
9878 PyObject
* obj1
= 0 ;
9880 (char *) "self",(char *) "item", NULL
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
9884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9886 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9890 (arg1
)->Toggle(arg2
);
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9895 Py_INCREF(Py_None
); resultobj
= Py_None
;
9902 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
;
9904 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9906 PyObject
* obj0
= 0 ;
9908 (char *) "self", NULL
9911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
9912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 result
= (bool)(arg1
)->SelectAll();
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9928 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
;
9930 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9932 PyObject
* obj0
= 0 ;
9934 (char *) "self", NULL
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
9938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 result
= (bool)(arg1
)->DeselectAll();
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9954 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
;
9956 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9959 PyObject
* obj0
= 0 ;
9960 PyObject
* obj1
= 0 ;
9962 (char *) "self",(char *) "pt", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
9966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9970 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9974 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9979 Py_INCREF(Py_None
); resultobj
= Py_None
;
9986 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
*resultobj
;
9988 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9991 PyObject
* obj0
= 0 ;
9992 PyObject
* obj1
= 0 ;
9993 PyObject
* obj2
= 0 ;
9995 (char *) "self",(char *) "x",(char *) "y", NULL
9998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10001 arg2
= (int) SWIG_AsInt(obj1
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10003 arg3
= (int) SWIG_AsInt(obj2
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 (arg1
)->SetMargins(arg2
,arg3
);
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10012 Py_INCREF(Py_None
); resultobj
= Py_None
;
10019 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
;
10021 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10022 wxColour
*arg2
= 0 ;
10024 PyObject
* obj0
= 0 ;
10025 PyObject
* obj1
= 0 ;
10026 char *kwnames
[] = {
10027 (char *) "self",(char *) "col", NULL
10030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10035 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 Py_INCREF(Py_None
); resultobj
= Py_None
;
10051 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10054 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10056 return Py_BuildValue((char *)"");
10058 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
;
10060 wxWindow
*arg1
= (wxWindow
*) 0 ;
10061 int arg2
= (int) wxID_ANY
;
10062 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10063 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10064 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10065 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10066 long arg5
= (long) 0 ;
10067 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10068 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10069 wxPyHtmlListBox
*result
;
10072 bool temp6
= False
;
10073 PyObject
* obj0
= 0 ;
10074 PyObject
* obj1
= 0 ;
10075 PyObject
* obj2
= 0 ;
10076 PyObject
* obj3
= 0 ;
10077 PyObject
* obj4
= 0 ;
10078 PyObject
* obj5
= 0 ;
10079 char *kwnames
[] = {
10080 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10087 arg2
= (int) SWIG_AsInt(obj1
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10093 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10099 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10103 arg5
= (long) SWIG_AsLong(obj4
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10108 arg6
= wxString_in_helper(obj5
);
10109 if (arg6
== NULL
) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10135 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10136 PyObject
*resultobj
;
10137 wxPyHtmlListBox
*result
;
10138 char *kwnames
[] = {
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10157 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
;
10159 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10160 PyObject
*arg2
= (PyObject
*) 0 ;
10161 PyObject
*arg3
= (PyObject
*) 0 ;
10162 PyObject
* obj0
= 0 ;
10163 PyObject
* obj1
= 0 ;
10164 PyObject
* obj2
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self",(char *) "self",(char *) "_class", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 Py_INCREF(Py_None
); resultobj
= Py_None
;
10188 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
;
10190 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10191 wxWindow
*arg2
= (wxWindow
*) 0 ;
10192 int arg3
= (int) wxID_ANY
;
10193 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10194 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10195 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10196 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10197 long arg6
= (long) 0 ;
10198 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10199 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10203 bool temp7
= False
;
10204 PyObject
* obj0
= 0 ;
10205 PyObject
* obj1
= 0 ;
10206 PyObject
* obj2
= 0 ;
10207 PyObject
* obj3
= 0 ;
10208 PyObject
* obj4
= 0 ;
10209 PyObject
* obj5
= 0 ;
10210 PyObject
* obj6
= 0 ;
10211 char *kwnames
[] = {
10212 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10221 arg3
= (int) SWIG_AsInt(obj2
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10227 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10233 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10237 arg6
= (long) SWIG_AsLong(obj5
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10242 arg7
= wxString_in_helper(obj6
);
10243 if (arg7
== NULL
) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10269 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
;
10271 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10272 PyObject
* obj0
= 0 ;
10273 char *kwnames
[] = {
10274 (char *) "self", NULL
10277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 (arg1
)->RefreshAll();
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10287 Py_INCREF(Py_None
); resultobj
= Py_None
;
10294 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
;
10296 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10298 PyObject
* obj0
= 0 ;
10299 PyObject
* obj1
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self",(char *) "count", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10307 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 (arg1
)->SetItemCount(arg2
);
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10316 Py_INCREF(Py_None
); resultobj
= Py_None
;
10323 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10326 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10328 return Py_BuildValue((char *)"");
10330 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
*resultobj
;
10332 wxTaskBarIcon
*result
;
10333 char *kwnames
[] = {
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10352 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
;
10354 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10355 PyObject
* obj0
= 0 ;
10356 char *kwnames
[] = {
10357 (char *) "self", NULL
10360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 wxPyEndAllowThreads(__tstate
);
10368 if (PyErr_Occurred()) SWIG_fail
;
10370 Py_INCREF(Py_None
); resultobj
= Py_None
;
10377 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
*resultobj
;
10379 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10381 PyObject
* obj0
= 0 ;
10382 char *kwnames
[] = {
10383 (char *) "self", NULL
10386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10391 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10393 wxPyEndAllowThreads(__tstate
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10403 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
*resultobj
;
10405 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10407 PyObject
* obj0
= 0 ;
10408 char *kwnames
[] = {
10409 (char *) "self", NULL
10412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10419 wxPyEndAllowThreads(__tstate
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10429 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10430 PyObject
*resultobj
;
10431 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10433 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10434 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10436 bool temp3
= False
;
10437 PyObject
* obj0
= 0 ;
10438 PyObject
* obj1
= 0 ;
10439 PyObject
* obj2
= 0 ;
10440 char *kwnames
[] = {
10441 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
10448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10450 if (arg2
== NULL
) {
10451 PyErr_SetString(PyExc_TypeError
,"null reference");
10456 arg3
= wxString_in_helper(obj2
);
10457 if (arg3
== NULL
) SWIG_fail
;
10462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10483 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10485 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10487 PyObject
* obj0
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 result
= (bool)(arg1
)->RemoveIcon();
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10509 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
;
10511 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10512 wxMenu
*arg2
= (wxMenu
*) 0 ;
10514 PyObject
* obj0
= 0 ;
10515 PyObject
* obj1
= 0 ;
10516 char *kwnames
[] = {
10517 (char *) "self",(char *) "menu", NULL
10520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
10521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
10524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10527 result
= (bool)(arg1
)->PopupMenu(arg2
);
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10539 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10542 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10544 return Py_BuildValue((char *)"");
10546 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
*resultobj
;
10549 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10550 wxTaskBarIconEvent
*result
;
10551 PyObject
* obj0
= 0 ;
10552 PyObject
* obj1
= 0 ;
10553 char *kwnames
[] = {
10554 (char *) "evtType",(char *) "tbIcon", NULL
10557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10558 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10576 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10579 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10581 return Py_BuildValue((char *)"");
10583 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10584 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10589 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10594 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10596 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10603 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10604 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10609 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10614 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10616 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10623 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10624 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10629 static PyObject
*_wrap_DirDialogNameStr_get() {
10634 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10636 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10643 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10644 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10649 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10654 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10656 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10663 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
10664 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10669 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10674 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10676 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10683 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
10684 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10689 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10694 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10696 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10703 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
*resultobj
;
10705 wxColourData
*result
;
10706 char *kwnames
[] = {
10710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 result
= (wxColourData
*)new wxColourData();
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
10725 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
;
10727 wxColourData
*arg1
= (wxColourData
*) 0 ;
10728 PyObject
* obj0
= 0 ;
10729 char *kwnames
[] = {
10730 (char *) "self", NULL
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10743 Py_INCREF(Py_None
); resultobj
= Py_None
;
10750 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
;
10752 wxColourData
*arg1
= (wxColourData
*) 0 ;
10754 PyObject
* obj0
= 0 ;
10755 char *kwnames
[] = {
10756 (char *) "self", NULL
10759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 result
= (bool)(arg1
)->GetChooseFull();
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10776 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxColourData
*arg1
= (wxColourData
*) 0 ;
10780 PyObject
* obj0
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
10786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 result
= (arg1
)->GetColour();
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10796 wxColour
* resultptr
;
10797 resultptr
= new wxColour((wxColour
&) result
);
10798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10806 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
*resultobj
;
10808 wxColourData
*arg1
= (wxColourData
*) 0 ;
10811 PyObject
* obj0
= 0 ;
10812 PyObject
* obj1
= 0 ;
10813 char *kwnames
[] = {
10814 (char *) "self",(char *) "i", NULL
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10820 arg2
= (int) SWIG_AsInt(obj1
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 result
= (arg1
)->GetCustomColour(arg2
);
10826 wxPyEndAllowThreads(__tstate
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10830 wxColour
* resultptr
;
10831 resultptr
= new wxColour((wxColour
&) result
);
10832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10840 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
*resultobj
;
10842 wxColourData
*arg1
= (wxColourData
*) 0 ;
10844 PyObject
* obj0
= 0 ;
10845 PyObject
* obj1
= 0 ;
10846 char *kwnames
[] = {
10847 (char *) "self",(char *) "flag", NULL
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
10851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10853 arg2
= (int) SWIG_AsInt(obj1
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10857 (arg1
)->SetChooseFull(arg2
);
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10862 Py_INCREF(Py_None
); resultobj
= Py_None
;
10869 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
*resultobj
;
10871 wxColourData
*arg1
= (wxColourData
*) 0 ;
10872 wxColour
*arg2
= 0 ;
10874 PyObject
* obj0
= 0 ;
10875 PyObject
* obj1
= 0 ;
10876 char *kwnames
[] = {
10877 (char *) "self",(char *) "colour", NULL
10880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10885 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 (arg1
)->SetColour((wxColour
const &)*arg2
);
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10894 Py_INCREF(Py_None
); resultobj
= Py_None
;
10901 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
;
10903 wxColourData
*arg1
= (wxColourData
*) 0 ;
10905 wxColour
*arg3
= 0 ;
10907 PyObject
* obj0
= 0 ;
10908 PyObject
* obj1
= 0 ;
10909 PyObject
* obj2
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self",(char *) "i",(char *) "colour", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10917 arg2
= (int) SWIG_AsInt(obj1
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10921 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10930 Py_INCREF(Py_None
); resultobj
= Py_None
;
10937 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
10939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10940 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
10942 return Py_BuildValue((char *)"");
10944 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
*resultobj
;
10946 wxWindow
*arg1
= (wxWindow
*) 0 ;
10947 wxColourData
*arg2
= (wxColourData
*) NULL
;
10948 wxColourDialog
*result
;
10949 PyObject
* obj0
= 0 ;
10950 PyObject
* obj1
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "parent",(char *) "data", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
10956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
10960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
10976 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
;
10978 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10979 wxColourData
*result
;
10980 PyObject
* obj0
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
10986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
10987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10991 wxColourData
&_result_ref
= (arg1
)->GetColourData();
10992 result
= (wxColourData
*) &_result_ref
;
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11005 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11008 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11010 return Py_BuildValue((char *)"");
11012 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxWindow
*arg1
= (wxWindow
*) 0 ;
11015 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11016 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11017 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11018 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11019 long arg4
= (long) 0 ;
11020 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11021 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11022 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11023 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11024 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11025 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11026 wxDirDialog
*result
;
11027 bool temp2
= False
;
11028 bool temp3
= False
;
11031 bool temp7
= False
;
11032 PyObject
* obj0
= 0 ;
11033 PyObject
* obj1
= 0 ;
11034 PyObject
* obj2
= 0 ;
11035 PyObject
* obj3
= 0 ;
11036 PyObject
* obj4
= 0 ;
11037 PyObject
* obj5
= 0 ;
11038 PyObject
* obj6
= 0 ;
11039 char *kwnames
[] = {
11040 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11048 arg2
= wxString_in_helper(obj1
);
11049 if (arg2
== NULL
) SWIG_fail
;
11055 arg3
= wxString_in_helper(obj2
);
11056 if (arg3
== NULL
) SWIG_fail
;
11061 arg4
= (long) SWIG_AsLong(obj3
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11067 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11073 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11078 arg7
= wxString_in_helper(obj6
);
11079 if (arg7
== NULL
) SWIG_fail
;
11084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11085 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11121 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
;
11123 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11125 PyObject
* obj0
= 0 ;
11126 char *kwnames
[] = {
11127 (char *) "self", NULL
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 result
= (arg1
)->GetPath();
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11153 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
;
11155 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11157 PyObject
* obj0
= 0 ;
11158 char *kwnames
[] = {
11159 (char *) "self", NULL
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 result
= (arg1
)->GetMessage();
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11185 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
;
11187 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11189 PyObject
* obj0
= 0 ;
11190 char *kwnames
[] = {
11191 (char *) "self", NULL
11194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 result
= (long)(arg1
)->GetStyle();
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11204 resultobj
= SWIG_FromLong((long)result
);
11211 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
*resultobj
;
11213 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11214 wxString
*arg2
= 0 ;
11215 bool temp2
= False
;
11216 PyObject
* obj0
= 0 ;
11217 PyObject
* obj1
= 0 ;
11218 char *kwnames
[] = {
11219 (char *) "self",(char *) "message", NULL
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11226 arg2
= wxString_in_helper(obj1
);
11227 if (arg2
== NULL
) SWIG_fail
;
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 (arg1
)->SetMessage((wxString
const &)*arg2
);
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11237 Py_INCREF(Py_None
); resultobj
= Py_None
;
11252 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
;
11254 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11255 wxString
*arg2
= 0 ;
11256 bool temp2
= False
;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 char *kwnames
[] = {
11260 (char *) "self",(char *) "path", NULL
11263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11267 arg2
= wxString_in_helper(obj1
);
11268 if (arg2
== NULL
) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 (arg1
)->SetPath((wxString
const &)*arg2
);
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 Py_INCREF(Py_None
); resultobj
= Py_None
;
11293 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11296 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11298 return Py_BuildValue((char *)"");
11300 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11301 PyObject
*resultobj
;
11302 wxWindow
*arg1
= (wxWindow
*) 0 ;
11303 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11304 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11305 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11306 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11307 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11308 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11309 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11310 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11311 long arg6
= (long) 0 ;
11312 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11313 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11314 wxFileDialog
*result
;
11315 bool temp2
= False
;
11316 bool temp3
= False
;
11317 bool temp4
= False
;
11318 bool temp5
= False
;
11320 PyObject
* obj0
= 0 ;
11321 PyObject
* obj1
= 0 ;
11322 PyObject
* obj2
= 0 ;
11323 PyObject
* obj3
= 0 ;
11324 PyObject
* obj4
= 0 ;
11325 PyObject
* obj5
= 0 ;
11326 PyObject
* obj6
= 0 ;
11327 char *kwnames
[] = {
11328 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11336 arg2
= wxString_in_helper(obj1
);
11337 if (arg2
== NULL
) SWIG_fail
;
11343 arg3
= wxString_in_helper(obj2
);
11344 if (arg3
== NULL
) SWIG_fail
;
11350 arg4
= wxString_in_helper(obj3
);
11351 if (arg4
== NULL
) SWIG_fail
;
11357 arg5
= wxString_in_helper(obj4
);
11358 if (arg5
== NULL
) SWIG_fail
;
11363 arg6
= (long) SWIG_AsLong(obj5
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11369 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11374 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11376 wxPyEndAllowThreads(__tstate
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11418 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11419 PyObject
*resultobj
;
11420 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11421 wxString
*arg2
= 0 ;
11422 bool temp2
= False
;
11423 PyObject
* obj0
= 0 ;
11424 PyObject
* obj1
= 0 ;
11425 char *kwnames
[] = {
11426 (char *) "self",(char *) "message", NULL
11429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11433 arg2
= wxString_in_helper(obj1
);
11434 if (arg2
== NULL
) SWIG_fail
;
11438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11439 (arg1
)->SetMessage((wxString
const &)*arg2
);
11441 wxPyEndAllowThreads(__tstate
);
11442 if (PyErr_Occurred()) SWIG_fail
;
11444 Py_INCREF(Py_None
); resultobj
= Py_None
;
11459 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
;
11461 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11462 wxString
*arg2
= 0 ;
11463 bool temp2
= False
;
11464 PyObject
* obj0
= 0 ;
11465 PyObject
* obj1
= 0 ;
11466 char *kwnames
[] = {
11467 (char *) "self",(char *) "path", NULL
11470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11474 arg2
= wxString_in_helper(obj1
);
11475 if (arg2
== NULL
) SWIG_fail
;
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 (arg1
)->SetPath((wxString
const &)*arg2
);
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11485 Py_INCREF(Py_None
); resultobj
= Py_None
;
11500 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11503 wxString
*arg2
= 0 ;
11504 bool temp2
= False
;
11505 PyObject
* obj0
= 0 ;
11506 PyObject
* obj1
= 0 ;
11507 char *kwnames
[] = {
11508 (char *) "self",(char *) "dir", NULL
11511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11515 arg2
= wxString_in_helper(obj1
);
11516 if (arg2
== NULL
) SWIG_fail
;
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11526 Py_INCREF(Py_None
); resultobj
= Py_None
;
11541 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11544 wxString
*arg2
= 0 ;
11545 bool temp2
= False
;
11546 PyObject
* obj0
= 0 ;
11547 PyObject
* obj1
= 0 ;
11548 char *kwnames
[] = {
11549 (char *) "self",(char *) "name", NULL
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11556 arg2
= wxString_in_helper(obj1
);
11557 if (arg2
== NULL
) SWIG_fail
;
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 (arg1
)->SetFilename((wxString
const &)*arg2
);
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11567 Py_INCREF(Py_None
); resultobj
= Py_None
;
11582 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11583 PyObject
*resultobj
;
11584 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11585 wxString
*arg2
= 0 ;
11586 bool temp2
= False
;
11587 PyObject
* obj0
= 0 ;
11588 PyObject
* obj1
= 0 ;
11589 char *kwnames
[] = {
11590 (char *) "self",(char *) "wildCard", NULL
11593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11597 arg2
= wxString_in_helper(obj1
);
11598 if (arg2
== NULL
) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 Py_INCREF(Py_None
); resultobj
= Py_None
;
11623 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
;
11625 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11627 PyObject
* obj0
= 0 ;
11628 PyObject
* obj1
= 0 ;
11629 char *kwnames
[] = {
11630 (char *) "self",(char *) "style", NULL
11633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11636 arg2
= (long) SWIG_AsLong(obj1
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 (arg1
)->SetStyle(arg2
);
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11645 Py_INCREF(Py_None
); resultobj
= Py_None
;
11652 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
;
11654 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11656 PyObject
* obj0
= 0 ;
11657 PyObject
* obj1
= 0 ;
11658 char *kwnames
[] = {
11659 (char *) "self",(char *) "filterIndex", NULL
11662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11665 arg2
= (int) SWIG_AsInt(obj1
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 (arg1
)->SetFilterIndex(arg2
);
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 Py_INCREF(Py_None
); resultobj
= Py_None
;
11681 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11682 PyObject
*resultobj
;
11683 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11685 PyObject
* obj0
= 0 ;
11686 char *kwnames
[] = {
11687 (char *) "self", NULL
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11713 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11714 PyObject
*resultobj
;
11715 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11717 PyObject
* obj0
= 0 ;
11718 char *kwnames
[] = {
11719 (char *) "self", NULL
11722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11727 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11745 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11746 PyObject
*resultobj
;
11747 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11749 PyObject
* obj0
= 0 ;
11750 char *kwnames
[] = {
11751 (char *) "self", NULL
11754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11766 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11768 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11777 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11778 PyObject
*resultobj
;
11779 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11781 PyObject
* obj0
= 0 ;
11782 char *kwnames
[] = {
11783 (char *) "self", NULL
11786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
11787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
11793 wxPyEndAllowThreads(__tstate
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11809 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11810 PyObject
*resultobj
;
11811 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11813 PyObject
* obj0
= 0 ;
11814 char *kwnames
[] = {
11815 (char *) "self", NULL
11818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
11819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11823 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11841 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11845 PyObject
* obj0
= 0 ;
11846 char *kwnames
[] = {
11847 (char *) "self", NULL
11850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11860 resultobj
= SWIG_FromLong((long)result
);
11867 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11868 PyObject
*resultobj
;
11869 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11871 PyObject
* obj0
= 0 ;
11872 char *kwnames
[] = {
11873 (char *) "self", NULL
11876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
11877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
11883 wxPyEndAllowThreads(__tstate
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11886 resultobj
= SWIG_FromInt((int)result
);
11893 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
;
11895 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11897 PyObject
* obj0
= 0 ;
11898 char *kwnames
[] = {
11899 (char *) "self", NULL
11902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
11903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= result
;
11919 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11920 PyObject
*resultobj
;
11921 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11923 PyObject
* obj0
= 0 ;
11924 char *kwnames
[] = {
11925 (char *) "self", NULL
11928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
11929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11933 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
11935 wxPyEndAllowThreads(__tstate
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11938 resultobj
= result
;
11945 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11948 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
11950 return Py_BuildValue((char *)"");
11952 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11953 PyObject
*resultobj
;
11954 wxWindow
*arg1
= (wxWindow
*) 0 ;
11955 wxString
*arg2
= 0 ;
11956 wxString
*arg3
= 0 ;
11957 int arg4
= (int) 0 ;
11958 wxString
*arg5
= (wxString
*) 0 ;
11959 long arg6
= (long) wxCHOICEDLG_STYLE
;
11960 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11961 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11962 wxMultiChoiceDialog
*result
;
11963 bool temp2
= False
;
11964 bool temp3
= False
;
11966 PyObject
* obj0
= 0 ;
11967 PyObject
* obj1
= 0 ;
11968 PyObject
* obj2
= 0 ;
11969 PyObject
* obj3
= 0 ;
11970 PyObject
* obj4
= 0 ;
11971 PyObject
* obj5
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11980 arg2
= wxString_in_helper(obj1
);
11981 if (arg2
== NULL
) SWIG_fail
;
11985 arg3
= wxString_in_helper(obj2
);
11986 if (arg3
== NULL
) SWIG_fail
;
11991 arg4
= PyList_Size(obj3
);
11992 arg5
= wxString_LIST_helper(obj3
);
11993 if (arg5
== NULL
) SWIG_fail
;
11997 arg6
= (long) SWIG_AsLong(obj4
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12003 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12023 if (arg5
) delete [] arg5
;
12036 if (arg5
) delete [] arg5
;
12042 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12043 PyObject
*resultobj
;
12044 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12045 wxArrayInt
*arg2
= 0 ;
12046 bool temp2
= False
;
12047 PyObject
* obj0
= 0 ;
12048 PyObject
* obj1
= 0 ;
12049 char *kwnames
[] = {
12050 (char *) "self",(char *) "selections", NULL
12053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12057 if (! PySequence_Check(obj1
)) {
12058 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12061 arg2
= new wxArrayInt
;
12063 int i
, len
=PySequence_Length(obj1
);
12064 for (i
=0; i
<len
; i
++) {
12065 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12066 PyObject
* number
= PyNumber_Int(item
);
12067 arg2
->Add(PyInt_AS_LONG(number
));
12073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12079 Py_INCREF(Py_None
); resultobj
= Py_None
;
12081 if (temp2
) delete arg2
;
12086 if (temp2
) delete arg2
;
12092 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12096 PyObject
* obj0
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= result
;
12118 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12121 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12123 return Py_BuildValue((char *)"");
12125 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
*resultobj
;
12127 wxWindow
*arg1
= (wxWindow
*) 0 ;
12128 wxString
*arg2
= 0 ;
12129 wxString
*arg3
= 0 ;
12131 wxString
*arg5
= (wxString
*) 0 ;
12132 long arg6
= (long) wxCHOICEDLG_STYLE
;
12133 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12134 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12135 wxSingleChoiceDialog
*result
;
12136 bool temp2
= False
;
12137 bool temp3
= False
;
12139 PyObject
* obj0
= 0 ;
12140 PyObject
* obj1
= 0 ;
12141 PyObject
* obj2
= 0 ;
12142 PyObject
* obj3
= 0 ;
12143 PyObject
* obj4
= 0 ;
12144 PyObject
* obj5
= 0 ;
12145 char *kwnames
[] = {
12146 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12153 arg2
= wxString_in_helper(obj1
);
12154 if (arg2
== NULL
) SWIG_fail
;
12158 arg3
= wxString_in_helper(obj2
);
12159 if (arg3
== NULL
) SWIG_fail
;
12163 arg4
= PyList_Size(obj3
);
12164 arg5
= wxString_LIST_helper(obj3
);
12165 if (arg5
== NULL
) SWIG_fail
;
12168 arg6
= (long) SWIG_AsLong(obj4
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12174 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12194 if (arg5
) delete [] arg5
;
12207 if (arg5
) delete [] arg5
;
12213 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12214 PyObject
*resultobj
;
12215 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12217 PyObject
* obj0
= 0 ;
12218 char *kwnames
[] = {
12219 (char *) "self", NULL
12222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12227 result
= (int)(arg1
)->GetSelection();
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12232 resultobj
= SWIG_FromInt((int)result
);
12239 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12240 PyObject
*resultobj
;
12241 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12243 PyObject
* obj0
= 0 ;
12244 char *kwnames
[] = {
12245 (char *) "self", NULL
12248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 result
= (arg1
)->GetStringSelection();
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12271 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
;
12273 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12275 PyObject
* obj0
= 0 ;
12276 PyObject
* obj1
= 0 ;
12277 char *kwnames
[] = {
12278 (char *) "self",(char *) "sel", NULL
12281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12284 arg2
= (int) SWIG_AsInt(obj1
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 (arg1
)->SetSelection(arg2
);
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12293 Py_INCREF(Py_None
); resultobj
= Py_None
;
12300 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12303 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12305 return Py_BuildValue((char *)"");
12307 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
;
12309 wxWindow
*arg1
= (wxWindow
*) 0 ;
12310 wxString
*arg2
= 0 ;
12311 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12312 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12313 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12314 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12315 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12316 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12317 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12318 wxTextEntryDialog
*result
;
12319 bool temp2
= False
;
12320 bool temp3
= False
;
12321 bool temp4
= False
;
12323 PyObject
* obj0
= 0 ;
12324 PyObject
* obj1
= 0 ;
12325 PyObject
* obj2
= 0 ;
12326 PyObject
* obj3
= 0 ;
12327 PyObject
* obj4
= 0 ;
12328 PyObject
* obj5
= 0 ;
12329 char *kwnames
[] = {
12330 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12337 arg2
= wxString_in_helper(obj1
);
12338 if (arg2
== NULL
) SWIG_fail
;
12343 arg3
= wxString_in_helper(obj2
);
12344 if (arg3
== NULL
) SWIG_fail
;
12350 arg4
= wxString_in_helper(obj3
);
12351 if (arg4
== NULL
) SWIG_fail
;
12356 arg5
= (long) SWIG_AsLong(obj4
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12362 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12403 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
;
12405 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12407 PyObject
* obj0
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "self", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 result
= (arg1
)->GetValue();
12419 wxPyEndAllowThreads(__tstate
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12435 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
;
12437 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12438 wxString
*arg2
= 0 ;
12439 bool temp2
= False
;
12440 PyObject
* obj0
= 0 ;
12441 PyObject
* obj1
= 0 ;
12442 char *kwnames
[] = {
12443 (char *) "self",(char *) "value", NULL
12446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12450 arg2
= wxString_in_helper(obj1
);
12451 if (arg2
== NULL
) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 (arg1
)->SetValue((wxString
const &)*arg2
);
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12461 Py_INCREF(Py_None
); resultobj
= Py_None
;
12476 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12479 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12481 return Py_BuildValue((char *)"");
12483 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
;
12485 wxFontData
*result
;
12486 char *kwnames
[] = {
12490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 result
= (wxFontData
*)new wxFontData();
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12505 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
;
12507 wxFontData
*arg1
= (wxFontData
*) 0 ;
12508 PyObject
* obj0
= 0 ;
12509 char *kwnames
[] = {
12510 (char *) "self", NULL
12513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 Py_INCREF(Py_None
); resultobj
= Py_None
;
12530 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
;
12532 wxFontData
*arg1
= (wxFontData
*) 0 ;
12534 PyObject
* obj0
= 0 ;
12535 PyObject
* obj1
= 0 ;
12536 char *kwnames
[] = {
12537 (char *) "self",(char *) "enable", NULL
12540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12543 arg2
= (bool) SWIG_AsBool(obj1
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 (arg1
)->EnableEffects(arg2
);
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12552 Py_INCREF(Py_None
); resultobj
= Py_None
;
12559 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
;
12561 wxFontData
*arg1
= (wxFontData
*) 0 ;
12563 PyObject
* obj0
= 0 ;
12564 char *kwnames
[] = {
12565 (char *) "self", NULL
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 result
= (bool)(arg1
)->GetAllowSymbols();
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12585 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
;
12587 wxFontData
*arg1
= (wxFontData
*) 0 ;
12589 PyObject
* obj0
= 0 ;
12590 char *kwnames
[] = {
12591 (char *) "self", NULL
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 result
= (arg1
)->GetColour();
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12605 wxColour
* resultptr
;
12606 resultptr
= new wxColour((wxColour
&) result
);
12607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12615 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12616 PyObject
*resultobj
;
12617 wxFontData
*arg1
= (wxFontData
*) 0 ;
12619 PyObject
* obj0
= 0 ;
12620 char *kwnames
[] = {
12621 (char *) "self", NULL
12624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 result
= (arg1
)->GetChosenFont();
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12635 wxFont
* resultptr
;
12636 resultptr
= new wxFont((wxFont
&) result
);
12637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12645 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
;
12647 wxFontData
*arg1
= (wxFontData
*) 0 ;
12649 PyObject
* obj0
= 0 ;
12650 char *kwnames
[] = {
12651 (char *) "self", NULL
12654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12659 result
= (bool)(arg1
)->GetEnableEffects();
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12671 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12672 PyObject
*resultobj
;
12673 wxFontData
*arg1
= (wxFontData
*) 0 ;
12675 PyObject
* obj0
= 0 ;
12676 char *kwnames
[] = {
12677 (char *) "self", NULL
12680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12685 result
= (arg1
)->GetInitialFont();
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12691 wxFont
* resultptr
;
12692 resultptr
= new wxFont((wxFont
&) result
);
12693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12701 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12702 PyObject
*resultobj
;
12703 wxFontData
*arg1
= (wxFontData
*) 0 ;
12705 PyObject
* obj0
= 0 ;
12706 char *kwnames
[] = {
12707 (char *) "self", NULL
12710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 result
= (bool)(arg1
)->GetShowHelp();
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12727 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12728 PyObject
*resultobj
;
12729 wxFontData
*arg1
= (wxFontData
*) 0 ;
12731 PyObject
* obj0
= 0 ;
12732 PyObject
* obj1
= 0 ;
12733 char *kwnames
[] = {
12734 (char *) "self",(char *) "allowSymbols", NULL
12737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12740 arg2
= (bool) SWIG_AsBool(obj1
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 (arg1
)->SetAllowSymbols(arg2
);
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 Py_INCREF(Py_None
); resultobj
= Py_None
;
12756 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
;
12758 wxFontData
*arg1
= (wxFontData
*) 0 ;
12760 PyObject
* obj0
= 0 ;
12761 PyObject
* obj1
= 0 ;
12762 char *kwnames
[] = {
12763 (char *) "self",(char *) "font", NULL
12766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12772 if (arg2
== NULL
) {
12773 PyErr_SetString(PyExc_TypeError
,"null reference");
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 Py_INCREF(Py_None
); resultobj
= Py_None
;
12790 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
;
12792 wxFontData
*arg1
= (wxFontData
*) 0 ;
12793 wxColour
*arg2
= 0 ;
12795 PyObject
* obj0
= 0 ;
12796 PyObject
* obj1
= 0 ;
12797 char *kwnames
[] = {
12798 (char *) "self",(char *) "colour", NULL
12801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12806 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 (arg1
)->SetColour((wxColour
const &)*arg2
);
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 Py_INCREF(Py_None
); resultobj
= Py_None
;
12822 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
;
12824 wxFontData
*arg1
= (wxFontData
*) 0 ;
12826 PyObject
* obj0
= 0 ;
12827 PyObject
* obj1
= 0 ;
12828 char *kwnames
[] = {
12829 (char *) "self",(char *) "font", NULL
12832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12836 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12838 if (arg2
== NULL
) {
12839 PyErr_SetString(PyExc_TypeError
,"null reference");
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12849 Py_INCREF(Py_None
); resultobj
= Py_None
;
12856 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
;
12858 wxFontData
*arg1
= (wxFontData
*) 0 ;
12861 PyObject
* obj0
= 0 ;
12862 PyObject
* obj1
= 0 ;
12863 PyObject
* obj2
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self",(char *) "min",(char *) "max", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12871 arg2
= (int) SWIG_AsInt(obj1
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12873 arg3
= (int) SWIG_AsInt(obj2
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 (arg1
)->SetRange(arg2
,arg3
);
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12882 Py_INCREF(Py_None
); resultobj
= Py_None
;
12889 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12890 PyObject
*resultobj
;
12891 wxFontData
*arg1
= (wxFontData
*) 0 ;
12893 PyObject
* obj0
= 0 ;
12894 PyObject
* obj1
= 0 ;
12895 char *kwnames
[] = {
12896 (char *) "self",(char *) "showHelp", NULL
12899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
12900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12902 arg2
= (bool) SWIG_AsBool(obj1
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 (arg1
)->SetShowHelp(arg2
);
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12911 Py_INCREF(Py_None
); resultobj
= Py_None
;
12918 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
12920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12921 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
12923 return Py_BuildValue((char *)"");
12925 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
;
12927 wxWindow
*arg1
= (wxWindow
*) 0 ;
12928 wxFontData
*arg2
= 0 ;
12929 wxFontDialog
*result
;
12930 PyObject
* obj0
= 0 ;
12931 PyObject
* obj1
= 0 ;
12932 char *kwnames
[] = {
12933 (char *) "parent",(char *) "data", NULL
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
12937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
12940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12942 if (arg2
== NULL
) {
12943 PyErr_SetString(PyExc_TypeError
,"null reference");
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
12960 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12961 PyObject
*resultobj
;
12962 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
12963 wxFontData
*result
;
12964 PyObject
* obj0
= 0 ;
12965 char *kwnames
[] = {
12966 (char *) "self", NULL
12969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
12970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
12971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 wxFontData
&_result_ref
= (arg1
)->GetFontData();
12976 result
= (wxFontData
*) &_result_ref
;
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
12989 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12992 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
12994 return Py_BuildValue((char *)"");
12996 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12997 PyObject
*resultobj
;
12998 wxWindow
*arg1
= (wxWindow
*) 0 ;
12999 wxString
*arg2
= 0 ;
13000 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13001 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13002 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13003 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13004 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13005 wxMessageDialog
*result
;
13006 bool temp2
= False
;
13007 bool temp3
= False
;
13009 PyObject
* obj0
= 0 ;
13010 PyObject
* obj1
= 0 ;
13011 PyObject
* obj2
= 0 ;
13012 PyObject
* obj3
= 0 ;
13013 PyObject
* obj4
= 0 ;
13014 char *kwnames
[] = {
13015 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13022 arg2
= wxString_in_helper(obj1
);
13023 if (arg2
== NULL
) SWIG_fail
;
13028 arg3
= wxString_in_helper(obj2
);
13029 if (arg3
== NULL
) SWIG_fail
;
13034 arg4
= (long) SWIG_AsLong(obj3
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13040 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13073 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13076 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13078 return Py_BuildValue((char *)"");
13080 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13081 PyObject
*resultobj
;
13082 wxString
*arg1
= 0 ;
13083 wxString
*arg2
= 0 ;
13084 int arg3
= (int) 100 ;
13085 wxWindow
*arg4
= (wxWindow
*) NULL
;
13086 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13087 wxProgressDialog
*result
;
13088 bool temp1
= False
;
13089 bool temp2
= False
;
13090 PyObject
* obj0
= 0 ;
13091 PyObject
* obj1
= 0 ;
13092 PyObject
* obj2
= 0 ;
13093 PyObject
* obj3
= 0 ;
13094 PyObject
* obj4
= 0 ;
13095 char *kwnames
[] = {
13096 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13101 arg1
= wxString_in_helper(obj0
);
13102 if (arg1
== NULL
) SWIG_fail
;
13106 arg2
= wxString_in_helper(obj1
);
13107 if (arg2
== NULL
) SWIG_fail
;
13111 arg3
= (int) SWIG_AsInt(obj2
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13115 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13119 arg5
= (int) SWIG_AsInt(obj4
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13152 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13153 PyObject
*resultobj
;
13154 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13156 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13157 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13159 bool temp3
= False
;
13160 PyObject
* obj0
= 0 ;
13161 PyObject
* obj1
= 0 ;
13162 PyObject
* obj2
= 0 ;
13163 char *kwnames
[] = {
13164 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13170 arg2
= (int) SWIG_AsInt(obj1
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13174 arg3
= wxString_in_helper(obj2
);
13175 if (arg3
== NULL
) SWIG_fail
;
13180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13181 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13183 wxPyEndAllowThreads(__tstate
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13201 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
;
13203 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13204 PyObject
* obj0
= 0 ;
13205 char *kwnames
[] = {
13206 (char *) "self", NULL
13209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 Py_INCREF(Py_None
); resultobj
= Py_None
;
13226 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13229 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13231 return Py_BuildValue((char *)"");
13233 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13234 PyObject
*resultobj
;
13235 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13236 int arg2
= (int) 0 ;
13237 wxFindDialogEvent
*result
;
13238 PyObject
* obj0
= 0 ;
13239 PyObject
* obj1
= 0 ;
13240 char *kwnames
[] = {
13241 (char *) "commandType",(char *) "id", NULL
13244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13246 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13250 arg2
= (int) SWIG_AsInt(obj1
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13267 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
;
13269 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13271 PyObject
* obj0
= 0 ;
13272 char *kwnames
[] = {
13273 (char *) "self", NULL
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 result
= (int)(arg1
)->GetFlags();
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13286 resultobj
= SWIG_FromInt((int)result
);
13293 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13294 PyObject
*resultobj
;
13295 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13297 PyObject
* obj0
= 0 ;
13298 char *kwnames
[] = {
13299 (char *) "self", NULL
13302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
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_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13329 PyObject
*resultobj
;
13330 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13332 PyObject
* obj0
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "self", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
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_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13364 PyObject
*resultobj
;
13365 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13366 wxFindReplaceDialog
*result
;
13367 PyObject
* obj0
= 0 ;
13368 char *kwnames
[] = {
13369 (char *) "self", NULL
13372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13379 wxPyEndAllowThreads(__tstate
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13389 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
*resultobj
;
13391 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 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:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
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_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
;
13420 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 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:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
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_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
;
13461 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 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:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
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
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13503 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13505 return Py_BuildValue((char *)"");
13507 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
*resultobj
;
13509 int arg1
= (int) 0 ;
13510 wxFindReplaceData
*result
;
13511 PyObject
* obj0
= 0 ;
13512 char *kwnames
[] = {
13513 (char *) "flags", NULL
13516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13518 arg1
= (int) SWIG_AsInt(obj0
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13535 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13538 PyObject
* obj0
= 0 ;
13539 char *kwnames
[] = {
13540 (char *) "self", NULL
13543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 Py_INCREF(Py_None
); resultobj
= Py_None
;
13560 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
;
13562 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13564 PyObject
* obj0
= 0 ;
13565 char *kwnames
[] = {
13566 (char *) "self", NULL
13569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 wxString
const &_result_ref
= (arg1
)->GetFindString();
13576 result
= (wxString
*) &_result_ref
;
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13586 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13595 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
;
13597 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13599 PyObject
* obj0
= 0 ;
13600 char *kwnames
[] = {
13601 (char *) "self", NULL
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13611 result
= (wxString
*) &_result_ref
;
13614 wxPyEndAllowThreads(__tstate
);
13615 if (PyErr_Occurred()) SWIG_fail
;
13619 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13621 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13630 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13631 PyObject
*resultobj
;
13632 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13634 PyObject
* obj0
= 0 ;
13635 char *kwnames
[] = {
13636 (char *) "self", NULL
13639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13644 result
= (int)(arg1
)->GetFlags();
13646 wxPyEndAllowThreads(__tstate
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13649 resultobj
= SWIG_FromInt((int)result
);
13656 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13657 PyObject
*resultobj
;
13658 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13660 PyObject
* obj0
= 0 ;
13661 PyObject
* obj1
= 0 ;
13662 char *kwnames
[] = {
13663 (char *) "self",(char *) "flags", NULL
13666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13669 arg2
= (int) SWIG_AsInt(obj1
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13673 (arg1
)->SetFlags(arg2
);
13675 wxPyEndAllowThreads(__tstate
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13678 Py_INCREF(Py_None
); resultobj
= Py_None
;
13685 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
*resultobj
;
13687 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13688 wxString
*arg2
= 0 ;
13689 bool temp2
= False
;
13690 PyObject
* obj0
= 0 ;
13691 PyObject
* obj1
= 0 ;
13692 char *kwnames
[] = {
13693 (char *) "self",(char *) "str", NULL
13696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13700 arg2
= wxString_in_helper(obj1
);
13701 if (arg2
== NULL
) SWIG_fail
;
13705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 (arg1
)->SetFindString((wxString
const &)*arg2
);
13708 wxPyEndAllowThreads(__tstate
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13711 Py_INCREF(Py_None
); resultobj
= Py_None
;
13726 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
;
13728 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13729 wxString
*arg2
= 0 ;
13730 bool temp2
= False
;
13731 PyObject
* obj0
= 0 ;
13732 PyObject
* obj1
= 0 ;
13733 char *kwnames
[] = {
13734 (char *) "self",(char *) "str", NULL
13737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13741 arg2
= wxString_in_helper(obj1
);
13742 if (arg2
== NULL
) SWIG_fail
;
13746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13747 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 Py_INCREF(Py_None
); resultobj
= Py_None
;
13767 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
13769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13770 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
13772 return Py_BuildValue((char *)"");
13774 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13775 PyObject
*resultobj
;
13776 wxWindow
*arg1
= (wxWindow
*) 0 ;
13777 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13778 wxString
*arg3
= 0 ;
13779 int arg4
= (int) 0 ;
13780 wxFindReplaceDialog
*result
;
13781 bool temp3
= False
;
13782 PyObject
* obj0
= 0 ;
13783 PyObject
* obj1
= 0 ;
13784 PyObject
* obj2
= 0 ;
13785 PyObject
* obj3
= 0 ;
13786 char *kwnames
[] = {
13787 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13796 arg3
= wxString_in_helper(obj2
);
13797 if (arg3
== NULL
) SWIG_fail
;
13801 arg4
= (int) SWIG_AsInt(obj3
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13806 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13826 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
;
13828 wxFindReplaceDialog
*result
;
13829 char *kwnames
[] = {
13833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13848 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
;
13850 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13851 wxWindow
*arg2
= (wxWindow
*) 0 ;
13852 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
13853 wxString
*arg4
= 0 ;
13854 int arg5
= (int) 0 ;
13856 bool temp4
= False
;
13857 PyObject
* obj0
= 0 ;
13858 PyObject
* obj1
= 0 ;
13859 PyObject
* obj2
= 0 ;
13860 PyObject
* obj3
= 0 ;
13861 PyObject
* obj4
= 0 ;
13862 char *kwnames
[] = {
13863 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13871 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
13872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13874 arg4
= wxString_in_helper(obj3
);
13875 if (arg4
== NULL
) SWIG_fail
;
13879 arg5
= (int) SWIG_AsInt(obj4
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13884 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13904 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13905 PyObject
*resultobj
;
13906 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13907 wxFindReplaceData
*result
;
13908 PyObject
* obj0
= 0 ;
13909 char *kwnames
[] = {
13910 (char *) "self", NULL
13913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
13914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13918 result
= (wxFindReplaceData
*)(arg1
)->GetData();
13920 wxPyEndAllowThreads(__tstate
);
13921 if (PyErr_Occurred()) SWIG_fail
;
13923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
13930 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
;
13932 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13933 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13934 PyObject
* obj0
= 0 ;
13935 PyObject
* obj1
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "self",(char *) "data", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
13941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13947 (arg1
)->SetData(arg2
);
13949 wxPyEndAllowThreads(__tstate
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13952 Py_INCREF(Py_None
); resultobj
= Py_None
;
13959 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13962 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
13964 return Py_BuildValue((char *)"");
13966 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
;
13968 wxWindow
*arg1
= (wxWindow
*) 0 ;
13970 wxString
*arg3
= 0 ;
13971 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13972 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13973 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13974 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13975 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
13976 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13977 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13978 wxMDIParentFrame
*result
;
13979 bool temp3
= False
;
13982 bool temp7
= False
;
13983 PyObject
* obj0
= 0 ;
13984 PyObject
* obj1
= 0 ;
13985 PyObject
* obj2
= 0 ;
13986 PyObject
* obj3
= 0 ;
13987 PyObject
* obj4
= 0 ;
13988 PyObject
* obj5
= 0 ;
13989 PyObject
* obj6
= 0 ;
13990 char *kwnames
[] = {
13991 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13997 arg2
= (int const) SWIG_AsInt(obj1
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14000 arg3
= wxString_in_helper(obj2
);
14001 if (arg3
== NULL
) SWIG_fail
;
14007 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14013 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14017 arg6
= (long) SWIG_AsLong(obj5
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14022 arg7
= wxString_in_helper(obj6
);
14023 if (arg7
== NULL
) SWIG_fail
;
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14057 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14058 PyObject
*resultobj
;
14059 wxMDIParentFrame
*result
;
14060 char *kwnames
[] = {
14064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14067 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14069 wxPyEndAllowThreads(__tstate
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14079 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14080 PyObject
*resultobj
;
14081 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14082 wxWindow
*arg2
= (wxWindow
*) 0 ;
14084 wxString
*arg4
= 0 ;
14085 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14086 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14087 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14088 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14089 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14090 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14091 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14093 bool temp4
= False
;
14096 bool temp8
= False
;
14097 PyObject
* obj0
= 0 ;
14098 PyObject
* obj1
= 0 ;
14099 PyObject
* obj2
= 0 ;
14100 PyObject
* obj3
= 0 ;
14101 PyObject
* obj4
= 0 ;
14102 PyObject
* obj5
= 0 ;
14103 PyObject
* obj6
= 0 ;
14104 PyObject
* obj7
= 0 ;
14105 char *kwnames
[] = {
14106 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14114 arg3
= (int const) SWIG_AsInt(obj2
);
14115 if (PyErr_Occurred()) SWIG_fail
;
14117 arg4
= wxString_in_helper(obj3
);
14118 if (arg4
== NULL
) SWIG_fail
;
14124 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14130 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14134 arg7
= (long) SWIG_AsLong(obj6
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14139 arg8
= wxString_in_helper(obj7
);
14140 if (arg8
== NULL
) SWIG_fail
;
14145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14146 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14148 wxPyEndAllowThreads(__tstate
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14174 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14175 PyObject
*resultobj
;
14176 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14177 PyObject
* obj0
= 0 ;
14178 char *kwnames
[] = {
14179 (char *) "self", NULL
14182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14187 (arg1
)->ActivateNext();
14189 wxPyEndAllowThreads(__tstate
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14192 Py_INCREF(Py_None
); resultobj
= Py_None
;
14199 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14200 PyObject
*resultobj
;
14201 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14202 PyObject
* obj0
= 0 ;
14203 char *kwnames
[] = {
14204 (char *) "self", NULL
14207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 (arg1
)->ActivatePrevious();
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14217 Py_INCREF(Py_None
); resultobj
= Py_None
;
14224 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14227 PyObject
* obj0
= 0 ;
14228 char *kwnames
[] = {
14229 (char *) "self", NULL
14232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14237 (arg1
)->ArrangeIcons();
14239 wxPyEndAllowThreads(__tstate
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14242 Py_INCREF(Py_None
); resultobj
= Py_None
;
14249 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
;
14251 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14252 PyObject
* obj0
= 0 ;
14253 char *kwnames
[] = {
14254 (char *) "self", NULL
14257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 Py_INCREF(Py_None
); resultobj
= Py_None
;
14274 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
;
14276 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14277 wxMDIChildFrame
*result
;
14278 PyObject
* obj0
= 0 ;
14279 char *kwnames
[] = {
14280 (char *) "self", NULL
14283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14294 resultobj
= wxPyMake_wxObject(result
);
14302 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14305 wxMDIClientWindow
*result
;
14306 PyObject
* obj0
= 0 ;
14307 char *kwnames
[] = {
14308 (char *) "self", NULL
14311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14316 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14322 resultobj
= wxPyMake_wxObject(result
);
14330 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14331 PyObject
*resultobj
;
14332 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14334 PyObject
* obj0
= 0 ;
14335 char *kwnames
[] = {
14336 (char *) "self", NULL
14339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14344 result
= (wxWindow
*)(arg1
)->GetToolBar();
14346 wxPyEndAllowThreads(__tstate
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= wxPyMake_wxObject(result
);
14358 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14359 PyObject
*resultobj
;
14360 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14361 PyObject
* obj0
= 0 ;
14362 char *kwnames
[] = {
14363 (char *) "self", NULL
14366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 Py_INCREF(Py_None
); resultobj
= Py_None
;
14383 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14386 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14388 return Py_BuildValue((char *)"");
14390 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14391 PyObject
*resultobj
;
14392 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14394 wxString
*arg3
= 0 ;
14395 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14396 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14397 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14398 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14399 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14400 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14401 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14402 wxMDIChildFrame
*result
;
14403 bool temp3
= False
;
14406 bool temp7
= False
;
14407 PyObject
* obj0
= 0 ;
14408 PyObject
* obj1
= 0 ;
14409 PyObject
* obj2
= 0 ;
14410 PyObject
* obj3
= 0 ;
14411 PyObject
* obj4
= 0 ;
14412 PyObject
* obj5
= 0 ;
14413 PyObject
* obj6
= 0 ;
14414 char *kwnames
[] = {
14415 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14421 arg2
= (int const) SWIG_AsInt(obj1
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14424 arg3
= wxString_in_helper(obj2
);
14425 if (arg3
== NULL
) SWIG_fail
;
14431 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14437 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14441 arg6
= (long) SWIG_AsLong(obj5
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14446 arg7
= wxString_in_helper(obj6
);
14447 if (arg7
== NULL
) SWIG_fail
;
14452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14453 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14455 wxPyEndAllowThreads(__tstate
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14459 resultobj
= wxPyMake_wxObject(result
);
14483 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
;
14485 wxMDIChildFrame
*result
;
14486 char *kwnames
[] = {
14490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14495 wxPyEndAllowThreads(__tstate
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14499 resultobj
= wxPyMake_wxObject(result
);
14507 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
;
14509 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14510 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14512 wxString
*arg4
= 0 ;
14513 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14514 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14515 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14516 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14517 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14518 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14519 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14521 bool temp4
= False
;
14524 bool temp8
= False
;
14525 PyObject
* obj0
= 0 ;
14526 PyObject
* obj1
= 0 ;
14527 PyObject
* obj2
= 0 ;
14528 PyObject
* obj3
= 0 ;
14529 PyObject
* obj4
= 0 ;
14530 PyObject
* obj5
= 0 ;
14531 PyObject
* obj6
= 0 ;
14532 PyObject
* obj7
= 0 ;
14533 char *kwnames
[] = {
14534 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14542 arg3
= (int const) SWIG_AsInt(obj2
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 arg4
= wxString_in_helper(obj3
);
14546 if (arg4
== NULL
) SWIG_fail
;
14552 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14558 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14562 arg7
= (long) SWIG_AsLong(obj6
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14567 arg8
= wxString_in_helper(obj7
);
14568 if (arg8
== NULL
) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14602 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
;
14604 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14605 PyObject
* obj0
= 0 ;
14606 char *kwnames
[] = {
14607 (char *) "self", NULL
14610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14615 (arg1
)->Activate();
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14620 Py_INCREF(Py_None
); resultobj
= Py_None
;
14627 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
;
14629 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14631 PyObject
* obj0
= 0 ;
14632 PyObject
* obj1
= 0 ;
14633 char *kwnames
[] = {
14634 (char *) "self",(char *) "maximize", NULL
14637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14640 arg2
= (bool) SWIG_AsBool(obj1
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 (arg1
)->Maximize(arg2
);
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14649 Py_INCREF(Py_None
); resultobj
= Py_None
;
14656 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14657 PyObject
*resultobj
;
14658 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14659 PyObject
* obj0
= 0 ;
14660 char *kwnames
[] = {
14661 (char *) "self", NULL
14664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14671 wxPyEndAllowThreads(__tstate
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14674 Py_INCREF(Py_None
); resultobj
= Py_None
;
14681 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14684 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14686 return Py_BuildValue((char *)"");
14688 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14689 PyObject
*resultobj
;
14690 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14691 long arg2
= (long) 0 ;
14692 wxMDIClientWindow
*result
;
14693 PyObject
* obj0
= 0 ;
14694 PyObject
* obj1
= 0 ;
14695 char *kwnames
[] = {
14696 (char *) "parent",(char *) "style", NULL
14699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14703 arg2
= (long) SWIG_AsLong(obj1
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14710 wxPyEndAllowThreads(__tstate
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14714 resultobj
= wxPyMake_wxObject(result
);
14722 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14723 PyObject
*resultobj
;
14724 wxMDIClientWindow
*result
;
14725 char *kwnames
[] = {
14729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14732 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14734 wxPyEndAllowThreads(__tstate
);
14735 if (PyErr_Occurred()) SWIG_fail
;
14738 resultobj
= wxPyMake_wxObject(result
);
14746 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
;
14748 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14749 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14750 long arg3
= (long) 0 ;
14752 PyObject
* obj0
= 0 ;
14753 PyObject
* obj1
= 0 ;
14754 PyObject
* obj2
= 0 ;
14755 char *kwnames
[] = {
14756 (char *) "self",(char *) "parent",(char *) "style", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
14761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14765 arg3
= (long) SWIG_AsLong(obj2
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 result
= (bool)(arg1
)->Create(arg2
,arg3
);
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14782 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
14784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14785 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
14787 return Py_BuildValue((char *)"");
14789 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxWindow
*arg1
= (wxWindow
*) 0 ;
14793 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14794 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14795 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14796 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14797 long arg5
= (long) 0 ;
14798 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14799 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14800 wxPyWindow
*result
;
14803 bool temp6
= False
;
14804 PyObject
* obj0
= 0 ;
14805 PyObject
* obj1
= 0 ;
14806 PyObject
* obj2
= 0 ;
14807 PyObject
* obj3
= 0 ;
14808 PyObject
* obj4
= 0 ;
14809 PyObject
* obj5
= 0 ;
14810 char *kwnames
[] = {
14811 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14817 arg2
= (int const) SWIG_AsInt(obj1
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14822 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14828 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14832 arg5
= (long) SWIG_AsLong(obj4
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14837 arg6
= wxString_in_helper(obj5
);
14838 if (arg6
== NULL
) SWIG_fail
;
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14846 wxPyEndAllowThreads(__tstate
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
14864 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
;
14866 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14867 PyObject
*arg2
= (PyObject
*) 0 ;
14868 PyObject
*arg3
= (PyObject
*) 0 ;
14869 PyObject
* obj0
= 0 ;
14870 PyObject
* obj1
= 0 ;
14871 PyObject
* obj2
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self",(char *) "self",(char *) "_class", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14883 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14885 wxPyEndAllowThreads(__tstate
);
14886 if (PyErr_Occurred()) SWIG_fail
;
14888 Py_INCREF(Py_None
); resultobj
= Py_None
;
14895 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14896 PyObject
*resultobj
;
14897 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14902 PyObject
* obj0
= 0 ;
14903 PyObject
* obj1
= 0 ;
14904 PyObject
* obj2
= 0 ;
14905 PyObject
* obj3
= 0 ;
14906 PyObject
* obj4
= 0 ;
14907 char *kwnames
[] = {
14908 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14914 arg2
= (int) SWIG_AsInt(obj1
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14916 arg3
= (int) SWIG_AsInt(obj2
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14918 arg4
= (int) SWIG_AsInt(obj3
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14920 arg5
= (int) SWIG_AsInt(obj4
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14926 wxPyEndAllowThreads(__tstate
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14929 Py_INCREF(Py_None
); resultobj
= Py_None
;
14936 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
;
14938 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14943 int arg6
= (int) wxSIZE_AUTO
;
14944 PyObject
* obj0
= 0 ;
14945 PyObject
* obj1
= 0 ;
14946 PyObject
* obj2
= 0 ;
14947 PyObject
* obj3
= 0 ;
14948 PyObject
* obj4
= 0 ;
14949 PyObject
* obj5
= 0 ;
14950 char *kwnames
[] = {
14951 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14957 arg2
= (int) SWIG_AsInt(obj1
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14959 arg3
= (int) SWIG_AsInt(obj2
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14961 arg4
= (int) SWIG_AsInt(obj3
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14963 arg5
= (int) SWIG_AsInt(obj4
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14966 arg6
= (int) SWIG_AsInt(obj5
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14976 Py_INCREF(Py_None
); resultobj
= Py_None
;
14983 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14984 PyObject
*resultobj
;
14985 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 PyObject
* obj1
= 0 ;
14990 PyObject
* obj2
= 0 ;
14991 char *kwnames
[] = {
14992 (char *) "self",(char *) "width",(char *) "height", NULL
14995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14998 arg2
= (int) SWIG_AsInt(obj1
);
14999 if (PyErr_Occurred()) SWIG_fail
;
15000 arg3
= (int) SWIG_AsInt(obj2
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15004 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15009 Py_INCREF(Py_None
); resultobj
= Py_None
;
15016 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
;
15018 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15021 PyObject
* obj0
= 0 ;
15022 PyObject
* obj1
= 0 ;
15023 PyObject
* obj2
= 0 ;
15024 char *kwnames
[] = {
15025 (char *) "self",(char *) "x",(char *) "y", NULL
15028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15031 arg2
= (int) SWIG_AsInt(obj1
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15033 arg3
= (int) SWIG_AsInt(obj2
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15037 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15039 wxPyEndAllowThreads(__tstate
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15042 Py_INCREF(Py_None
); resultobj
= Py_None
;
15049 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15050 PyObject
*resultobj
;
15051 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15052 int *arg2
= (int *) 0 ;
15053 int *arg3
= (int *) 0 ;
15056 PyObject
* obj0
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "self", NULL
15063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15068 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15070 wxPyEndAllowThreads(__tstate
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15073 Py_INCREF(Py_None
); resultobj
= Py_None
;
15075 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15076 resultobj
= t_output_helper(resultobj
,o
);
15079 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15080 resultobj
= t_output_helper(resultobj
,o
);
15088 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15091 int *arg2
= (int *) 0 ;
15092 int *arg3
= (int *) 0 ;
15095 PyObject
* obj0
= 0 ;
15096 char *kwnames
[] = {
15097 (char *) "self", NULL
15102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 Py_INCREF(Py_None
); resultobj
= Py_None
;
15114 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15115 resultobj
= t_output_helper(resultobj
,o
);
15118 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15119 resultobj
= t_output_helper(resultobj
,o
);
15127 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15128 PyObject
*resultobj
;
15129 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15130 int *arg2
= (int *) 0 ;
15131 int *arg3
= (int *) 0 ;
15134 PyObject
* obj0
= 0 ;
15135 char *kwnames
[] = {
15136 (char *) "self", NULL
15141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15148 wxPyEndAllowThreads(__tstate
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15151 Py_INCREF(Py_None
); resultobj
= Py_None
;
15153 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15154 resultobj
= t_output_helper(resultobj
,o
);
15157 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15158 resultobj
= t_output_helper(resultobj
,o
);
15166 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
;
15168 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15170 PyObject
* obj0
= 0 ;
15171 char *kwnames
[] = {
15172 (char *) "self", NULL
15175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15180 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15186 wxSize
* resultptr
;
15187 resultptr
= new wxSize((wxSize
&) result
);
15188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15196 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15197 PyObject
*resultobj
;
15198 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15200 PyObject
* obj0
= 0 ;
15201 char *kwnames
[] = {
15202 (char *) "self", NULL
15205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15210 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15216 wxSize
* resultptr
;
15217 resultptr
= new wxSize((wxSize
&) result
);
15218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15226 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15229 PyObject
* obj0
= 0 ;
15230 char *kwnames
[] = {
15231 (char *) "self", NULL
15234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 (arg1
)->base_InitDialog();
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 Py_INCREF(Py_None
); resultobj
= Py_None
;
15251 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15255 PyObject
* obj0
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "self", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15265 result
= (bool)(arg1
)->base_TransferDataToWindow();
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15277 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
;
15279 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15281 PyObject
* obj0
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "self", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15291 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15293 wxPyEndAllowThreads(__tstate
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15303 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15304 PyObject
*resultobj
;
15305 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15307 PyObject
* obj0
= 0 ;
15308 char *kwnames
[] = {
15309 (char *) "self", NULL
15312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 result
= (bool)(arg1
)->base_Validate();
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15329 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
;
15331 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15333 PyObject
* obj0
= 0 ;
15334 char *kwnames
[] = {
15335 (char *) "self", NULL
15338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15343 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15355 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15356 PyObject
*resultobj
;
15357 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15359 PyObject
* obj0
= 0 ;
15360 char *kwnames
[] = {
15361 (char *) "self", NULL
15364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15369 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15381 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15382 PyObject
*resultobj
;
15383 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15385 PyObject
* obj0
= 0 ;
15386 char *kwnames
[] = {
15387 (char *) "self", NULL
15390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15401 wxSize
* resultptr
;
15402 resultptr
= new wxSize((wxSize
&) result
);
15403 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15411 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
;
15413 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15414 wxWindow
*arg2
= (wxWindow
*) 0 ;
15415 PyObject
* obj0
= 0 ;
15416 PyObject
* obj1
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "self",(char *) "child", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15428 (arg1
)->base_AddChild(arg2
);
15430 wxPyEndAllowThreads(__tstate
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15433 Py_INCREF(Py_None
); resultobj
= Py_None
;
15440 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15441 PyObject
*resultobj
;
15442 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15443 wxWindow
*arg2
= (wxWindow
*) 0 ;
15444 PyObject
* obj0
= 0 ;
15445 PyObject
* obj1
= 0 ;
15446 char *kwnames
[] = {
15447 (char *) "self",(char *) "child", NULL
15450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 (arg1
)->base_RemoveChild(arg2
);
15459 wxPyEndAllowThreads(__tstate
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15462 Py_INCREF(Py_None
); resultobj
= Py_None
;
15469 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15472 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15474 return Py_BuildValue((char *)"");
15476 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15477 PyObject
*resultobj
;
15478 wxWindow
*arg1
= (wxWindow
*) 0 ;
15480 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15481 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15482 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15483 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15484 long arg5
= (long) 0 ;
15485 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15486 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15490 bool temp6
= False
;
15491 PyObject
* obj0
= 0 ;
15492 PyObject
* obj1
= 0 ;
15493 PyObject
* obj2
= 0 ;
15494 PyObject
* obj3
= 0 ;
15495 PyObject
* obj4
= 0 ;
15496 PyObject
* obj5
= 0 ;
15497 char *kwnames
[] = {
15498 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15504 arg2
= (int const) SWIG_AsInt(obj1
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15509 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15515 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15519 arg5
= (long) SWIG_AsLong(obj4
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15524 arg6
= wxString_in_helper(obj5
);
15525 if (arg6
== NULL
) SWIG_fail
;
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15551 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15552 PyObject
*resultobj
;
15553 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15554 PyObject
*arg2
= (PyObject
*) 0 ;
15555 PyObject
*arg3
= (PyObject
*) 0 ;
15556 PyObject
* obj0
= 0 ;
15557 PyObject
* obj1
= 0 ;
15558 PyObject
* obj2
= 0 ;
15559 char *kwnames
[] = {
15560 (char *) "self",(char *) "self",(char *) "_class", NULL
15563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15575 Py_INCREF(Py_None
); resultobj
= Py_None
;
15582 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
;
15584 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15589 PyObject
* obj0
= 0 ;
15590 PyObject
* obj1
= 0 ;
15591 PyObject
* obj2
= 0 ;
15592 PyObject
* obj3
= 0 ;
15593 PyObject
* obj4
= 0 ;
15594 char *kwnames
[] = {
15595 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15601 arg2
= (int) SWIG_AsInt(obj1
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15603 arg3
= (int) SWIG_AsInt(obj2
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15605 arg4
= (int) SWIG_AsInt(obj3
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15607 arg5
= (int) SWIG_AsInt(obj4
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15613 wxPyEndAllowThreads(__tstate
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15616 Py_INCREF(Py_None
); resultobj
= Py_None
;
15623 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15624 PyObject
*resultobj
;
15625 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15630 int arg6
= (int) wxSIZE_AUTO
;
15631 PyObject
* obj0
= 0 ;
15632 PyObject
* obj1
= 0 ;
15633 PyObject
* obj2
= 0 ;
15634 PyObject
* obj3
= 0 ;
15635 PyObject
* obj4
= 0 ;
15636 PyObject
* obj5
= 0 ;
15637 char *kwnames
[] = {
15638 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15644 arg2
= (int) SWIG_AsInt(obj1
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15646 arg3
= (int) SWIG_AsInt(obj2
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15648 arg4
= (int) SWIG_AsInt(obj3
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15650 arg5
= (int) SWIG_AsInt(obj4
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15653 arg6
= (int) SWIG_AsInt(obj5
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15663 Py_INCREF(Py_None
); resultobj
= Py_None
;
15670 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15671 PyObject
*resultobj
;
15672 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15675 PyObject
* obj0
= 0 ;
15676 PyObject
* obj1
= 0 ;
15677 PyObject
* obj2
= 0 ;
15678 char *kwnames
[] = {
15679 (char *) "self",(char *) "width",(char *) "height", NULL
15682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15685 arg2
= (int) SWIG_AsInt(obj1
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15687 arg3
= (int) SWIG_AsInt(obj2
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 Py_INCREF(Py_None
); resultobj
= Py_None
;
15703 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
;
15705 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15708 PyObject
* obj0
= 0 ;
15709 PyObject
* obj1
= 0 ;
15710 PyObject
* obj2
= 0 ;
15711 char *kwnames
[] = {
15712 (char *) "self",(char *) "x",(char *) "y", NULL
15715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15718 arg2
= (int) SWIG_AsInt(obj1
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15720 arg3
= (int) SWIG_AsInt(obj2
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15724 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15726 wxPyEndAllowThreads(__tstate
);
15727 if (PyErr_Occurred()) SWIG_fail
;
15729 Py_INCREF(Py_None
); resultobj
= Py_None
;
15736 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15737 PyObject
*resultobj
;
15738 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15739 int *arg2
= (int *) 0 ;
15740 int *arg3
= (int *) 0 ;
15743 PyObject
* obj0
= 0 ;
15744 char *kwnames
[] = {
15745 (char *) "self", NULL
15750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15760 Py_INCREF(Py_None
); resultobj
= Py_None
;
15762 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15763 resultobj
= t_output_helper(resultobj
,o
);
15766 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15767 resultobj
= t_output_helper(resultobj
,o
);
15775 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
;
15777 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15778 int *arg2
= (int *) 0 ;
15779 int *arg3
= (int *) 0 ;
15782 PyObject
* obj0
= 0 ;
15783 char *kwnames
[] = {
15784 (char *) "self", NULL
15789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15794 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15796 wxPyEndAllowThreads(__tstate
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15799 Py_INCREF(Py_None
); resultobj
= Py_None
;
15801 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15802 resultobj
= t_output_helper(resultobj
,o
);
15805 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15806 resultobj
= t_output_helper(resultobj
,o
);
15814 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
;
15816 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15817 int *arg2
= (int *) 0 ;
15818 int *arg3
= (int *) 0 ;
15821 PyObject
* obj0
= 0 ;
15822 char *kwnames
[] = {
15823 (char *) "self", NULL
15828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15833 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15835 wxPyEndAllowThreads(__tstate
);
15836 if (PyErr_Occurred()) SWIG_fail
;
15838 Py_INCREF(Py_None
); resultobj
= Py_None
;
15840 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15841 resultobj
= t_output_helper(resultobj
,o
);
15844 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15845 resultobj
= t_output_helper(resultobj
,o
);
15853 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15854 PyObject
*resultobj
;
15855 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15857 PyObject
* obj0
= 0 ;
15858 char *kwnames
[] = {
15859 (char *) "self", NULL
15862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15867 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
15869 wxPyEndAllowThreads(__tstate
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15873 wxSize
* resultptr
;
15874 resultptr
= new wxSize((wxSize
&) result
);
15875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15883 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15884 PyObject
*resultobj
;
15885 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15887 PyObject
* obj0
= 0 ;
15888 char *kwnames
[] = {
15889 (char *) "self", NULL
15892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15903 wxSize
* resultptr
;
15904 resultptr
= new wxSize((wxSize
&) result
);
15905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15913 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
;
15915 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15916 PyObject
* obj0
= 0 ;
15917 char *kwnames
[] = {
15918 (char *) "self", NULL
15921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15926 (arg1
)->base_InitDialog();
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15931 Py_INCREF(Py_None
); resultobj
= Py_None
;
15938 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15942 PyObject
* obj0
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "self", NULL
15947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15952 result
= (bool)(arg1
)->base_TransferDataToWindow();
15954 wxPyEndAllowThreads(__tstate
);
15955 if (PyErr_Occurred()) SWIG_fail
;
15957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15964 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15965 PyObject
*resultobj
;
15966 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15968 PyObject
* obj0
= 0 ;
15969 char *kwnames
[] = {
15970 (char *) "self", NULL
15973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15978 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15990 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15991 PyObject
*resultobj
;
15992 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15994 PyObject
* obj0
= 0 ;
15995 char *kwnames
[] = {
15996 (char *) "self", NULL
15999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16004 result
= (bool)(arg1
)->base_Validate();
16006 wxPyEndAllowThreads(__tstate
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16016 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16017 PyObject
*resultobj
;
16018 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16042 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
;
16044 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16046 PyObject
* obj0
= 0 ;
16047 char *kwnames
[] = {
16048 (char *) "self", NULL
16051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16056 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16058 wxPyEndAllowThreads(__tstate
);
16059 if (PyErr_Occurred()) SWIG_fail
;
16061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16068 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
;
16070 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16072 PyObject
* obj0
= 0 ;
16073 char *kwnames
[] = {
16074 (char *) "self", NULL
16077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16088 wxSize
* resultptr
;
16089 resultptr
= new wxSize((wxSize
&) result
);
16090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16098 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
;
16100 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16101 wxWindow
*arg2
= (wxWindow
*) 0 ;
16102 PyObject
* obj0
= 0 ;
16103 PyObject
* obj1
= 0 ;
16104 char *kwnames
[] = {
16105 (char *) "self",(char *) "child", NULL
16108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 (arg1
)->base_AddChild(arg2
);
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16120 Py_INCREF(Py_None
); resultobj
= Py_None
;
16127 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16128 PyObject
*resultobj
;
16129 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16130 wxWindow
*arg2
= (wxWindow
*) 0 ;
16131 PyObject
* obj0
= 0 ;
16132 PyObject
* obj1
= 0 ;
16133 char *kwnames
[] = {
16134 (char *) "self",(char *) "child", NULL
16137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16144 (arg1
)->base_RemoveChild(arg2
);
16146 wxPyEndAllowThreads(__tstate
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16149 Py_INCREF(Py_None
); resultobj
= Py_None
;
16156 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16159 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16161 return Py_BuildValue((char *)"");
16163 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
16164 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
16169 static PyObject
*_wrap_PrintoutTitleStr_get() {
16174 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16176 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16183 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
16184 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
16189 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
16194 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16196 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16203 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16204 PyObject
*resultobj
;
16205 wxPrintData
*result
;
16206 char *kwnames
[] = {
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 result
= (wxPrintData
*)new wxPrintData();
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
16225 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16226 PyObject
*resultobj
;
16227 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16228 PyObject
* obj0
= 0 ;
16229 char *kwnames
[] = {
16230 (char *) "self", NULL
16233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
16234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16240 wxPyEndAllowThreads(__tstate
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16243 Py_INCREF(Py_None
); resultobj
= Py_None
;
16250 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16251 PyObject
*resultobj
;
16252 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16254 PyObject
* obj0
= 0 ;
16255 char *kwnames
[] = {
16256 (char *) "self", NULL
16259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
16260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (int)(arg1
)->GetNoCopies();
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 resultobj
= SWIG_FromInt((int)result
);
16276 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
;
16278 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16280 PyObject
* obj0
= 0 ;
16281 char *kwnames
[] = {
16282 (char *) "self", NULL
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
16286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 result
= (bool)(arg1
)->GetCollate();
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16302 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
;
16304 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16306 PyObject
* obj0
= 0 ;
16307 char *kwnames
[] = {
16308 (char *) "self", NULL
16311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
16312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 result
= (int)(arg1
)->GetOrientation();
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 resultobj
= SWIG_FromInt((int)result
);
16328 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
;
16330 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16332 PyObject
* obj0
= 0 ;
16333 char *kwnames
[] = {
16334 (char *) "self", NULL
16337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
16338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16342 result
= (bool)(arg1
)->Ok();
16344 wxPyEndAllowThreads(__tstate
);
16345 if (PyErr_Occurred()) SWIG_fail
;
16347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16354 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16355 PyObject
*resultobj
;
16356 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16358 PyObject
* obj0
= 0 ;
16359 char *kwnames
[] = {
16360 (char *) "self", NULL
16363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
16364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
16370 result
= (wxString
*) &_result_ref
;
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16378 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16380 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16389 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
;
16391 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16393 PyObject
* obj0
= 0 ;
16394 char *kwnames
[] = {
16395 (char *) "self", NULL
16398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
16399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 result
= (bool)(arg1
)->GetColour();
16405 wxPyEndAllowThreads(__tstate
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16415 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16416 PyObject
*resultobj
;
16417 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16419 PyObject
* obj0
= 0 ;
16420 char *kwnames
[] = {
16421 (char *) "self", NULL
16424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
16425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16429 result
= (int)(arg1
)->GetDuplex();
16431 wxPyEndAllowThreads(__tstate
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16434 resultobj
= SWIG_FromInt((int)result
);
16441 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16442 PyObject
*resultobj
;
16443 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16445 PyObject
* obj0
= 0 ;
16446 char *kwnames
[] = {
16447 (char *) "self", NULL
16450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16455 result
= (int)(arg1
)->GetPaperId();
16457 wxPyEndAllowThreads(__tstate
);
16458 if (PyErr_Occurred()) SWIG_fail
;
16460 resultobj
= SWIG_FromInt((int)result
);
16467 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16468 PyObject
*resultobj
;
16469 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16471 PyObject
* obj0
= 0 ;
16472 char *kwnames
[] = {
16473 (char *) "self", NULL
16476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
16483 result
= (wxSize
*) &_result_ref
;
16486 wxPyEndAllowThreads(__tstate
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16496 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
;
16498 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16500 PyObject
* obj0
= 0 ;
16501 char *kwnames
[] = {
16502 (char *) "self", NULL
16505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
16506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16510 result
= (int)(arg1
)->GetQuality();
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= SWIG_FromInt((int)result
);
16522 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
;
16524 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16526 PyObject
* obj0
= 0 ;
16527 PyObject
* obj1
= 0 ;
16528 char *kwnames
[] = {
16529 (char *) "self",(char *) "v", NULL
16532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
16533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16535 arg2
= (int) SWIG_AsInt(obj1
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 (arg1
)->SetNoCopies(arg2
);
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16544 Py_INCREF(Py_None
); resultobj
= Py_None
;
16551 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16552 PyObject
*resultobj
;
16553 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16555 PyObject
* obj0
= 0 ;
16556 PyObject
* obj1
= 0 ;
16557 char *kwnames
[] = {
16558 (char *) "self",(char *) "flag", NULL
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
16562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16564 arg2
= (bool) SWIG_AsBool(obj1
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 (arg1
)->SetCollate(arg2
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16573 Py_INCREF(Py_None
); resultobj
= Py_None
;
16580 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16581 PyObject
*resultobj
;
16582 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16584 PyObject
* obj0
= 0 ;
16585 PyObject
* obj1
= 0 ;
16586 char *kwnames
[] = {
16587 (char *) "self",(char *) "orient", NULL
16590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16593 arg2
= (int) SWIG_AsInt(obj1
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16597 (arg1
)->SetOrientation(arg2
);
16599 wxPyEndAllowThreads(__tstate
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16602 Py_INCREF(Py_None
); resultobj
= Py_None
;
16609 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16610 PyObject
*resultobj
;
16611 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16612 wxString
*arg2
= 0 ;
16613 bool temp2
= False
;
16614 PyObject
* obj0
= 0 ;
16615 PyObject
* obj1
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self",(char *) "name", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
16621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16624 arg2
= wxString_in_helper(obj1
);
16625 if (arg2
== NULL
) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16635 Py_INCREF(Py_None
); resultobj
= Py_None
;
16650 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16651 PyObject
*resultobj
;
16652 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16654 PyObject
* obj0
= 0 ;
16655 PyObject
* obj1
= 0 ;
16656 char *kwnames
[] = {
16657 (char *) "self",(char *) "colour", NULL
16660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16663 arg2
= (bool) SWIG_AsBool(obj1
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 (arg1
)->SetColour(arg2
);
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16672 Py_INCREF(Py_None
); resultobj
= Py_None
;
16679 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16680 PyObject
*resultobj
;
16681 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16683 PyObject
* obj0
= 0 ;
16684 PyObject
* obj1
= 0 ;
16685 char *kwnames
[] = {
16686 (char *) "self",(char *) "duplex", NULL
16689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
16690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16692 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16696 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
16698 wxPyEndAllowThreads(__tstate
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16701 Py_INCREF(Py_None
); resultobj
= Py_None
;
16708 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16709 PyObject
*resultobj
;
16710 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16712 PyObject
* obj0
= 0 ;
16713 PyObject
* obj1
= 0 ;
16714 char *kwnames
[] = {
16715 (char *) "self",(char *) "sizeId", NULL
16718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
16719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16721 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16727 wxPyEndAllowThreads(__tstate
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16730 Py_INCREF(Py_None
); resultobj
= Py_None
;
16737 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16738 PyObject
*resultobj
;
16739 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16742 PyObject
* obj0
= 0 ;
16743 PyObject
* obj1
= 0 ;
16744 char *kwnames
[] = {
16745 (char *) "self",(char *) "sz", NULL
16748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16753 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16762 Py_INCREF(Py_None
); resultobj
= Py_None
;
16769 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16770 PyObject
*resultobj
;
16771 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16773 PyObject
* obj0
= 0 ;
16774 PyObject
* obj1
= 0 ;
16775 char *kwnames
[] = {
16776 (char *) "self",(char *) "quality", NULL
16779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
16780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16782 arg2
= (int) SWIG_AsInt(obj1
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16786 (arg1
)->SetQuality(arg2
);
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16791 Py_INCREF(Py_None
); resultobj
= Py_None
;
16798 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
;
16800 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16802 PyObject
* obj0
= 0 ;
16803 char *kwnames
[] = {
16804 (char *) "self", NULL
16807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
16808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
16814 result
= (wxString
*) &_result_ref
;
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16822 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16824 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16833 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16837 PyObject
* obj0
= 0 ;
16838 char *kwnames
[] = {
16839 (char *) "self", NULL
16842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
16843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
16849 result
= (wxString
*) &_result_ref
;
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16857 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16859 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16868 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16869 PyObject
*resultobj
;
16870 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16872 PyObject
* obj0
= 0 ;
16873 char *kwnames
[] = {
16874 (char *) "self", NULL
16877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
16878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16883 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
16884 result
= (wxString
*) &_result_ref
;
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16892 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16894 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16903 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
;
16905 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16907 PyObject
* obj0
= 0 ;
16908 char *kwnames
[] = {
16909 (char *) "self", NULL
16912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
16913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16918 wxString
const &_result_ref
= (arg1
)->GetFilename();
16919 result
= (wxString
*) &_result_ref
;
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16929 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16938 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
;
16940 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16942 PyObject
* obj0
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
16948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
16954 result
= (wxString
*) &_result_ref
;
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16964 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16973 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
;
16975 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16977 PyObject
* obj0
= 0 ;
16978 char *kwnames
[] = {
16979 (char *) "self", NULL
16982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
16983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (double)(arg1
)->GetPrinterScaleX();
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= SWIG_FromDouble((double)result
);
16999 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17001 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17003 PyObject
* obj0
= 0 ;
17004 char *kwnames
[] = {
17005 (char *) "self", NULL
17008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
17009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17013 result
= (double)(arg1
)->GetPrinterScaleY();
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17018 resultobj
= SWIG_FromDouble((double)result
);
17025 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17026 PyObject
*resultobj
;
17027 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17029 PyObject
* obj0
= 0 ;
17030 char *kwnames
[] = {
17031 (char *) "self", NULL
17034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
17035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= (long)(arg1
)->GetPrinterTranslateX();
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17044 resultobj
= SWIG_FromLong((long)result
);
17051 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
;
17053 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17055 PyObject
* obj0
= 0 ;
17056 char *kwnames
[] = {
17057 (char *) "self", NULL
17060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
17061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17065 result
= (long)(arg1
)->GetPrinterTranslateY();
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17070 resultobj
= SWIG_FromLong((long)result
);
17077 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17078 PyObject
*resultobj
;
17079 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17081 PyObject
* obj0
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "self", NULL
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
17087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17091 result
= (int)(arg1
)->GetPrintMode();
17093 wxPyEndAllowThreads(__tstate
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17096 resultobj
= SWIG_FromInt((int)result
);
17103 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17104 PyObject
*resultobj
;
17105 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17106 wxString
*arg2
= 0 ;
17107 bool temp2
= False
;
17108 PyObject
* obj0
= 0 ;
17109 PyObject
* obj1
= 0 ;
17110 char *kwnames
[] = {
17111 (char *) "self",(char *) "command", NULL
17114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17118 arg2
= wxString_in_helper(obj1
);
17119 if (arg2
== NULL
) SWIG_fail
;
17123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17124 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
17126 wxPyEndAllowThreads(__tstate
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17129 Py_INCREF(Py_None
); resultobj
= Py_None
;
17144 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
;
17146 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17147 wxString
*arg2
= 0 ;
17148 bool temp2
= False
;
17149 PyObject
* obj0
= 0 ;
17150 PyObject
* obj1
= 0 ;
17151 char *kwnames
[] = {
17152 (char *) "self",(char *) "options", NULL
17155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
17156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17159 arg2
= wxString_in_helper(obj1
);
17160 if (arg2
== NULL
) SWIG_fail
;
17164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17165 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
17167 wxPyEndAllowThreads(__tstate
);
17168 if (PyErr_Occurred()) SWIG_fail
;
17170 Py_INCREF(Py_None
); resultobj
= Py_None
;
17185 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17186 PyObject
*resultobj
;
17187 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17188 wxString
*arg2
= 0 ;
17189 bool temp2
= False
;
17190 PyObject
* obj0
= 0 ;
17191 PyObject
* obj1
= 0 ;
17192 char *kwnames
[] = {
17193 (char *) "self",(char *) "command", NULL
17196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17200 arg2
= wxString_in_helper(obj1
);
17201 if (arg2
== NULL
) SWIG_fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
17208 wxPyEndAllowThreads(__tstate
);
17209 if (PyErr_Occurred()) SWIG_fail
;
17211 Py_INCREF(Py_None
); resultobj
= Py_None
;
17226 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17227 PyObject
*resultobj
;
17228 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17229 wxString
*arg2
= 0 ;
17230 bool temp2
= False
;
17231 PyObject
* obj0
= 0 ;
17232 PyObject
* obj1
= 0 ;
17233 char *kwnames
[] = {
17234 (char *) "self",(char *) "filename", NULL
17237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
17238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17241 arg2
= wxString_in_helper(obj1
);
17242 if (arg2
== NULL
) SWIG_fail
;
17246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17247 (arg1
)->SetFilename((wxString
const &)*arg2
);
17249 wxPyEndAllowThreads(__tstate
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17252 Py_INCREF(Py_None
); resultobj
= Py_None
;
17267 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
;
17269 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17270 wxString
*arg2
= 0 ;
17271 bool temp2
= False
;
17272 PyObject
* obj0
= 0 ;
17273 PyObject
* obj1
= 0 ;
17274 char *kwnames
[] = {
17275 (char *) "self",(char *) "path", NULL
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17282 arg2
= wxString_in_helper(obj1
);
17283 if (arg2
== NULL
) SWIG_fail
;
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
17290 wxPyEndAllowThreads(__tstate
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17293 Py_INCREF(Py_None
); resultobj
= Py_None
;
17308 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17309 PyObject
*resultobj
;
17310 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17312 PyObject
* obj0
= 0 ;
17313 PyObject
* obj1
= 0 ;
17314 char *kwnames
[] = {
17315 (char *) "self",(char *) "x", NULL
17318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
17319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17321 arg2
= (double) SWIG_AsDouble(obj1
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 (arg1
)->SetPrinterScaleX(arg2
);
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17330 Py_INCREF(Py_None
); resultobj
= Py_None
;
17337 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17338 PyObject
*resultobj
;
17339 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17341 PyObject
* obj0
= 0 ;
17342 PyObject
* obj1
= 0 ;
17343 char *kwnames
[] = {
17344 (char *) "self",(char *) "y", NULL
17347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
17348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17350 arg2
= (double) SWIG_AsDouble(obj1
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 (arg1
)->SetPrinterScaleY(arg2
);
17356 wxPyEndAllowThreads(__tstate
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17359 Py_INCREF(Py_None
); resultobj
= Py_None
;
17366 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
;
17368 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17371 PyObject
* obj0
= 0 ;
17372 PyObject
* obj1
= 0 ;
17373 PyObject
* obj2
= 0 ;
17374 char *kwnames
[] = {
17375 (char *) "self",(char *) "x",(char *) "y", NULL
17378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17381 arg2
= (double) SWIG_AsDouble(obj1
);
17382 if (PyErr_Occurred()) SWIG_fail
;
17383 arg3
= (double) SWIG_AsDouble(obj2
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 (arg1
)->SetPrinterScaling(arg2
,arg3
);
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 Py_INCREF(Py_None
); resultobj
= Py_None
;
17399 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17403 PyObject
* obj0
= 0 ;
17404 PyObject
* obj1
= 0 ;
17405 char *kwnames
[] = {
17406 (char *) "self",(char *) "x", NULL
17409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
17410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17412 arg2
= (long) SWIG_AsLong(obj1
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17416 (arg1
)->SetPrinterTranslateX(arg2
);
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17421 Py_INCREF(Py_None
); resultobj
= Py_None
;
17428 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17432 PyObject
* obj0
= 0 ;
17433 PyObject
* obj1
= 0 ;
17434 char *kwnames
[] = {
17435 (char *) "self",(char *) "y", NULL
17438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
17439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17441 arg2
= (long) SWIG_AsLong(obj1
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 (arg1
)->SetPrinterTranslateY(arg2
);
17447 wxPyEndAllowThreads(__tstate
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17450 Py_INCREF(Py_None
); resultobj
= Py_None
;
17457 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
;
17459 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17462 PyObject
* obj0
= 0 ;
17463 PyObject
* obj1
= 0 ;
17464 PyObject
* obj2
= 0 ;
17465 char *kwnames
[] = {
17466 (char *) "self",(char *) "x",(char *) "y", NULL
17469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17472 arg2
= (long) SWIG_AsLong(obj1
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17474 arg3
= (long) SWIG_AsLong(obj2
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17478 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
17480 wxPyEndAllowThreads(__tstate
);
17481 if (PyErr_Occurred()) SWIG_fail
;
17483 Py_INCREF(Py_None
); resultobj
= Py_None
;
17490 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17491 PyObject
*resultobj
;
17492 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17494 PyObject
* obj0
= 0 ;
17495 PyObject
* obj1
= 0 ;
17496 char *kwnames
[] = {
17497 (char *) "self",(char *) "printMode", NULL
17500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
17501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17503 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17512 Py_INCREF(Py_None
); resultobj
= Py_None
;
17519 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
;
17521 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17522 wxOutputStream
*result
;
17523 PyObject
* obj0
= 0 ;
17524 char *kwnames
[] = {
17525 (char *) "self", NULL
17528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
17529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
17545 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17546 PyObject
*resultobj
;
17547 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17548 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
17549 PyObject
* obj0
= 0 ;
17550 PyObject
* obj1
= 0 ;
17551 char *kwnames
[] = {
17552 (char *) "self",(char *) "outputstream", NULL
17555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
17556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
17559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 (arg1
)->SetOutputStream(arg2
);
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 Py_INCREF(Py_None
); resultobj
= Py_None
;
17574 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
17576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17577 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
17579 return Py_BuildValue((char *)"");
17581 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17582 PyObject
*resultobj
;
17583 wxPageSetupDialogData
*result
;
17584 char *kwnames
[] = {
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
17590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17591 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
17603 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
;
17605 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17606 PyObject
* obj0
= 0 ;
17607 char *kwnames
[] = {
17608 (char *) "self", NULL
17611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
17612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 wxPyEndAllowThreads(__tstate
);
17619 if (PyErr_Occurred()) SWIG_fail
;
17621 Py_INCREF(Py_None
); resultobj
= Py_None
;
17628 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
;
17630 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17632 PyObject
* obj0
= 0 ;
17633 PyObject
* obj1
= 0 ;
17634 char *kwnames
[] = {
17635 (char *) "self",(char *) "flag", NULL
17638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17641 arg2
= (bool) SWIG_AsBool(obj1
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 (arg1
)->EnableHelp(arg2
);
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17650 Py_INCREF(Py_None
); resultobj
= Py_None
;
17657 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17658 PyObject
*resultobj
;
17659 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17661 PyObject
* obj0
= 0 ;
17662 PyObject
* obj1
= 0 ;
17663 char *kwnames
[] = {
17664 (char *) "self",(char *) "flag", NULL
17667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17670 arg2
= (bool) SWIG_AsBool(obj1
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 (arg1
)->EnableMargins(arg2
);
17676 wxPyEndAllowThreads(__tstate
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17679 Py_INCREF(Py_None
); resultobj
= Py_None
;
17686 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17687 PyObject
*resultobj
;
17688 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17690 PyObject
* obj0
= 0 ;
17691 PyObject
* obj1
= 0 ;
17692 char *kwnames
[] = {
17693 (char *) "self",(char *) "flag", NULL
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17699 arg2
= (bool) SWIG_AsBool(obj1
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17703 (arg1
)->EnableOrientation(arg2
);
17705 wxPyEndAllowThreads(__tstate
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17708 Py_INCREF(Py_None
); resultobj
= Py_None
;
17715 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17716 PyObject
*resultobj
;
17717 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17719 PyObject
* obj0
= 0 ;
17720 PyObject
* obj1
= 0 ;
17721 char *kwnames
[] = {
17722 (char *) "self",(char *) "flag", NULL
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
17726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17728 arg2
= (bool) SWIG_AsBool(obj1
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 (arg1
)->EnablePaper(arg2
);
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17737 Py_INCREF(Py_None
); resultobj
= Py_None
;
17744 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17745 PyObject
*resultobj
;
17746 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17748 PyObject
* obj0
= 0 ;
17749 PyObject
* obj1
= 0 ;
17750 char *kwnames
[] = {
17751 (char *) "self",(char *) "flag", NULL
17754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
17755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17757 arg2
= (bool) SWIG_AsBool(obj1
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 (arg1
)->EnablePrinter(arg2
);
17763 wxPyEndAllowThreads(__tstate
);
17764 if (PyErr_Occurred()) SWIG_fail
;
17766 Py_INCREF(Py_None
); resultobj
= Py_None
;
17773 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17774 PyObject
*resultobj
;
17775 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17777 PyObject
* obj0
= 0 ;
17778 char *kwnames
[] = {
17779 (char *) "self", NULL
17782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
17783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 result
= (bool)(arg1
)->GetDefaultMinMargins();
17789 wxPyEndAllowThreads(__tstate
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17799 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17800 PyObject
*resultobj
;
17801 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17803 PyObject
* obj0
= 0 ;
17804 char *kwnames
[] = {
17805 (char *) "self", NULL
17808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
17809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 result
= (bool)(arg1
)->GetEnableMargins();
17815 wxPyEndAllowThreads(__tstate
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17825 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17826 PyObject
*resultobj
;
17827 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17829 PyObject
* obj0
= 0 ;
17830 char *kwnames
[] = {
17831 (char *) "self", NULL
17834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
17835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17839 result
= (bool)(arg1
)->GetEnableOrientation();
17841 wxPyEndAllowThreads(__tstate
);
17842 if (PyErr_Occurred()) SWIG_fail
;
17844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17851 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17852 PyObject
*resultobj
;
17853 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17855 PyObject
* obj0
= 0 ;
17856 char *kwnames
[] = {
17857 (char *) "self", NULL
17860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
17861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 result
= (bool)(arg1
)->GetEnablePaper();
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17877 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17881 PyObject
* obj0
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "self", NULL
17886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
17887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (bool)(arg1
)->GetEnablePrinter();
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17903 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
;
17905 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17907 PyObject
* obj0
= 0 ;
17908 char *kwnames
[] = {
17909 (char *) "self", NULL
17912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
17913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 result
= (bool)(arg1
)->GetEnableHelp();
17919 wxPyEndAllowThreads(__tstate
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17929 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17930 PyObject
*resultobj
;
17931 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17933 PyObject
* obj0
= 0 ;
17934 char *kwnames
[] = {
17935 (char *) "self", NULL
17938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
17939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17943 result
= (bool)(arg1
)->GetDefaultInfo();
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17955 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17956 PyObject
*resultobj
;
17957 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17959 PyObject
* obj0
= 0 ;
17960 char *kwnames
[] = {
17961 (char *) "self", NULL
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
17965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17969 result
= (arg1
)->GetMarginTopLeft();
17971 wxPyEndAllowThreads(__tstate
);
17972 if (PyErr_Occurred()) SWIG_fail
;
17975 wxPoint
* resultptr
;
17976 resultptr
= new wxPoint((wxPoint
&) result
);
17977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17985 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17986 PyObject
*resultobj
;
17987 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17989 PyObject
* obj0
= 0 ;
17990 char *kwnames
[] = {
17991 (char *) "self", NULL
17994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
17995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17999 result
= (arg1
)->GetMarginBottomRight();
18001 wxPyEndAllowThreads(__tstate
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18005 wxPoint
* resultptr
;
18006 resultptr
= new wxPoint((wxPoint
&) result
);
18007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18015 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18016 PyObject
*resultobj
;
18017 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18019 PyObject
* obj0
= 0 ;
18020 char *kwnames
[] = {
18021 (char *) "self", NULL
18024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18029 result
= (arg1
)->GetMinMarginTopLeft();
18031 wxPyEndAllowThreads(__tstate
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18035 wxPoint
* resultptr
;
18036 resultptr
= new wxPoint((wxPoint
&) result
);
18037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18045 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18046 PyObject
*resultobj
;
18047 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18049 PyObject
* obj0
= 0 ;
18050 char *kwnames
[] = {
18051 (char *) "self", NULL
18054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18059 result
= (arg1
)->GetMinMarginBottomRight();
18061 wxPyEndAllowThreads(__tstate
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18065 wxPoint
* resultptr
;
18066 resultptr
= new wxPoint((wxPoint
&) result
);
18067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18075 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18076 PyObject
*resultobj
;
18077 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18079 PyObject
* obj0
= 0 ;
18080 char *kwnames
[] = {
18081 (char *) "self", NULL
18084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18089 result
= (int)(arg1
)->GetPaperId();
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= SWIG_FromInt((int)result
);
18101 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18102 PyObject
*resultobj
;
18103 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18105 PyObject
* obj0
= 0 ;
18106 char *kwnames
[] = {
18107 (char *) "self", NULL
18110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 result
= (arg1
)->GetPaperSize();
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18121 wxSize
* resultptr
;
18122 resultptr
= new wxSize((wxSize
&) result
);
18123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18131 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18132 PyObject
*resultobj
;
18133 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18134 wxPrintData
*result
;
18135 PyObject
* obj0
= 0 ;
18136 char *kwnames
[] = {
18137 (char *) "self", NULL
18140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
18141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18147 result
= (wxPrintData
*) &_result_ref
;
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
18160 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
;
18162 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18164 PyObject
* obj0
= 0 ;
18165 char *kwnames
[] = {
18166 (char *) "self", NULL
18169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
18170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18174 result
= (bool)(arg1
)->Ok();
18176 wxPyEndAllowThreads(__tstate
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18186 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18187 PyObject
*resultobj
;
18188 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18190 PyObject
* obj0
= 0 ;
18191 PyObject
* obj1
= 0 ;
18192 char *kwnames
[] = {
18193 (char *) "self",(char *) "flag", NULL
18196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
18197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18199 arg2
= (bool) SWIG_AsBool(obj1
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 (arg1
)->SetDefaultInfo(arg2
);
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 Py_INCREF(Py_None
); resultobj
= Py_None
;
18215 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
;
18217 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18219 PyObject
* obj0
= 0 ;
18220 PyObject
* obj1
= 0 ;
18221 char *kwnames
[] = {
18222 (char *) "self",(char *) "flag", NULL
18225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18228 arg2
= (bool) SWIG_AsBool(obj1
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18232 (arg1
)->SetDefaultMinMargins(arg2
);
18234 wxPyEndAllowThreads(__tstate
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18237 Py_INCREF(Py_None
); resultobj
= Py_None
;
18244 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18245 PyObject
*resultobj
;
18246 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18247 wxPoint
*arg2
= 0 ;
18249 PyObject
* obj0
= 0 ;
18250 PyObject
* obj1
= 0 ;
18251 char *kwnames
[] = {
18252 (char *) "self",(char *) "pt", NULL
18255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18260 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18269 Py_INCREF(Py_None
); resultobj
= Py_None
;
18276 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18277 PyObject
*resultobj
;
18278 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18279 wxPoint
*arg2
= 0 ;
18281 PyObject
* obj0
= 0 ;
18282 PyObject
* obj1
= 0 ;
18283 char *kwnames
[] = {
18284 (char *) "self",(char *) "pt", NULL
18287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18292 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18301 Py_INCREF(Py_None
); resultobj
= Py_None
;
18308 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
;
18310 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18311 wxPoint
*arg2
= 0 ;
18313 PyObject
* obj0
= 0 ;
18314 PyObject
* obj1
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "self",(char *) "pt", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18324 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18328 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18333 Py_INCREF(Py_None
); resultobj
= Py_None
;
18340 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18341 PyObject
*resultobj
;
18342 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18343 wxPoint
*arg2
= 0 ;
18345 PyObject
* obj0
= 0 ;
18346 PyObject
* obj1
= 0 ;
18347 char *kwnames
[] = {
18348 (char *) "self",(char *) "pt", NULL
18351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18356 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 Py_INCREF(Py_None
); resultobj
= Py_None
;
18372 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
;
18374 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18376 PyObject
* obj0
= 0 ;
18377 PyObject
* obj1
= 0 ;
18378 char *kwnames
[] = {
18379 (char *) "self",(char *) "id", NULL
18382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18385 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 Py_INCREF(Py_None
); resultobj
= Py_None
;
18401 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
;
18403 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18406 PyObject
* obj0
= 0 ;
18407 PyObject
* obj1
= 0 ;
18408 char *kwnames
[] = {
18409 (char *) "self",(char *) "size", NULL
18412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18417 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18421 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18423 wxPyEndAllowThreads(__tstate
);
18424 if (PyErr_Occurred()) SWIG_fail
;
18426 Py_INCREF(Py_None
); resultobj
= Py_None
;
18433 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
;
18435 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18436 wxPrintData
*arg2
= 0 ;
18437 PyObject
* obj0
= 0 ;
18438 PyObject
* obj1
= 0 ;
18439 char *kwnames
[] = {
18440 (char *) "self",(char *) "printData", NULL
18443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
18447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18449 if (arg2
== NULL
) {
18450 PyErr_SetString(PyExc_TypeError
,"null reference");
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18457 wxPyEndAllowThreads(__tstate
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18460 Py_INCREF(Py_None
); resultobj
= Py_None
;
18467 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
18469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18470 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
18472 return Py_BuildValue((char *)"");
18474 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18475 PyObject
*resultobj
;
18476 wxWindow
*arg1
= (wxWindow
*) 0 ;
18477 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
18478 wxPageSetupDialog
*result
;
18479 PyObject
* obj0
= 0 ;
18480 PyObject
* obj1
= 0 ;
18481 char *kwnames
[] = {
18482 (char *) "parent",(char *) "data", NULL
18485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
18490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18494 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
18496 wxPyEndAllowThreads(__tstate
);
18497 if (PyErr_Occurred()) SWIG_fail
;
18499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
18506 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18507 PyObject
*resultobj
;
18508 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18509 wxPageSetupDialogData
*result
;
18510 PyObject
* obj0
= 0 ;
18511 char *kwnames
[] = {
18512 (char *) "self", NULL
18515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
18516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
18517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
18522 result
= (wxPageSetupDialogData
*) &_result_ref
;
18525 wxPyEndAllowThreads(__tstate
);
18526 if (PyErr_Occurred()) SWIG_fail
;
18528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
18535 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18536 PyObject
*resultobj
;
18537 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18539 PyObject
* obj0
= 0 ;
18540 char *kwnames
[] = {
18541 (char *) "self", NULL
18544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
18546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18549 result
= (int)(arg1
)->ShowModal();
18551 wxPyEndAllowThreads(__tstate
);
18552 if (PyErr_Occurred()) SWIG_fail
;
18554 resultobj
= SWIG_FromInt((int)result
);
18561 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
18563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18564 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
18566 return Py_BuildValue((char *)"");
18568 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
;
18570 wxPrintDialogData
*result
;
18571 char *kwnames
[] = {
18575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
18577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18578 result
= (wxPrintDialogData
*)new wxPrintDialogData();
18580 wxPyEndAllowThreads(__tstate
);
18581 if (PyErr_Occurred()) SWIG_fail
;
18583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
18590 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18591 PyObject
*resultobj
;
18592 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18593 PyObject
* obj0
= 0 ;
18594 char *kwnames
[] = {
18595 (char *) "self", NULL
18598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
18599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 wxPyEndAllowThreads(__tstate
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18608 Py_INCREF(Py_None
); resultobj
= Py_None
;
18615 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18616 PyObject
*resultobj
;
18617 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18619 PyObject
* obj0
= 0 ;
18620 char *kwnames
[] = {
18621 (char *) "self", NULL
18624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
18625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18629 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
18631 wxPyEndAllowThreads(__tstate
);
18632 if (PyErr_Occurred()) SWIG_fail
;
18634 resultobj
= SWIG_FromInt((int)result
);
18641 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
;
18643 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18645 PyObject
* obj0
= 0 ;
18646 char *kwnames
[] = {
18647 (char *) "self", NULL
18650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
18651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18660 resultobj
= SWIG_FromInt((int)result
);
18667 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18668 PyObject
*resultobj
;
18669 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18671 PyObject
* obj0
= 0 ;
18672 char *kwnames
[] = {
18673 (char *) "self", NULL
18676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
18677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 resultobj
= SWIG_FromInt((int)result
);
18693 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18694 PyObject
*resultobj
;
18695 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18697 PyObject
* obj0
= 0 ;
18698 char *kwnames
[] = {
18699 (char *) "self", NULL
18702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
18703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
18709 wxPyEndAllowThreads(__tstate
);
18710 if (PyErr_Occurred()) SWIG_fail
;
18712 resultobj
= SWIG_FromInt((int)result
);
18719 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18720 PyObject
*resultobj
;
18721 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18723 PyObject
* obj0
= 0 ;
18724 char *kwnames
[] = {
18725 (char *) "self", NULL
18728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18733 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
18735 wxPyEndAllowThreads(__tstate
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18738 resultobj
= SWIG_FromInt((int)result
);
18745 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18746 PyObject
*resultobj
;
18747 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18749 PyObject
* obj0
= 0 ;
18750 char *kwnames
[] = {
18751 (char *) "self", NULL
18754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
18755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18759 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
18761 wxPyEndAllowThreads(__tstate
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18771 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18772 PyObject
*resultobj
;
18773 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18775 PyObject
* obj0
= 0 ;
18776 char *kwnames
[] = {
18777 (char *) "self", NULL
18780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
18781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18785 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
18787 wxPyEndAllowThreads(__tstate
);
18788 if (PyErr_Occurred()) SWIG_fail
;
18790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18797 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18798 PyObject
*resultobj
;
18799 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18801 PyObject
* obj0
= 0 ;
18802 char *kwnames
[] = {
18803 (char *) "self", NULL
18806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
18807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18811 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
18813 wxPyEndAllowThreads(__tstate
);
18814 if (PyErr_Occurred()) SWIG_fail
;
18816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18823 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
;
18825 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18827 PyObject
* obj0
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
18833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18849 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
;
18851 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18853 PyObject
* obj0
= 0 ;
18854 char *kwnames
[] = {
18855 (char *) "self", NULL
18858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
18859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18863 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
18865 wxPyEndAllowThreads(__tstate
);
18866 if (PyErr_Occurred()) SWIG_fail
;
18868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18875 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18876 PyObject
*resultobj
;
18877 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18879 PyObject
* obj0
= 0 ;
18880 PyObject
* obj1
= 0 ;
18881 char *kwnames
[] = {
18882 (char *) "self",(char *) "v", NULL
18885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18888 arg2
= (int) SWIG_AsInt(obj1
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18892 (arg1
)->SetFromPage(arg2
);
18894 wxPyEndAllowThreads(__tstate
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18897 Py_INCREF(Py_None
); resultobj
= Py_None
;
18904 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18905 PyObject
*resultobj
;
18906 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18908 PyObject
* obj0
= 0 ;
18909 PyObject
* obj1
= 0 ;
18910 char *kwnames
[] = {
18911 (char *) "self",(char *) "v", NULL
18914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18917 arg2
= (int) SWIG_AsInt(obj1
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18921 (arg1
)->SetToPage(arg2
);
18923 wxPyEndAllowThreads(__tstate
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18926 Py_INCREF(Py_None
); resultobj
= Py_None
;
18933 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
;
18935 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18937 PyObject
* obj0
= 0 ;
18938 PyObject
* obj1
= 0 ;
18939 char *kwnames
[] = {
18940 (char *) "self",(char *) "v", NULL
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18946 arg2
= (int) SWIG_AsInt(obj1
);
18947 if (PyErr_Occurred()) SWIG_fail
;
18949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18950 (arg1
)->SetMinPage(arg2
);
18952 wxPyEndAllowThreads(__tstate
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18955 Py_INCREF(Py_None
); resultobj
= Py_None
;
18962 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18963 PyObject
*resultobj
;
18964 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18966 PyObject
* obj0
= 0 ;
18967 PyObject
* obj1
= 0 ;
18968 char *kwnames
[] = {
18969 (char *) "self",(char *) "v", NULL
18972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18975 arg2
= (int) SWIG_AsInt(obj1
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18979 (arg1
)->SetMaxPage(arg2
);
18981 wxPyEndAllowThreads(__tstate
);
18982 if (PyErr_Occurred()) SWIG_fail
;
18984 Py_INCREF(Py_None
); resultobj
= Py_None
;
18991 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18992 PyObject
*resultobj
;
18993 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18995 PyObject
* obj0
= 0 ;
18996 PyObject
* obj1
= 0 ;
18997 char *kwnames
[] = {
18998 (char *) "self",(char *) "v", NULL
19001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
19002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19004 arg2
= (int) SWIG_AsInt(obj1
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19008 (arg1
)->SetNoCopies(arg2
);
19010 wxPyEndAllowThreads(__tstate
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19013 Py_INCREF(Py_None
); resultobj
= Py_None
;
19020 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19021 PyObject
*resultobj
;
19022 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19024 PyObject
* obj0
= 0 ;
19025 PyObject
* obj1
= 0 ;
19026 char *kwnames
[] = {
19027 (char *) "self",(char *) "flag", NULL
19030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
19031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19033 arg2
= (bool) SWIG_AsBool(obj1
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19037 (arg1
)->SetAllPages(arg2
);
19039 wxPyEndAllowThreads(__tstate
);
19040 if (PyErr_Occurred()) SWIG_fail
;
19042 Py_INCREF(Py_None
); resultobj
= Py_None
;
19049 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19050 PyObject
*resultobj
;
19051 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19053 PyObject
* obj0
= 0 ;
19054 PyObject
* obj1
= 0 ;
19055 char *kwnames
[] = {
19056 (char *) "self",(char *) "flag", NULL
19059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19062 arg2
= (bool) SWIG_AsBool(obj1
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19066 (arg1
)->SetSelection(arg2
);
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19071 Py_INCREF(Py_None
); resultobj
= Py_None
;
19078 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19079 PyObject
*resultobj
;
19080 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19082 PyObject
* obj0
= 0 ;
19083 PyObject
* obj1
= 0 ;
19084 char *kwnames
[] = {
19085 (char *) "self",(char *) "flag", NULL
19088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
19089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19091 arg2
= (bool) SWIG_AsBool(obj1
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 (arg1
)->SetCollate(arg2
);
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19100 Py_INCREF(Py_None
); resultobj
= Py_None
;
19107 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
;
19109 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19111 PyObject
* obj0
= 0 ;
19112 PyObject
* obj1
= 0 ;
19113 char *kwnames
[] = {
19114 (char *) "self",(char *) "flag", NULL
19117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19120 arg2
= (bool) SWIG_AsBool(obj1
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 (arg1
)->SetPrintToFile(arg2
);
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19129 Py_INCREF(Py_None
); resultobj
= Py_None
;
19136 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
;
19138 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19140 PyObject
* obj0
= 0 ;
19141 PyObject
* obj1
= 0 ;
19142 char *kwnames
[] = {
19143 (char *) "self",(char *) "flag", NULL
19146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19149 arg2
= (bool) SWIG_AsBool(obj1
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 (arg1
)->SetSetupDialog(arg2
);
19155 wxPyEndAllowThreads(__tstate
);
19156 if (PyErr_Occurred()) SWIG_fail
;
19158 Py_INCREF(Py_None
); resultobj
= Py_None
;
19165 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19167 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19169 PyObject
* obj0
= 0 ;
19170 PyObject
* obj1
= 0 ;
19171 char *kwnames
[] = {
19172 (char *) "self",(char *) "flag", NULL
19175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19178 arg2
= (bool) SWIG_AsBool(obj1
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19182 (arg1
)->EnablePrintToFile(arg2
);
19184 wxPyEndAllowThreads(__tstate
);
19185 if (PyErr_Occurred()) SWIG_fail
;
19187 Py_INCREF(Py_None
); resultobj
= Py_None
;
19194 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
;
19196 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19198 PyObject
* obj0
= 0 ;
19199 PyObject
* obj1
= 0 ;
19200 char *kwnames
[] = {
19201 (char *) "self",(char *) "flag", NULL
19204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19207 arg2
= (bool) SWIG_AsBool(obj1
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 (arg1
)->EnableSelection(arg2
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 Py_INCREF(Py_None
); resultobj
= Py_None
;
19223 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
;
19225 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19227 PyObject
* obj0
= 0 ;
19228 PyObject
* obj1
= 0 ;
19229 char *kwnames
[] = {
19230 (char *) "self",(char *) "flag", NULL
19233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
19234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19236 arg2
= (bool) SWIG_AsBool(obj1
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 (arg1
)->EnablePageNumbers(arg2
);
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 Py_INCREF(Py_None
); resultobj
= Py_None
;
19252 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19253 PyObject
*resultobj
;
19254 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19256 PyObject
* obj0
= 0 ;
19257 PyObject
* obj1
= 0 ;
19258 char *kwnames
[] = {
19259 (char *) "self",(char *) "flag", NULL
19262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19265 arg2
= (bool) SWIG_AsBool(obj1
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19269 (arg1
)->EnableHelp(arg2
);
19271 wxPyEndAllowThreads(__tstate
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19274 Py_INCREF(Py_None
); resultobj
= Py_None
;
19281 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19282 PyObject
*resultobj
;
19283 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19285 PyObject
* obj0
= 0 ;
19286 char *kwnames
[] = {
19287 (char *) "self", NULL
19290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
19291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19295 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
19297 wxPyEndAllowThreads(__tstate
);
19298 if (PyErr_Occurred()) SWIG_fail
;
19300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19307 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19308 PyObject
*resultobj
;
19309 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19311 PyObject
* obj0
= 0 ;
19312 char *kwnames
[] = {
19313 (char *) "self", NULL
19316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
19317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19333 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19335 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19337 PyObject
* obj0
= 0 ;
19338 char *kwnames
[] = {
19339 (char *) "self", NULL
19342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
19343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19347 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19359 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19363 PyObject
* obj0
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "self", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19373 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
19375 wxPyEndAllowThreads(__tstate
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19385 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
;
19387 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19389 PyObject
* obj0
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19399 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19411 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
;
19413 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19414 wxPrintData
*result
;
19415 PyObject
* obj0
= 0 ;
19416 char *kwnames
[] = {
19417 (char *) "self", NULL
19420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19426 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19427 result
= (wxPrintData
*) &_result_ref
;
19430 wxPyEndAllowThreads(__tstate
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19440 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19441 PyObject
*resultobj
;
19442 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19443 wxPrintData
*arg2
= 0 ;
19444 PyObject
* obj0
= 0 ;
19445 PyObject
* obj1
= 0 ;
19446 char *kwnames
[] = {
19447 (char *) "self",(char *) "printData", NULL
19450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19454 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19456 if (arg2
== NULL
) {
19457 PyErr_SetString(PyExc_TypeError
,"null reference");
19461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19462 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19464 wxPyEndAllowThreads(__tstate
);
19465 if (PyErr_Occurred()) SWIG_fail
;
19467 Py_INCREF(Py_None
); resultobj
= Py_None
;
19474 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19477 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
19479 return Py_BuildValue((char *)"");
19481 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19482 PyObject
*resultobj
;
19483 wxWindow
*arg1
= (wxWindow
*) 0 ;
19484 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
19485 wxPrintDialog
*result
;
19486 PyObject
* obj0
= 0 ;
19487 PyObject
* obj1
= 0 ;
19488 char *kwnames
[] = {
19489 (char *) "parent",(char *) "data", NULL
19492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
19497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19501 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
19503 wxPyEndAllowThreads(__tstate
);
19504 if (PyErr_Occurred()) SWIG_fail
;
19506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
19513 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19514 PyObject
*resultobj
;
19515 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19516 wxPrintDialogData
*result
;
19517 PyObject
* obj0
= 0 ;
19518 char *kwnames
[] = {
19519 (char *) "self", NULL
19522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19528 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19529 result
= (wxPrintDialogData
*) &_result_ref
;
19532 wxPyEndAllowThreads(__tstate
);
19533 if (PyErr_Occurred()) SWIG_fail
;
19535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
19542 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19543 PyObject
*resultobj
;
19544 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19546 PyObject
* obj0
= 0 ;
19547 char *kwnames
[] = {
19548 (char *) "self", NULL
19551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
19552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19556 result
= (wxDC
*)(arg1
)->GetPrintDC();
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19562 resultobj
= wxPyMake_wxObject(result
);
19570 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19571 PyObject
*resultobj
;
19572 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19574 PyObject
* obj0
= 0 ;
19575 char *kwnames
[] = {
19576 (char *) "self", NULL
19579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 result
= (int)(arg1
)->ShowModal();
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19589 resultobj
= SWIG_FromInt((int)result
);
19596 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19599 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
19601 return Py_BuildValue((char *)"");
19603 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
;
19605 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
19607 PyObject
* obj0
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "data", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
19614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19619 result
= (wxPrinter
*)new wxPrinter(arg1
);
19621 wxPyEndAllowThreads(__tstate
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
19631 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19632 PyObject
*resultobj
;
19633 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19634 PyObject
* obj0
= 0 ;
19635 char *kwnames
[] = {
19636 (char *) "self", NULL
19639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
19640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19649 Py_INCREF(Py_None
); resultobj
= Py_None
;
19656 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19657 PyObject
*resultobj
;
19658 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19659 wxWindow
*arg2
= (wxWindow
*) 0 ;
19660 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19661 PyObject
* obj0
= 0 ;
19662 PyObject
* obj1
= 0 ;
19663 PyObject
* obj2
= 0 ;
19664 char *kwnames
[] = {
19665 (char *) "self",(char *) "parent",(char *) "printout", NULL
19668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19673 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
19674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 (arg1
)->CreateAbortWindow(arg2
,arg3
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 Py_INCREF(Py_None
); resultobj
= Py_None
;
19689 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19692 wxPrintDialogData
*result
;
19693 PyObject
* obj0
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "self", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19705 result
= (wxPrintDialogData
*) &_result_ref
;
19708 wxPyEndAllowThreads(__tstate
);
19709 if (PyErr_Occurred()) SWIG_fail
;
19711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
19718 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19719 PyObject
*resultobj
;
19720 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19721 wxWindow
*arg2
= (wxWindow
*) 0 ;
19722 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19723 int arg4
= (int) True
;
19725 PyObject
* obj0
= 0 ;
19726 PyObject
* obj1
= 0 ;
19727 PyObject
* obj2
= 0 ;
19728 PyObject
* obj3
= 0 ;
19729 char *kwnames
[] = {
19730 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19738 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
19739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19741 arg4
= (int) SWIG_AsInt(obj3
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19746 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
19748 wxPyEndAllowThreads(__tstate
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19758 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19759 PyObject
*resultobj
;
19760 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19761 wxWindow
*arg2
= (wxWindow
*) 0 ;
19763 PyObject
* obj0
= 0 ;
19764 PyObject
* obj1
= 0 ;
19765 char *kwnames
[] = {
19766 (char *) "self",(char *) "parent", NULL
19769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19776 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
19778 wxPyEndAllowThreads(__tstate
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19782 resultobj
= wxPyMake_wxObject(result
);
19790 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19791 PyObject
*resultobj
;
19792 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19793 wxWindow
*arg2
= (wxWindow
*) 0 ;
19794 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19795 wxString
*arg4
= 0 ;
19796 bool temp4
= False
;
19797 PyObject
* obj0
= 0 ;
19798 PyObject
* obj1
= 0 ;
19799 PyObject
* obj2
= 0 ;
19800 PyObject
* obj3
= 0 ;
19801 char *kwnames
[] = {
19802 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19810 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
19811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19813 arg4
= wxString_in_helper(obj3
);
19814 if (arg4
== NULL
) SWIG_fail
;
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19819 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19824 Py_INCREF(Py_None
); resultobj
= Py_None
;
19839 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19840 PyObject
*resultobj
;
19841 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19842 wxWindow
*arg2
= (wxWindow
*) 0 ;
19844 PyObject
* obj0
= 0 ;
19845 PyObject
* obj1
= 0 ;
19846 char *kwnames
[] = {
19847 (char *) "self",(char *) "parent", NULL
19850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
19851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 result
= (bool)(arg1
)->Setup(arg2
);
19859 wxPyEndAllowThreads(__tstate
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19869 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19870 PyObject
*resultobj
;
19871 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19873 PyObject
* obj0
= 0 ;
19874 char *kwnames
[] = {
19875 (char *) "self", NULL
19878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
19879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 result
= (bool)(arg1
)->GetAbort();
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19895 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19896 PyObject
*resultobj
;
19898 char *kwnames
[] = {
19902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
19904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19905 result
= (int)wxPrinter::GetLastError();
19907 wxPyEndAllowThreads(__tstate
);
19908 if (PyErr_Occurred()) SWIG_fail
;
19910 resultobj
= SWIG_FromInt((int)result
);
19917 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
19919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19920 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
19922 return Py_BuildValue((char *)"");
19924 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19925 PyObject
*resultobj
;
19926 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
19927 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19928 wxPyPrintout
*result
;
19929 bool temp1
= False
;
19930 PyObject
* obj0
= 0 ;
19931 char *kwnames
[] = {
19932 (char *) "title", NULL
19935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
19938 arg1
= wxString_in_helper(obj0
);
19939 if (arg1
== NULL
) SWIG_fail
;
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19951 resultobj
= wxPyMake_wxObject(result
);
19967 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
;
19969 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19970 PyObject
*arg2
= (PyObject
*) 0 ;
19971 PyObject
*arg3
= (PyObject
*) 0 ;
19972 PyObject
* obj0
= 0 ;
19973 PyObject
* obj1
= 0 ;
19974 PyObject
* obj2
= 0 ;
19975 char *kwnames
[] = {
19976 (char *) "self",(char *) "self",(char *) "_class", NULL
19979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
19981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19988 wxPyEndAllowThreads(__tstate
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19991 Py_INCREF(Py_None
); resultobj
= Py_None
;
19998 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
;
20000 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20002 PyObject
* obj0
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "self", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
20008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20030 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20031 PyObject
*resultobj
;
20032 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20034 PyObject
* obj0
= 0 ;
20035 char *kwnames
[] = {
20036 (char *) "self", NULL
20039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
20040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 result
= (wxDC
*)(arg1
)->GetDC();
20046 wxPyEndAllowThreads(__tstate
);
20047 if (PyErr_Occurred()) SWIG_fail
;
20050 resultobj
= wxPyMake_wxObject(result
);
20058 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
;
20060 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20061 wxDC
*arg2
= (wxDC
*) 0 ;
20062 PyObject
* obj0
= 0 ;
20063 PyObject
* obj1
= 0 ;
20064 char *kwnames
[] = {
20065 (char *) "self",(char *) "dc", NULL
20068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
20069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
20072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20075 (arg1
)->SetDC(arg2
);
20077 wxPyEndAllowThreads(__tstate
);
20078 if (PyErr_Occurred()) SWIG_fail
;
20080 Py_INCREF(Py_None
); resultobj
= Py_None
;
20087 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20088 PyObject
*resultobj
;
20089 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20092 PyObject
* obj0
= 0 ;
20093 PyObject
* obj1
= 0 ;
20094 PyObject
* obj2
= 0 ;
20095 char *kwnames
[] = {
20096 (char *) "self",(char *) "w",(char *) "h", NULL
20099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20102 arg2
= (int) SWIG_AsInt(obj1
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20104 arg3
= (int) SWIG_AsInt(obj2
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 (arg1
)->SetPageSizePixels(arg2
,arg3
);
20110 wxPyEndAllowThreads(__tstate
);
20111 if (PyErr_Occurred()) SWIG_fail
;
20113 Py_INCREF(Py_None
); resultobj
= Py_None
;
20120 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20121 PyObject
*resultobj
;
20122 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20123 int *arg2
= (int *) 0 ;
20124 int *arg3
= (int *) 0 ;
20127 PyObject
* obj0
= 0 ;
20128 char *kwnames
[] = {
20129 (char *) "self", NULL
20134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
20135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 (arg1
)->GetPageSizePixels(arg2
,arg3
);
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20144 Py_INCREF(Py_None
); resultobj
= Py_None
;
20146 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20147 resultobj
= t_output_helper(resultobj
,o
);
20150 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20151 resultobj
= t_output_helper(resultobj
,o
);
20159 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20160 PyObject
*resultobj
;
20161 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20164 PyObject
* obj0
= 0 ;
20165 PyObject
* obj1
= 0 ;
20166 PyObject
* obj2
= 0 ;
20167 char *kwnames
[] = {
20168 (char *) "self",(char *) "w",(char *) "h", NULL
20171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20174 arg2
= (int) SWIG_AsInt(obj1
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20176 arg3
= (int) SWIG_AsInt(obj2
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 (arg1
)->SetPageSizeMM(arg2
,arg3
);
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20185 Py_INCREF(Py_None
); resultobj
= Py_None
;
20192 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
;
20194 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20195 int *arg2
= (int *) 0 ;
20196 int *arg3
= (int *) 0 ;
20199 PyObject
* obj0
= 0 ;
20200 char *kwnames
[] = {
20201 (char *) "self", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
20207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 (arg1
)->GetPageSizeMM(arg2
,arg3
);
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 Py_INCREF(Py_None
); resultobj
= Py_None
;
20218 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20219 resultobj
= t_output_helper(resultobj
,o
);
20222 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20223 resultobj
= t_output_helper(resultobj
,o
);
20231 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
;
20233 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20236 PyObject
* obj0
= 0 ;
20237 PyObject
* obj1
= 0 ;
20238 PyObject
* obj2
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self",(char *) "x",(char *) "y", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20246 arg2
= (int) SWIG_AsInt(obj1
);
20247 if (PyErr_Occurred()) SWIG_fail
;
20248 arg3
= (int) SWIG_AsInt(obj2
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 (arg1
)->SetPPIScreen(arg2
,arg3
);
20254 wxPyEndAllowThreads(__tstate
);
20255 if (PyErr_Occurred()) SWIG_fail
;
20257 Py_INCREF(Py_None
); resultobj
= Py_None
;
20264 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20265 PyObject
*resultobj
;
20266 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20267 int *arg2
= (int *) 0 ;
20268 int *arg3
= (int *) 0 ;
20271 PyObject
* obj0
= 0 ;
20272 char *kwnames
[] = {
20273 (char *) "self", NULL
20278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
20279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 (arg1
)->GetPPIScreen(arg2
,arg3
);
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20288 Py_INCREF(Py_None
); resultobj
= Py_None
;
20290 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20291 resultobj
= t_output_helper(resultobj
,o
);
20294 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20295 resultobj
= t_output_helper(resultobj
,o
);
20303 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
;
20305 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20308 PyObject
* obj0
= 0 ;
20309 PyObject
* obj1
= 0 ;
20310 PyObject
* obj2
= 0 ;
20311 char *kwnames
[] = {
20312 (char *) "self",(char *) "x",(char *) "y", NULL
20315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20318 arg2
= (int) SWIG_AsInt(obj1
);
20319 if (PyErr_Occurred()) SWIG_fail
;
20320 arg3
= (int) SWIG_AsInt(obj2
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 (arg1
)->SetPPIPrinter(arg2
,arg3
);
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20329 Py_INCREF(Py_None
); resultobj
= Py_None
;
20336 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20337 PyObject
*resultobj
;
20338 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20339 int *arg2
= (int *) 0 ;
20340 int *arg3
= (int *) 0 ;
20343 PyObject
* obj0
= 0 ;
20344 char *kwnames
[] = {
20345 (char *) "self", NULL
20350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
20351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 (arg1
)->GetPPIPrinter(arg2
,arg3
);
20357 wxPyEndAllowThreads(__tstate
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20360 Py_INCREF(Py_None
); resultobj
= Py_None
;
20362 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20363 resultobj
= t_output_helper(resultobj
,o
);
20366 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20367 resultobj
= t_output_helper(resultobj
,o
);
20375 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
;
20377 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20379 PyObject
* obj0
= 0 ;
20380 char *kwnames
[] = {
20381 (char *) "self", NULL
20384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
20385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20389 result
= (bool)(arg1
)->IsPreview();
20391 wxPyEndAllowThreads(__tstate
);
20392 if (PyErr_Occurred()) SWIG_fail
;
20394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20401 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20402 PyObject
*resultobj
;
20403 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20405 PyObject
* obj0
= 0 ;
20406 PyObject
* obj1
= 0 ;
20407 char *kwnames
[] = {
20408 (char *) "self",(char *) "p", NULL
20411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20414 arg2
= (bool) SWIG_AsBool(obj1
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20418 (arg1
)->SetIsPreview(arg2
);
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20423 Py_INCREF(Py_None
); resultobj
= Py_None
;
20430 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20431 PyObject
*resultobj
;
20432 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20436 PyObject
* obj0
= 0 ;
20437 PyObject
* obj1
= 0 ;
20438 PyObject
* obj2
= 0 ;
20439 char *kwnames
[] = {
20440 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20446 arg2
= (int) SWIG_AsInt(obj1
);
20447 if (PyErr_Occurred()) SWIG_fail
;
20448 arg3
= (int) SWIG_AsInt(obj2
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20464 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20465 PyObject
*resultobj
;
20466 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20467 PyObject
* obj0
= 0 ;
20468 char *kwnames
[] = {
20469 (char *) "self", NULL
20472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
20473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 (arg1
)->base_OnEndDocument();
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 Py_INCREF(Py_None
); resultobj
= Py_None
;
20489 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20491 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20492 PyObject
* obj0
= 0 ;
20493 char *kwnames
[] = {
20494 (char *) "self", NULL
20497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
20498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20502 (arg1
)->base_OnBeginPrinting();
20504 wxPyEndAllowThreads(__tstate
);
20505 if (PyErr_Occurred()) SWIG_fail
;
20507 Py_INCREF(Py_None
); resultobj
= Py_None
;
20514 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20515 PyObject
*resultobj
;
20516 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20517 PyObject
* obj0
= 0 ;
20518 char *kwnames
[] = {
20519 (char *) "self", NULL
20522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
20523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20527 (arg1
)->base_OnEndPrinting();
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 Py_INCREF(Py_None
); resultobj
= Py_None
;
20539 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20540 PyObject
*resultobj
;
20541 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20542 PyObject
* obj0
= 0 ;
20543 char *kwnames
[] = {
20544 (char *) "self", NULL
20547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
20548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20552 (arg1
)->base_OnPreparePrinting();
20554 wxPyEndAllowThreads(__tstate
);
20555 if (PyErr_Occurred()) SWIG_fail
;
20557 Py_INCREF(Py_None
); resultobj
= Py_None
;
20564 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20565 PyObject
*resultobj
;
20566 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20569 PyObject
* obj0
= 0 ;
20570 PyObject
* obj1
= 0 ;
20571 char *kwnames
[] = {
20572 (char *) "self",(char *) "page", NULL
20575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20578 arg2
= (int) SWIG_AsInt(obj1
);
20579 if (PyErr_Occurred()) SWIG_fail
;
20581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 result
= (bool)(arg1
)->base_HasPage(arg2
);
20584 wxPyEndAllowThreads(__tstate
);
20585 if (PyErr_Occurred()) SWIG_fail
;
20587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20594 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20595 PyObject
*resultobj
;
20596 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20597 int *arg2
= (int *) 0 ;
20598 int *arg3
= (int *) 0 ;
20599 int *arg4
= (int *) 0 ;
20600 int *arg5
= (int *) 0 ;
20605 PyObject
* obj0
= 0 ;
20606 char *kwnames
[] = {
20607 (char *) "self", NULL
20614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
20615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
20621 wxPyEndAllowThreads(__tstate
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20624 Py_INCREF(Py_None
); resultobj
= Py_None
;
20626 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20627 resultobj
= t_output_helper(resultobj
,o
);
20630 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20631 resultobj
= t_output_helper(resultobj
,o
);
20634 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
20635 resultobj
= t_output_helper(resultobj
,o
);
20638 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
20639 resultobj
= t_output_helper(resultobj
,o
);
20647 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
20649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20650 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
20652 return Py_BuildValue((char *)"");
20654 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20655 PyObject
*resultobj
;
20656 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20657 wxWindow
*arg2
= (wxWindow
*) 0 ;
20658 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20659 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20660 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20661 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20662 long arg5
= (long) 0 ;
20663 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
20664 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20665 wxPreviewCanvas
*result
;
20668 bool temp6
= False
;
20669 PyObject
* obj0
= 0 ;
20670 PyObject
* obj1
= 0 ;
20671 PyObject
* obj2
= 0 ;
20672 PyObject
* obj3
= 0 ;
20673 PyObject
* obj4
= 0 ;
20674 PyObject
* obj5
= 0 ;
20675 char *kwnames
[] = {
20676 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
20681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20687 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20693 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20697 arg5
= (long) SWIG_AsLong(obj4
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20702 arg6
= wxString_in_helper(obj5
);
20703 if (arg6
== NULL
) SWIG_fail
;
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
20729 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
20731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20732 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
20734 return Py_BuildValue((char *)"");
20736 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
;
20738 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20739 wxFrame
*arg2
= (wxFrame
*) 0 ;
20740 wxString
*arg3
= 0 ;
20741 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20742 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20743 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20744 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20745 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20746 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20747 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20748 wxPreviewFrame
*result
;
20749 bool temp3
= False
;
20752 bool temp7
= False
;
20753 PyObject
* obj0
= 0 ;
20754 PyObject
* obj1
= 0 ;
20755 PyObject
* obj2
= 0 ;
20756 PyObject
* obj3
= 0 ;
20757 PyObject
* obj4
= 0 ;
20758 PyObject
* obj5
= 0 ;
20759 PyObject
* obj6
= 0 ;
20760 char *kwnames
[] = {
20761 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
20766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
20768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20770 arg3
= wxString_in_helper(obj2
);
20771 if (arg3
== NULL
) SWIG_fail
;
20777 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20783 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20787 arg6
= (long) SWIG_AsLong(obj5
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20792 arg7
= wxString_in_helper(obj6
);
20793 if (arg7
== NULL
) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
20827 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20828 PyObject
*resultobj
;
20829 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20830 PyObject
* obj0
= 0 ;
20831 char *kwnames
[] = {
20832 (char *) "self", NULL
20835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
20836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20840 (arg1
)->Initialize();
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20845 Py_INCREF(Py_None
); resultobj
= Py_None
;
20852 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20853 PyObject
*resultobj
;
20854 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20855 PyObject
* obj0
= 0 ;
20856 char *kwnames
[] = {
20857 (char *) "self", NULL
20860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20865 (arg1
)->CreateControlBar();
20867 wxPyEndAllowThreads(__tstate
);
20868 if (PyErr_Occurred()) SWIG_fail
;
20870 Py_INCREF(Py_None
); resultobj
= Py_None
;
20877 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20878 PyObject
*resultobj
;
20879 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20880 PyObject
* obj0
= 0 ;
20881 char *kwnames
[] = {
20882 (char *) "self", NULL
20885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 (arg1
)->CreateCanvas();
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20895 Py_INCREF(Py_None
); resultobj
= Py_None
;
20902 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20903 PyObject
*resultobj
;
20904 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20905 wxPreviewControlBar
*result
;
20906 PyObject
* obj0
= 0 ;
20907 char *kwnames
[] = {
20908 (char *) "self", NULL
20911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
20912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
20928 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
20930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20931 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
20933 return Py_BuildValue((char *)"");
20935 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20936 PyObject
*resultobj
;
20937 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20939 wxWindow
*arg3
= (wxWindow
*) 0 ;
20940 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20941 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20942 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20943 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20944 long arg6
= (long) wxTAB_TRAVERSAL
;
20945 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20946 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20947 wxPreviewControlBar
*result
;
20950 bool temp7
= False
;
20951 PyObject
* obj0
= 0 ;
20952 PyObject
* obj1
= 0 ;
20953 PyObject
* obj2
= 0 ;
20954 PyObject
* obj3
= 0 ;
20955 PyObject
* obj4
= 0 ;
20956 PyObject
* obj5
= 0 ;
20957 PyObject
* obj6
= 0 ;
20958 char *kwnames
[] = {
20959 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
20964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20965 arg2
= (long) SWIG_AsLong(obj1
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20967 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
20968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20972 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20978 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20982 arg6
= (long) SWIG_AsLong(obj5
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20987 arg7
= wxString_in_helper(obj6
);
20988 if (arg7
== NULL
) SWIG_fail
;
20993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20994 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20996 wxPyEndAllowThreads(__tstate
);
20997 if (PyErr_Occurred()) SWIG_fail
;
20999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
21014 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21015 PyObject
*resultobj
;
21016 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21018 PyObject
* obj0
= 0 ;
21019 char *kwnames
[] = {
21020 (char *) "self", NULL
21023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
21024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 result
= (int)(arg1
)->GetZoomControl();
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21033 resultobj
= SWIG_FromInt((int)result
);
21040 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21041 PyObject
*resultobj
;
21042 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21044 PyObject
* obj0
= 0 ;
21045 PyObject
* obj1
= 0 ;
21046 char *kwnames
[] = {
21047 (char *) "self",(char *) "zoom", NULL
21050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
21051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21053 arg2
= (int) SWIG_AsInt(obj1
);
21054 if (PyErr_Occurred()) SWIG_fail
;
21056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21057 (arg1
)->SetZoomControl(arg2
);
21059 wxPyEndAllowThreads(__tstate
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21062 Py_INCREF(Py_None
); resultobj
= Py_None
;
21069 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21070 PyObject
*resultobj
;
21071 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21072 wxPrintPreview
*result
;
21073 PyObject
* obj0
= 0 ;
21074 char *kwnames
[] = {
21075 (char *) "self", NULL
21078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
21079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21083 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
21085 wxPyEndAllowThreads(__tstate
);
21086 if (PyErr_Occurred()) SWIG_fail
;
21088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
21095 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21096 PyObject
*resultobj
;
21097 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21098 PyObject
* obj0
= 0 ;
21099 char *kwnames
[] = {
21100 (char *) "self", NULL
21103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
21104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21113 Py_INCREF(Py_None
); resultobj
= Py_None
;
21120 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
;
21122 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21123 PyObject
* obj0
= 0 ;
21124 char *kwnames
[] = {
21125 (char *) "self", NULL
21128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
21129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 (arg1
)->OnPrevious();
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 Py_INCREF(Py_None
); resultobj
= Py_None
;
21145 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
;
21147 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21148 PyObject
* obj0
= 0 ;
21149 char *kwnames
[] = {
21150 (char *) "self", NULL
21153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
21154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21160 wxPyEndAllowThreads(__tstate
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21163 Py_INCREF(Py_None
); resultobj
= Py_None
;
21170 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21171 PyObject
*resultobj
;
21172 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21173 PyObject
* obj0
= 0 ;
21174 char *kwnames
[] = {
21175 (char *) "self", NULL
21178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
21179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21185 wxPyEndAllowThreads(__tstate
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21188 Py_INCREF(Py_None
); resultobj
= Py_None
;
21195 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21196 PyObject
*resultobj
;
21197 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21198 PyObject
* obj0
= 0 ;
21199 char *kwnames
[] = {
21200 (char *) "self", NULL
21203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
21204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21213 Py_INCREF(Py_None
); resultobj
= Py_None
;
21220 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
21222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21223 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
21225 return Py_BuildValue((char *)"");
21227 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21229 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21230 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21231 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
21232 wxPrintPreview
*result
;
21233 PyObject
* obj0
= 0 ;
21234 PyObject
* obj1
= 0 ;
21235 PyObject
* obj2
= 0 ;
21236 char *kwnames
[] = {
21237 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21246 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
21247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21251 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
21253 wxPyEndAllowThreads(__tstate
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
21263 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21264 PyObject
*resultobj
;
21265 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21268 PyObject
* obj0
= 0 ;
21269 PyObject
* obj1
= 0 ;
21270 char *kwnames
[] = {
21271 (char *) "self",(char *) "pageNum", NULL
21274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21277 arg2
= (int) SWIG_AsInt(obj1
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21293 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21295 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21297 PyObject
* obj0
= 0 ;
21298 char *kwnames
[] = {
21299 (char *) "self", NULL
21302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
21303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 result
= (int)(arg1
)->GetCurrentPage();
21309 wxPyEndAllowThreads(__tstate
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21312 resultobj
= SWIG_FromInt((int)result
);
21319 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21320 PyObject
*resultobj
;
21321 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21322 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21323 PyObject
* obj0
= 0 ;
21324 PyObject
* obj1
= 0 ;
21325 char *kwnames
[] = {
21326 (char *) "self",(char *) "printout", NULL
21329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
21330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 (arg1
)->SetPrintout(arg2
);
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21341 Py_INCREF(Py_None
); resultobj
= Py_None
;
21348 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21349 PyObject
*resultobj
;
21350 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21351 wxPyPrintout
*result
;
21352 PyObject
* obj0
= 0 ;
21353 char *kwnames
[] = {
21354 (char *) "self", NULL
21357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
21358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21362 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
21364 wxPyEndAllowThreads(__tstate
);
21365 if (PyErr_Occurred()) SWIG_fail
;
21368 resultobj
= wxPyMake_wxObject(result
);
21376 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21377 PyObject
*resultobj
;
21378 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21379 wxPyPrintout
*result
;
21380 PyObject
* obj0
= 0 ;
21381 char *kwnames
[] = {
21382 (char *) "self", NULL
21385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
21386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= wxPyMake_wxObject(result
);
21404 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21405 PyObject
*resultobj
;
21406 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21407 wxFrame
*arg2
= (wxFrame
*) 0 ;
21408 PyObject
* obj0
= 0 ;
21409 PyObject
* obj1
= 0 ;
21410 char *kwnames
[] = {
21411 (char *) "self",(char *) "frame", NULL
21414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
21415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
21418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21421 (arg1
)->SetFrame(arg2
);
21423 wxPyEndAllowThreads(__tstate
);
21424 if (PyErr_Occurred()) SWIG_fail
;
21426 Py_INCREF(Py_None
); resultobj
= Py_None
;
21433 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21434 PyObject
*resultobj
;
21435 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21436 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21437 PyObject
* obj0
= 0 ;
21438 PyObject
* obj1
= 0 ;
21439 char *kwnames
[] = {
21440 (char *) "self",(char *) "canvas", NULL
21443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
21444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21450 (arg1
)->SetCanvas(arg2
);
21452 wxPyEndAllowThreads(__tstate
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21455 Py_INCREF(Py_None
); resultobj
= Py_None
;
21462 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21463 PyObject
*resultobj
;
21464 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21466 PyObject
* obj0
= 0 ;
21467 char *kwnames
[] = {
21468 (char *) "self", NULL
21471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
21472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21476 result
= (wxFrame
*)(arg1
)->GetFrame();
21478 wxPyEndAllowThreads(__tstate
);
21479 if (PyErr_Occurred()) SWIG_fail
;
21482 resultobj
= wxPyMake_wxObject(result
);
21490 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21491 PyObject
*resultobj
;
21492 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21493 wxPreviewCanvas
*result
;
21494 PyObject
* obj0
= 0 ;
21495 char *kwnames
[] = {
21496 (char *) "self", NULL
21499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
21500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
21516 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
;
21518 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21519 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21522 PyObject
* obj0
= 0 ;
21523 PyObject
* obj1
= 0 ;
21524 PyObject
* obj2
= 0 ;
21525 char *kwnames
[] = {
21526 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21534 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
21535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21537 if (arg3
== NULL
) {
21538 PyErr_SetString(PyExc_TypeError
,"null reference");
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21555 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
;
21557 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21558 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21561 PyObject
* obj0
= 0 ;
21562 PyObject
* obj1
= 0 ;
21563 PyObject
* obj2
= 0 ;
21564 char *kwnames
[] = {
21565 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21573 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
21574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21576 if (arg3
== NULL
) {
21577 PyErr_SetString(PyExc_TypeError
,"null reference");
21581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21582 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
21584 wxPyEndAllowThreads(__tstate
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21594 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21595 PyObject
*resultobj
;
21596 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21599 PyObject
* obj0
= 0 ;
21600 PyObject
* obj1
= 0 ;
21601 char *kwnames
[] = {
21602 (char *) "self",(char *) "pageNum", NULL
21605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21608 arg2
= (int) SWIG_AsInt(obj1
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21612 result
= (bool)(arg1
)->RenderPage(arg2
);
21614 wxPyEndAllowThreads(__tstate
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21624 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21625 PyObject
*resultobj
;
21626 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21627 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21628 PyObject
* obj0
= 0 ;
21629 PyObject
* obj1
= 0 ;
21630 char *kwnames
[] = {
21631 (char *) "self",(char *) "canvas", NULL
21634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
21635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21637 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 (arg1
)->AdjustScrollbars(arg2
);
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21646 Py_INCREF(Py_None
); resultobj
= Py_None
;
21653 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21654 PyObject
*resultobj
;
21655 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21656 wxPrintDialogData
*result
;
21657 PyObject
* obj0
= 0 ;
21658 char *kwnames
[] = {
21659 (char *) "self", NULL
21662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21669 result
= (wxPrintDialogData
*) &_result_ref
;
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21682 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21683 PyObject
*resultobj
;
21684 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21686 PyObject
* obj0
= 0 ;
21687 PyObject
* obj1
= 0 ;
21688 char *kwnames
[] = {
21689 (char *) "self",(char *) "percent", NULL
21692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
21693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21695 arg2
= (int) SWIG_AsInt(obj1
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21699 (arg1
)->SetZoom(arg2
);
21701 wxPyEndAllowThreads(__tstate
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21704 Py_INCREF(Py_None
); resultobj
= Py_None
;
21711 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21712 PyObject
*resultobj
;
21713 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21715 PyObject
* obj0
= 0 ;
21716 char *kwnames
[] = {
21717 (char *) "self", NULL
21720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
21721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21725 result
= (int)(arg1
)->GetZoom();
21727 wxPyEndAllowThreads(__tstate
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21730 resultobj
= SWIG_FromInt((int)result
);
21737 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21738 PyObject
*resultobj
;
21739 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21741 PyObject
* obj0
= 0 ;
21742 char *kwnames
[] = {
21743 (char *) "self", NULL
21746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 result
= (int)(arg1
)->GetMaxPage();
21753 wxPyEndAllowThreads(__tstate
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21756 resultobj
= SWIG_FromInt((int)result
);
21763 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21764 PyObject
*resultobj
;
21765 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21767 PyObject
* obj0
= 0 ;
21768 char *kwnames
[] = {
21769 (char *) "self", NULL
21772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
21773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 result
= (int)(arg1
)->GetMinPage();
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= SWIG_FromInt((int)result
);
21789 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21790 PyObject
*resultobj
;
21791 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21793 PyObject
* obj0
= 0 ;
21794 char *kwnames
[] = {
21795 (char *) "self", NULL
21798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
21799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21803 result
= (bool)(arg1
)->Ok();
21805 wxPyEndAllowThreads(__tstate
);
21806 if (PyErr_Occurred()) SWIG_fail
;
21808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21815 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21816 PyObject
*resultobj
;
21817 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21819 PyObject
* obj0
= 0 ;
21820 PyObject
* obj1
= 0 ;
21821 char *kwnames
[] = {
21822 (char *) "self",(char *) "ok", NULL
21825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
21826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21828 arg2
= (bool) SWIG_AsBool(obj1
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21832 (arg1
)->SetOk(arg2
);
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21837 Py_INCREF(Py_None
); resultobj
= Py_None
;
21844 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21845 PyObject
*resultobj
;
21846 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21849 PyObject
* obj0
= 0 ;
21850 PyObject
* obj1
= 0 ;
21851 char *kwnames
[] = {
21852 (char *) "self",(char *) "interactive", NULL
21855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
21856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21858 arg2
= (bool) SWIG_AsBool(obj1
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 result
= (bool)(arg1
)->Print(arg2
);
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21874 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21875 PyObject
*resultobj
;
21876 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21877 PyObject
* obj0
= 0 ;
21878 char *kwnames
[] = {
21879 (char *) "self", NULL
21882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
21883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 (arg1
)->DetermineScaling();
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 Py_INCREF(Py_None
); resultobj
= Py_None
;
21899 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
21901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21902 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
21904 return Py_BuildValue((char *)"");
21906 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21907 PyObject
*resultobj
;
21908 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21909 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21910 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
21911 wxPyPrintPreview
*result
;
21912 PyObject
* obj0
= 0 ;
21913 PyObject
* obj1
= 0 ;
21914 PyObject
* obj2
= 0 ;
21915 char *kwnames
[] = {
21916 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21925 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
21926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
21942 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21943 PyObject
*resultobj
;
21944 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21945 PyObject
*arg2
= (PyObject
*) 0 ;
21946 PyObject
*arg3
= (PyObject
*) 0 ;
21947 PyObject
* obj0
= 0 ;
21948 PyObject
* obj1
= 0 ;
21949 PyObject
* obj2
= 0 ;
21950 char *kwnames
[] = {
21951 (char *) "self",(char *) "self",(char *) "_class", NULL
21954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
21956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21961 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21963 wxPyEndAllowThreads(__tstate
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21966 Py_INCREF(Py_None
); resultobj
= Py_None
;
21973 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21974 PyObject
*resultobj
;
21975 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21978 PyObject
* obj0
= 0 ;
21979 PyObject
* obj1
= 0 ;
21980 char *kwnames
[] = {
21981 (char *) "self",(char *) "pageNum", NULL
21984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
21986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21987 arg2
= (int) SWIG_AsInt(obj1
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21991 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
21993 wxPyEndAllowThreads(__tstate
);
21994 if (PyErr_Occurred()) SWIG_fail
;
21996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22003 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22004 PyObject
*resultobj
;
22005 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22006 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22009 PyObject
* obj0
= 0 ;
22010 PyObject
* obj1
= 0 ;
22011 PyObject
* obj2
= 0 ;
22012 char *kwnames
[] = {
22013 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22021 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22024 if (arg3
== NULL
) {
22025 PyErr_SetString(PyExc_TypeError
,"null reference");
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
22032 wxPyEndAllowThreads(__tstate
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22042 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22043 PyObject
*resultobj
;
22044 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22045 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22048 PyObject
* obj0
= 0 ;
22049 PyObject
* obj1
= 0 ;
22050 PyObject
* obj2
= 0 ;
22051 char *kwnames
[] = {
22052 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22060 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22063 if (arg3
== NULL
) {
22064 PyErr_SetString(PyExc_TypeError
,"null reference");
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22069 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
22071 wxPyEndAllowThreads(__tstate
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22081 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
;
22083 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22086 PyObject
* obj0
= 0 ;
22087 PyObject
* obj1
= 0 ;
22088 char *kwnames
[] = {
22089 (char *) "self",(char *) "pageNum", NULL
22092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22095 arg2
= (int) SWIG_AsInt(obj1
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 result
= (bool)(arg1
)->base_RenderPage(arg2
);
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22111 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22115 PyObject
* obj0
= 0 ;
22116 PyObject
* obj1
= 0 ;
22117 char *kwnames
[] = {
22118 (char *) "self",(char *) "percent", NULL
22121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
22122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22124 arg2
= (int) SWIG_AsInt(obj1
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 (arg1
)->base_SetZoom(arg2
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 Py_INCREF(Py_None
); resultobj
= Py_None
;
22140 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
;
22142 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22145 PyObject
* obj0
= 0 ;
22146 PyObject
* obj1
= 0 ;
22147 char *kwnames
[] = {
22148 (char *) "self",(char *) "interactive", NULL
22151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
22152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22154 arg2
= (bool) SWIG_AsBool(obj1
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 result
= (bool)(arg1
)->base_Print(arg2
);
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22170 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
;
22172 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22173 PyObject
* obj0
= 0 ;
22174 char *kwnames
[] = {
22175 (char *) "self", NULL
22178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
22179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 (arg1
)->base_DetermineScaling();
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22188 Py_INCREF(Py_None
); resultobj
= Py_None
;
22195 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
22197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22198 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
22200 return Py_BuildValue((char *)"");
22202 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22203 PyObject
*resultobj
;
22204 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22205 wxFrame
*arg2
= (wxFrame
*) 0 ;
22206 wxString
*arg3
= 0 ;
22207 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22208 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22209 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22210 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22211 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22212 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22213 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22214 wxPyPreviewFrame
*result
;
22215 bool temp3
= False
;
22218 bool temp7
= False
;
22219 PyObject
* obj0
= 0 ;
22220 PyObject
* obj1
= 0 ;
22221 PyObject
* obj2
= 0 ;
22222 PyObject
* obj3
= 0 ;
22223 PyObject
* obj4
= 0 ;
22224 PyObject
* obj5
= 0 ;
22225 PyObject
* obj6
= 0 ;
22226 char *kwnames
[] = {
22227 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22236 arg3
= wxString_in_helper(obj2
);
22237 if (arg3
== NULL
) SWIG_fail
;
22243 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22249 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22253 arg6
= (long) SWIG_AsLong(obj5
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22258 arg7
= wxString_in_helper(obj6
);
22259 if (arg7
== NULL
) SWIG_fail
;
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
22293 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22294 PyObject
*resultobj
;
22295 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22296 PyObject
*arg2
= (PyObject
*) 0 ;
22297 PyObject
*arg3
= (PyObject
*) 0 ;
22298 PyObject
* obj0
= 0 ;
22299 PyObject
* obj1
= 0 ;
22300 PyObject
* obj2
= 0 ;
22301 char *kwnames
[] = {
22302 (char *) "self",(char *) "self",(char *) "_class", NULL
22305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22317 Py_INCREF(Py_None
); resultobj
= Py_None
;
22324 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22325 PyObject
*resultobj
;
22326 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22327 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22328 PyObject
* obj0
= 0 ;
22329 PyObject
* obj1
= 0 ;
22330 char *kwnames
[] = {
22331 (char *) "self",(char *) "canvas", NULL
22334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22341 (arg1
)->SetPreviewCanvas(arg2
);
22343 wxPyEndAllowThreads(__tstate
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22346 Py_INCREF(Py_None
); resultobj
= Py_None
;
22353 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22354 PyObject
*resultobj
;
22355 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22356 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
22357 PyObject
* obj0
= 0 ;
22358 PyObject
* obj1
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "self",(char *) "bar", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
22364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
22367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22370 (arg1
)->SetControlBar(arg2
);
22372 wxPyEndAllowThreads(__tstate
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22375 Py_INCREF(Py_None
); resultobj
= Py_None
;
22382 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22383 PyObject
*resultobj
;
22384 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22385 PyObject
* obj0
= 0 ;
22386 char *kwnames
[] = {
22387 (char *) "self", NULL
22390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
22391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 (arg1
)->base_Initialize();
22397 wxPyEndAllowThreads(__tstate
);
22398 if (PyErr_Occurred()) SWIG_fail
;
22400 Py_INCREF(Py_None
); resultobj
= Py_None
;
22407 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22408 PyObject
*resultobj
;
22409 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22410 PyObject
* obj0
= 0 ;
22411 char *kwnames
[] = {
22412 (char *) "self", NULL
22415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 (arg1
)->base_CreateCanvas();
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22425 Py_INCREF(Py_None
); resultobj
= Py_None
;
22432 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
;
22434 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22435 PyObject
* obj0
= 0 ;
22436 char *kwnames
[] = {
22437 (char *) "self", NULL
22440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 (arg1
)->base_CreateControlBar();
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 Py_INCREF(Py_None
); resultobj
= Py_None
;
22457 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22460 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
22462 return Py_BuildValue((char *)"");
22464 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22465 PyObject
*resultobj
;
22466 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22468 wxWindow
*arg3
= (wxWindow
*) 0 ;
22469 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22470 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22471 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22472 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22473 long arg6
= (long) 0 ;
22474 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22475 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22476 wxPyPreviewControlBar
*result
;
22479 bool temp7
= False
;
22480 PyObject
* obj0
= 0 ;
22481 PyObject
* obj1
= 0 ;
22482 PyObject
* obj2
= 0 ;
22483 PyObject
* obj3
= 0 ;
22484 PyObject
* obj4
= 0 ;
22485 PyObject
* obj5
= 0 ;
22486 PyObject
* obj6
= 0 ;
22487 char *kwnames
[] = {
22488 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22494 arg2
= (long) SWIG_AsLong(obj1
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22496 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22501 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22507 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22511 arg6
= (long) SWIG_AsLong(obj5
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22516 arg7
= wxString_in_helper(obj6
);
22517 if (arg7
== NULL
) SWIG_fail
;
22522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22523 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22525 wxPyEndAllowThreads(__tstate
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
22543 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22544 PyObject
*resultobj
;
22545 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22546 PyObject
*arg2
= (PyObject
*) 0 ;
22547 PyObject
*arg3
= (PyObject
*) 0 ;
22548 PyObject
* obj0
= 0 ;
22549 PyObject
* obj1
= 0 ;
22550 PyObject
* obj2
= 0 ;
22551 char *kwnames
[] = {
22552 (char *) "self",(char *) "self",(char *) "_class", NULL
22555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22562 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22567 Py_INCREF(Py_None
); resultobj
= Py_None
;
22574 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22575 PyObject
*resultobj
;
22576 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22577 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
22578 PyObject
* obj0
= 0 ;
22579 PyObject
* obj1
= 0 ;
22580 char *kwnames
[] = {
22581 (char *) "self",(char *) "preview", NULL
22584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
22588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 (arg1
)->SetPrintPreview(arg2
);
22593 wxPyEndAllowThreads(__tstate
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22596 Py_INCREF(Py_None
); resultobj
= Py_None
;
22603 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22604 PyObject
*resultobj
;
22605 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22606 PyObject
* obj0
= 0 ;
22607 char *kwnames
[] = {
22608 (char *) "self", NULL
22611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
22612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22616 (arg1
)->base_CreateButtons();
22618 wxPyEndAllowThreads(__tstate
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22621 Py_INCREF(Py_None
); resultobj
= Py_None
;
22628 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22629 PyObject
*resultobj
;
22630 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22632 PyObject
* obj0
= 0 ;
22633 PyObject
* obj1
= 0 ;
22634 char *kwnames
[] = {
22635 (char *) "self",(char *) "zoom", NULL
22638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22641 arg2
= (int) SWIG_AsInt(obj1
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22645 (arg1
)->base_SetZoomControl(arg2
);
22647 wxPyEndAllowThreads(__tstate
);
22648 if (PyErr_Occurred()) SWIG_fail
;
22650 Py_INCREF(Py_None
); resultobj
= Py_None
;
22657 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22660 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
22662 return Py_BuildValue((char *)"");
22664 static PyMethodDef SwigMethods
[] = {
22665 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
22666 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
22667 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
22668 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
22669 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
22670 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22671 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22672 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22673 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
22674 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
22675 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
22676 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
22677 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
22678 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
22679 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
22680 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
22681 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
22682 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
22683 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
22684 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
22685 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
22686 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
22687 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
22688 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
22689 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
22690 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
22691 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
22692 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
22693 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
22694 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
22695 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
22696 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
22697 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
22698 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
22699 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
22700 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
22701 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
22702 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
22703 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
22704 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
22705 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
22706 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
22707 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
22708 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
22709 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
22710 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
22711 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
22712 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
22713 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22714 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22715 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22716 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22717 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
22718 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22719 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22720 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
22721 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
22722 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22723 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22724 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22725 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
22726 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
22727 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
22728 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
22729 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
22730 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
22731 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
22732 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
22733 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
22734 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
22735 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
22736 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22737 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
22738 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
22739 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
22740 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
22741 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
22742 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
22743 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
22744 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
22745 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
22746 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
22747 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
22748 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
22749 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
22750 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22751 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
22752 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
22753 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22754 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22755 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
22756 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
22757 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
22758 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22759 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22760 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22761 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22762 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
22763 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
22764 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
22765 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
22766 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
22767 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
22768 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
22769 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
22770 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22771 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
22772 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
22773 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
22774 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
22775 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
22776 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
22777 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
22778 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
22779 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
22780 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
22781 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
22782 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22783 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
22784 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22785 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22786 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22787 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
22788 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
22789 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
22790 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
22791 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
22792 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
22793 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
22794 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
22795 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22796 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22797 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
22798 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
22799 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
22800 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
22801 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22802 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22803 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22804 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
22805 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
22806 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
22807 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
22808 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
22809 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22810 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22811 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22812 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22813 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22814 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22815 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22816 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22817 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22818 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22819 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22820 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22821 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
22822 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
22823 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
22824 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
22825 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
22826 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
22827 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
22828 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
22829 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
22830 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
22831 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
22832 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
22833 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
22834 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
22835 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22836 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22837 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
22838 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
22839 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22840 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22841 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22842 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22843 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
22844 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
22845 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22846 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22847 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
22848 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
22849 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
22850 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22851 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22852 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22853 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22854 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22855 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22856 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
22857 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22858 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
22859 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
22860 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
22861 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
22862 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
22863 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22864 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
22865 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
22866 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
22867 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22868 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
22869 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
22870 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
22871 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
22872 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22873 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
22874 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
22875 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
22876 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
22877 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
22878 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
22879 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
22880 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22881 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22882 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22883 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22884 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
22885 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
22886 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
22887 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
22888 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
22889 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
22890 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
22891 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
22892 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
22893 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
22894 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
22895 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
22896 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
22897 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
22898 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
22899 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
22900 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22901 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
22902 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
22903 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
22904 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22905 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
22906 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
22907 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
22908 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
22909 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
22910 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
22911 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
22912 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
22913 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
22914 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22915 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
22916 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
22917 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
22918 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
22919 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
22920 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
22921 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
22922 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
22923 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
22924 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
22925 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
22926 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22927 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
22928 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
22929 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
22930 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
22931 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
22932 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
22933 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
22934 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
22935 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
22936 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
22937 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
22938 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
22939 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
22940 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
22941 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
22942 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
22943 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
22944 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
22945 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
22946 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
22947 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
22948 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
22949 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
22950 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
22951 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
22952 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
22953 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
22954 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
22955 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22956 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
22957 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22958 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
22959 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
22960 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
22961 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22962 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
22963 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
22964 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
22965 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
22966 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
22967 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
22968 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22969 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
22970 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
22971 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
22972 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
22973 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
22974 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
22975 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
22976 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
22977 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
22978 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
22979 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
22980 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
22981 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
22982 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
22983 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22984 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
22985 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22986 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
22987 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
22988 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
22989 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
22990 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
22991 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
22992 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
22993 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
22994 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
22995 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
22996 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
22997 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
22998 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
22999 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
23000 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
23001 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
23002 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23003 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
23004 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
23005 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
23006 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
23007 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
23008 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
23009 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
23010 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
23011 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
23012 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
23013 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
23014 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
23015 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
23016 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
23017 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23018 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23019 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23020 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
23021 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23022 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23023 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23024 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
23025 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
23026 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
23027 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23028 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23029 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23030 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23031 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23032 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23033 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
23034 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23035 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23036 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
23037 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
23038 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
23039 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
23040 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
23041 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
23042 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23043 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
23044 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
23045 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
23046 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
23047 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
23048 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23049 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23050 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
23051 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
23052 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23053 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23054 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23055 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
23056 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
23057 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
23058 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
23059 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23060 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23061 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23062 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
23063 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
23064 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23065 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23066 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23067 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23068 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23069 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23070 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23071 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23072 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23073 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23074 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23075 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23076 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23077 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23078 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23079 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23080 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23081 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23082 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23083 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
23084 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
23085 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23086 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23087 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23088 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23089 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23090 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23091 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23092 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23093 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23094 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23095 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23096 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23097 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23098 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23099 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23100 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23101 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23102 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23103 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23104 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
23105 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23106 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23107 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23108 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23109 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23110 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23111 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23112 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23113 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23114 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23115 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23116 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23117 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23118 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23119 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23120 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23121 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23122 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23123 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23124 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23125 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23126 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23127 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23128 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23129 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23130 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23131 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23132 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23133 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23134 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23135 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23136 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23137 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23138 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23139 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23140 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23141 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23142 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23143 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
23144 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23145 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23146 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
23147 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23148 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
23149 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
23150 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
23151 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23152 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23153 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23154 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23155 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23156 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23157 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23158 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23159 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23160 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23161 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23162 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23163 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23164 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23165 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23166 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23167 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23168 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23169 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23170 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23171 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23172 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23173 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23174 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23175 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23176 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23177 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23178 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23179 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23180 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23181 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23182 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
23183 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23184 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
23185 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23186 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
23187 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23188 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23189 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23190 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23191 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23192 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23193 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23194 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23195 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23196 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23197 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23198 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23199 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23200 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23201 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23202 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23203 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23204 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23205 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23206 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23207 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23208 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23209 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23210 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23211 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23212 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23213 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23214 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23215 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23216 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23217 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23218 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23219 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23220 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
23221 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23222 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23223 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
23224 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23225 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
23226 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23227 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23228 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
23229 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23230 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
23231 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23232 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
23233 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
23234 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
23235 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
23236 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
23237 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
23238 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23239 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
23240 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
23241 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
23242 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23243 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23244 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23245 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23246 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23247 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23248 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23249 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23250 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23251 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23252 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
23253 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
23254 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23255 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23256 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
23257 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
23258 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
23259 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
23260 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23261 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
23262 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23263 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23264 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23265 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23266 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23267 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
23268 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23269 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23270 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23271 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23272 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
23273 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
23274 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
23275 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
23276 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
23277 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
23278 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23279 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23280 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23281 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23282 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23283 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23284 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23285 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23286 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23287 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23288 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23289 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23290 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23291 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
23292 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23293 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23294 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23295 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23296 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23297 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23298 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
23299 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
23300 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23301 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
23302 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23303 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23304 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23305 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23306 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23307 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23308 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23309 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
23310 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23311 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
23312 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23313 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23314 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23315 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23316 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23317 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23318 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23319 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
23320 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23321 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23322 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23323 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
23324 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23325 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
23330 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23332 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
23333 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23335 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
23336 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23338 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
23339 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
23341 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
23342 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
23344 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
23345 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
23347 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
23348 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
23350 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
23351 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
23353 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
23354 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23356 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
23357 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
23359 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
23360 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
23362 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
23363 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23365 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
23366 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
23368 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
23369 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23371 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
23372 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23374 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
23375 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
23377 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
23378 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23380 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
23381 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23383 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
23384 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
23386 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
23387 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
23389 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
23390 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
23392 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
23393 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
23395 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
23396 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
23398 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
23399 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
23401 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
23402 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
23404 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
23405 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23407 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
23408 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23410 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
23411 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23413 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
23414 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23416 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
23417 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23419 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
23420 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
23422 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
23423 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
23425 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
23426 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23428 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
23429 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
23431 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
23432 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23434 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
23435 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
23437 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
23438 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
23440 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
23441 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23443 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
23444 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23446 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
23447 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23449 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
23450 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
23452 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
23453 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
23455 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
23456 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23458 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
23459 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23461 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
23462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23464 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
23465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23467 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
23468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23470 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
23471 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
23473 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
23474 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
23476 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
23477 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
23479 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
23480 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
23482 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
23483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23485 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
23486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23488 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
23489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23491 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
23492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23494 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
23495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23497 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
23498 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23500 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
23501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23503 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
23504 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
23506 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
23507 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
23509 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
23510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23512 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
23513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
23515 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
23516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23518 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
23519 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
23521 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
23522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23524 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
23525 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
23527 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
23528 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
23530 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
23531 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
23533 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
23534 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
23536 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
23537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
23539 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
23540 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
23542 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
23543 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
23545 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
23546 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
23548 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
23549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23551 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
23552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23554 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
23555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23557 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
23558 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
23560 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
23561 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
23563 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
23564 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
23566 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
23567 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23569 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
23570 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23572 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
23573 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23575 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
23578 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
23581 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
23582 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23584 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
23585 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23587 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
23588 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
23590 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
23591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23593 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
23594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23596 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
23597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
23599 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
23600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
23602 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
23603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
23605 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
23606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23608 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
23609 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23611 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
23612 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
23614 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
23615 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
23617 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
23618 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
23620 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
23621 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23623 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
23624 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
23626 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
23627 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
23629 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
23630 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
23632 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
23633 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
23635 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
23636 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23638 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
23639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23641 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
23642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23644 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
23645 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
23647 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
23648 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
23650 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
23651 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
23653 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
23654 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
23656 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
23657 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
23659 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
23660 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
23662 static void *_p_wxSizerTo_p_wxObject(void *x
) {
23663 return (void *)((wxObject
*) ((wxSizer
*) x
));
23665 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
23666 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
23668 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
23669 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23671 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
23672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23674 static void *_p_wxEventTo_p_wxObject(void *x
) {
23675 return (void *)((wxObject
*) ((wxEvent
*) x
));
23677 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
23678 return (void *)((wxObject
*) ((wxFontData
*) x
));
23680 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
23681 return (void *)((wxObject
*) ((wxPrintData
*) x
));
23683 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
23684 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
23686 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
23687 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
23689 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
23690 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
23692 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
23693 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
23695 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
23696 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23698 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
23699 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23701 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
23702 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
23704 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
23705 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
23707 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
23708 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23710 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
23711 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23713 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
23714 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23716 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
23717 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23719 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
23720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23722 static void *_p_wxControlTo_p_wxObject(void *x
) {
23723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
23725 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
23726 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
23728 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
23729 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23731 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
23732 return (void *)((wxObject
*) ((wxFSFile
*) x
));
23734 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
23735 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
23737 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
23738 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
23740 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
23741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23743 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
23744 return (void *)((wxObject
*) ((wxColourData
*) x
));
23746 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
23747 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
23749 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
23750 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23752 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
23753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
23755 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
23756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23758 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
23759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23761 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
23762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23764 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
23765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23767 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
23768 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23770 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
23771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23773 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
23774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23776 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
23777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23779 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
23780 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
23782 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
23783 return (void *)((wxObject
*) ((wxPrinter
*) x
));
23785 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
23786 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
23788 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
23789 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
23791 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
23792 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23794 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
23795 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23797 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
23798 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
23800 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
23801 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
23803 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
23804 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
23806 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
23807 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
23809 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
23810 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
23812 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
23813 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
23815 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
23816 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
23818 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
23819 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
23821 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
23822 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
23824 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
23825 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
23827 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
23828 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
23830 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
23831 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
23833 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
23834 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
23836 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
23837 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
23839 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
23840 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
23842 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
23843 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
23845 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
23846 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
23848 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
23849 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
23851 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
23852 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23854 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
23855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23857 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
23858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23860 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
23861 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
23863 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
23864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23866 static void *_p_wxImageTo_p_wxObject(void *x
) {
23867 return (void *)((wxObject
*) ((wxImage
*) x
));
23869 static void *_p_wxFrameTo_p_wxObject(void *x
) {
23870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23872 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
23873 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
23875 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
23876 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
23878 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
23879 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23881 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
23882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
23884 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
23885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23887 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
23888 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23890 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
23891 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23893 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
23894 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
23896 static void *_p_wxWindowTo_p_wxObject(void *x
) {
23897 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
23899 static void *_p_wxMenuTo_p_wxObject(void *x
) {
23900 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
23902 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
23903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
23905 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
23906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
23908 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
23909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
23911 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
23912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
23914 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
23915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
23917 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
23918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
23920 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
23921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23923 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
23924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
23926 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
23927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23929 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
23930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
23932 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
23933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23935 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
23936 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
23938 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
23939 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
23941 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
23942 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
23944 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
23945 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
23947 static void *_p_wxPanelTo_p_wxObject(void *x
) {
23948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
23950 static void *_p_wxDialogTo_p_wxObject(void *x
) {
23951 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
23953 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
23954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23956 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
23957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23959 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
23960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
23962 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
23963 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
23965 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
23966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
23968 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
23969 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
23971 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
23972 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23974 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
23975 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
23977 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
23978 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
23980 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
23981 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
23983 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
23984 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
23986 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
23987 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
23989 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
23990 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23992 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
23993 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
23995 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
23996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
23998 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
23999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24001 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
24002 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
24004 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
24005 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
24007 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
24008 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24010 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
24011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
24013 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
24014 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
24016 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
24017 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
24019 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
24020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
24022 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
24023 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
24025 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24026 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24028 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24029 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24031 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
24032 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24034 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
24035 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24037 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
24038 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24040 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
24041 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24043 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
24044 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
24046 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
24047 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
24049 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
24050 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
24052 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
24053 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
24055 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
24056 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
24058 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
24059 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
24061 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
24062 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
24064 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
24065 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
24067 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
24068 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
24070 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
24071 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
24073 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
24074 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
24076 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
24077 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
24079 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
24080 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
24082 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
24083 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
24085 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
24086 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
24088 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24089 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24091 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24092 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24094 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
24095 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
24097 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24098 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
24100 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24101 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24103 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
24104 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24106 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
24107 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24109 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
24110 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
24112 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
24113 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
24115 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
24116 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24118 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
24119 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24121 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
24122 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24124 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
24125 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24127 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
24128 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24130 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
24131 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24133 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
24134 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24136 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
24137 return (void *)((wxWindow
*) ((wxPanel
*) x
));
24139 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
24140 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
24142 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
24143 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
24145 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
24146 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24148 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
24149 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24151 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
24152 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24154 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
24155 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
24157 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
24158 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24160 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
24161 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
24163 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
24164 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
24166 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
24167 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
24169 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
24170 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
24172 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
24173 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
24175 static void *_p_wxControlTo_p_wxWindow(void *x
) {
24176 return (void *)((wxWindow
*) ((wxControl
*) x
));
24178 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
24179 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24181 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
24182 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24184 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
24185 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24187 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
24188 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
24190 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
24191 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
24193 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
24194 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24196 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
24197 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24199 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
24200 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24202 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
24203 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
24205 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
24206 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24208 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
24209 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
24211 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
24212 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24214 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
24215 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24217 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
24218 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24220 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
24221 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
24223 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
24224 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24226 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
24227 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24229 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
24230 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24232 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
24233 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24235 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
24236 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
24238 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
24239 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
24241 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
24242 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
24244 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
24245 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
24247 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
24248 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
24250 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
24251 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
24253 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
24254 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
24256 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
24257 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24259 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
24260 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24262 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
24263 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
24265 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
24266 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
24268 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
24269 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
24271 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
24272 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
24274 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
24275 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24277 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
24278 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24280 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
24281 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24283 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
24284 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
24286 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
24287 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24289 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
24290 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
24292 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
24293 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24295 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
24296 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24298 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
24299 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
24301 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
24302 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24304 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
24305 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24307 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
24308 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24310 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
24311 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24313 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
24314 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24316 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
24317 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24319 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
24320 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24322 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
24323 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24325 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
24326 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
24328 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
24329 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24331 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}};
24332 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}};
24333 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}};
24334 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}};
24335 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}};
24336 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}};
24337 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}};
24338 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}};
24339 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}};
24340 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}};
24341 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}};
24342 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}};
24343 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}};
24344 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}};
24345 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}};
24346 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}};
24347 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}};
24348 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}};
24349 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}};
24350 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}};
24351 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}};
24352 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}};
24353 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}};
24354 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}};
24355 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}};
24356 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}};
24357 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}};
24358 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}};
24359 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}};
24360 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}};
24361 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}};
24362 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}};
24363 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}};
24364 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}};
24365 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}};
24366 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_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_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}};
24367 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}};
24368 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}};
24369 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}};
24370 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}};
24371 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}};
24372 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}};
24373 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24374 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}};
24375 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}};
24376 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}};
24377 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}};
24378 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}};
24379 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}};
24380 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_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24381 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}};
24382 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}};
24383 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}};
24384 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}};
24385 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}};
24386 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}};
24387 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}};
24388 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24389 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24390 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}};
24391 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24392 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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_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}};
24393 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}};
24394 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}};
24395 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}};
24396 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}};
24397 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}};
24398 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}};
24399 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}};
24400 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}};
24401 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}};
24402 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}};
24403 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}};
24404 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}};
24405 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}};
24406 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}};
24407 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}};
24408 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}};
24409 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}};
24410 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}};
24411 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}};
24412 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}};
24413 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}};
24414 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}};
24416 static swig_type_info
*swig_types_initial
[] = {
24417 _swigt__p_wxQueryLayoutInfoEvent
,
24418 _swigt__p_wxPreviewFrame
,
24419 _swigt__p_wxPyPreviewFrame
,
24420 _swigt__p_wxPyPanel
,
24422 _swigt__p_wxPrintData
,
24423 _swigt__p_wxFontData
,
24425 _swigt__p_wxTaskBarIcon
,
24426 _swigt__p_wxIconBundle
,
24427 _swigt__p_wxLayoutAlgorithm
,
24428 _swigt__p_wxFindDialogEvent
,
24429 _swigt__p_wxPreviewCanvas
,
24431 _swigt__p_wxSplitterEvent
,
24432 _swigt__p_wxRegion
,
24433 _swigt__p_wxFindReplaceData
,
24438 _swigt__p_wxMDIChildFrame
,
24439 _swigt__p_wxColourData
,
24440 _swigt__p_wxNotifyEvent
,
24441 _swigt__p_wxPyWindow
,
24442 _swigt__p_wxSplashScreen
,
24443 _swigt__p_wxFindReplaceDialog
,
24444 _swigt__p_wxProgressDialog
,
24445 _swigt__p_wxMessageDialog
,
24446 _swigt__p_wxTextEntryDialog
,
24447 _swigt__p_wxSingleChoiceDialog
,
24448 _swigt__p_wxMultiChoiceDialog
,
24449 _swigt__p_wxFileDialog
,
24450 _swigt__p_wxPrinter
,
24451 _swigt__p_wxArrayInt
,
24452 _swigt__p_wxEvtHandler
,
24453 _swigt__p_wxCalculateLayoutEvent
,
24454 _swigt__p_wxPyHtmlListBox
,
24455 _swigt__p_wxPyVListBox
,
24458 _swigt__p_wxMiniFrame
,
24460 _swigt__p_wxPyPrintout
,
24461 _swigt__p_wxTaskBarIconEvent
,
24462 _swigt__p_wxScrollWinEvent
,
24463 _swigt__p_wxStatusBar
,
24464 _swigt__p_wxMDIParentFrame
,
24466 _swigt__p_wxObject
,
24467 _swigt__p_wxOutputStream
,
24468 _swigt__p_unsigned_long
,
24469 _swigt__p_wxMDIClientWindow
,
24470 _swigt__p_wxTipWindow
,
24471 _swigt__p_wxSashLayoutWindow
,
24472 _swigt__p_wxSplitterWindow
,
24473 _swigt__p_wxPyVScrolledWindow
,
24474 _swigt__p_wxPyPopupTransientWindow
,
24475 _swigt__p_wxPopupWindow
,
24476 _swigt__p_wxSashWindow
,
24477 _swigt__p_wxTopLevelWindow
,
24478 _swigt__p_wxWindow
,
24479 _swigt__p_wxScrolledWindow
,
24480 _swigt__p_wxSplashScreenWindow
,
24481 _swigt__p_wxMenuBar
,
24482 _swigt__p_wxPrintPreview
,
24483 _swigt__p_wxSashEvent
,
24484 _swigt__p_wxString
,
24485 _swigt__p_wxPyPrintPreview
,
24486 _swigt__p_wxFontDialog
,
24487 _swigt__p_wxDirDialog
,
24488 _swigt__p_wxColourDialog
,
24489 _swigt__p_wxDialog
,
24491 _swigt__p_wxPageSetupDialog
,
24492 _swigt__p_wxPrintDialog
,
24493 _swigt__p_wxBitmap
,
24494 _swigt__p_wxCommandEvent
,
24495 _swigt__p_wxPreviewControlBar
,
24496 _swigt__p_wxPyPreviewControlBar
,
24497 _swigt__p_wxColour
,
24498 _swigt__p_wxToolBar
,
24499 _swigt__p_wxPageSetupDialogData
,
24500 _swigt__p_wxPrintDialogData
,
24505 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24507 static swig_const_info swig_const_table
[] = {
24517 SWIGEXPORT(void) SWIG_init(void) {
24518 static PyObject
*SWIG_globals
= 0;
24519 static int typeinit
= 0;
24522 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
24523 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
24524 d
= PyModule_GetDict(m
);
24527 for (i
= 0; swig_types_initial
[i
]; i
++) {
24528 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
24532 SWIG_InstallConstants(d
,swig_const_table
);
24534 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
24535 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
24536 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
24537 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
24538 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
24539 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
24540 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
24541 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
24542 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
24543 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
24544 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
24545 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
24546 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
24547 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
24548 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
24549 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
24550 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
24551 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
24552 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
24553 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
24554 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
24555 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
24556 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
24557 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
24558 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
24559 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
24560 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
24561 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
24562 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
24563 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
24564 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
24565 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
24566 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
24567 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
24568 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
24569 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
24570 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
24571 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
24572 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
24573 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
24574 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
24575 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
24576 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
24577 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
24578 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
24579 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
24580 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
24581 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
24582 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
24583 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
24584 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
24585 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
24586 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
24587 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
24588 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
24589 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
24590 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
24591 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
24592 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
24593 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
24594 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
24595 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
24596 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
24597 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
24598 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
24599 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
24600 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
24602 // Map renamed classes back to their common name for OOR
24603 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24604 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24605 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24607 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
24608 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
24609 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
24610 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
24611 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
24612 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
24613 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
24614 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
24615 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
24616 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
24617 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
24618 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
24619 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
24620 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
24621 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
24622 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
24623 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
24624 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
24625 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
24626 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
24627 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
24628 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
24629 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
24630 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
24631 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
24632 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
24633 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
24634 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
24635 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
24636 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
24637 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
24638 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
24639 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
24640 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
24641 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
24642 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
24643 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
24644 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
24645 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
24646 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
24647 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
24648 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
24649 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
24650 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
24651 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
24652 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
24653 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
24654 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
24655 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
24656 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
24657 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
24658 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
24659 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
24660 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
24661 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
24662 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
24663 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
24664 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
24665 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
24666 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
24668 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");