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
);
885 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
890 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
892 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
893 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
894 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
895 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
897 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
898 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
899 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
901 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
902 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
904 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
905 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
906 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
907 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
909 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
910 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
911 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
913 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
914 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
916 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, ShouldInheritColours
);
918 // C++ version of Python aware wxPanel
919 class wxPyPanel
: public wxPanel
921 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
923 wxPyPanel() : wxPanel() {}
924 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
925 const wxPoint
& pos
= wxDefaultPosition
,
926 const wxSize
& size
= wxDefaultSize
,
928 const wxString
& name
= wxPyPanelNameStr
)
929 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
932 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
933 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
934 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
935 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
937 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
938 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
939 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
941 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
942 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
944 DEC_PYCALLBACK__(InitDialog
);
945 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
946 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
947 DEC_PYCALLBACK_BOOL_(Validate
);
949 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
950 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
951 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
953 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
954 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
956 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
961 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
963 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
964 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
965 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
966 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
968 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
969 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
970 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
972 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
973 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
975 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
976 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
977 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
978 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
980 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
981 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
982 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
984 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
985 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
987 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, ShouldInheritColours
);
990 #include "wx/wxPython/printfw.h"
993 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
994 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
998 // Since this one would be tough and ugly to do with the Macros...
999 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1000 bool hadErr
= False
;
1003 bool blocked
= wxPyBeginBlockThreads();
1004 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1005 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1006 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1009 val
= PyTuple_GetItem(result
, 0);
1010 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1013 val
= PyTuple_GetItem(result
, 1);
1014 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1017 val
= PyTuple_GetItem(result
, 2);
1018 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1021 val
= PyTuple_GetItem(result
, 3);
1022 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1029 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1034 wxPyEndBlockThreads(blocked
);
1036 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1039 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1040 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1044 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1045 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1046 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1047 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1048 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1049 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1050 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1056 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1057 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1058 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1061 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1062 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1065 bool blocked = wxPyBeginBlockThreads(); \
1066 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1067 PyObject* win = wxPyMake_wxObject(a); \
1068 PyObject* dc = wxPyMake_wxObject(&b); \
1069 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1073 wxPyEndBlockThreads(blocked); \
1075 rval = PCLASS::CBNAME(a, b); \
1078 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1079 return PCLASS::CBNAME(a, b); \
1085 class wxPyPrintPreview
: public wxPrintPreview
1087 DECLARE_CLASS(wxPyPrintPreview
)
1089 wxPyPrintPreview(wxPyPrintout
* printout
,
1090 wxPyPrintout
* printoutForPrinting
,
1091 wxPrintDialogData
* data
=NULL
)
1092 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1094 wxPyPrintPreview(wxPyPrintout
* printout
,
1095 wxPyPrintout
* printoutForPrinting
,
1096 wxPrintData
* data
=NULL
)
1097 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1100 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1101 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1102 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1103 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1104 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1105 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1106 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1111 // Stupid renamed classes... Fix this in 2.5...
1112 #if defined(__WXMSW__)
1113 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1114 #elif defined(__WXMAC__)
1115 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1117 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1120 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1121 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1122 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1123 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1124 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1125 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1126 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1129 class wxPyPreviewFrame
: public wxPreviewFrame
1131 DECLARE_CLASS(wxPyPreviewFrame
);
1133 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1134 const wxString
& title
,
1135 const wxPoint
& pos
= wxDefaultPosition
,
1136 const wxSize
& size
= wxDefaultSize
,
1137 long style
= wxDEFAULT_FRAME_STYLE
,
1138 const wxString
& name
= wxPyFrameNameStr
)
1139 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1142 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1143 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1145 DEC_PYCALLBACK_VOID_(Initialize
);
1146 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1147 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1152 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1154 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1155 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1156 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1159 class wxPyPreviewControlBar
: public wxPreviewControlBar
1161 DECLARE_CLASS(wxPyPreviewControlBar
);
1163 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1166 const wxPoint
& pos
= wxDefaultPosition
,
1167 const wxSize
& size
= wxDefaultSize
,
1169 const wxString
& name
= wxPyPanelNameStr
)
1170 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1173 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1175 DEC_PYCALLBACK_VOID_(CreateButtons
);
1176 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1181 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1182 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1183 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1188 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1189 PyObject
*resultobj
;
1190 wxWindow
*arg1
= (wxWindow
*) 0 ;
1191 int arg2
= (int) (int)-1 ;
1192 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1193 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1194 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1195 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1196 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1197 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1198 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1202 bool temp6
= False
;
1203 PyObject
* obj0
= 0 ;
1204 PyObject
* obj1
= 0 ;
1205 PyObject
* obj2
= 0 ;
1206 PyObject
* obj3
= 0 ;
1207 PyObject
* obj4
= 0 ;
1208 PyObject
* obj5
= 0 ;
1210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1217 arg2
= (int const) SWIG_AsInt(obj1
);
1218 if (PyErr_Occurred()) SWIG_fail
;
1223 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1229 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1233 arg5
= (long) SWIG_AsLong(obj4
);
1234 if (PyErr_Occurred()) SWIG_fail
;
1238 arg6
= wxString_in_helper(obj5
);
1239 if (arg6
== NULL
) SWIG_fail
;
1244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1245 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1247 wxPyEndAllowThreads(__tstate
);
1248 if (PyErr_Occurred()) SWIG_fail
;
1250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1265 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
*resultobj
;
1272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1275 result
= (wxPanel
*)new wxPanel();
1277 wxPyEndAllowThreads(__tstate
);
1278 if (PyErr_Occurred()) SWIG_fail
;
1280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1287 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
*resultobj
;
1289 wxPanel
*arg1
= (wxPanel
*) 0 ;
1290 wxWindow
*arg2
= (wxWindow
*) 0 ;
1292 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1293 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1294 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1295 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1296 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1297 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1298 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1302 bool temp7
= False
;
1303 PyObject
* obj0
= 0 ;
1304 PyObject
* obj1
= 0 ;
1305 PyObject
* obj2
= 0 ;
1306 PyObject
* obj3
= 0 ;
1307 PyObject
* obj4
= 0 ;
1308 PyObject
* obj5
= 0 ;
1309 PyObject
* obj6
= 0 ;
1311 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1319 arg3
= (int const) SWIG_AsInt(obj2
);
1320 if (PyErr_Occurred()) SWIG_fail
;
1324 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1330 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1334 arg6
= (long) SWIG_AsLong(obj5
);
1335 if (PyErr_Occurred()) SWIG_fail
;
1339 arg7
= wxString_in_helper(obj6
);
1340 if (arg7
== NULL
) SWIG_fail
;
1345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1346 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1348 wxPyEndAllowThreads(__tstate
);
1349 if (PyErr_Occurred()) SWIG_fail
;
1352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1368 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
*resultobj
;
1370 wxPanel
*arg1
= (wxPanel
*) 0 ;
1371 PyObject
* obj0
= 0 ;
1373 (char *) "self", NULL
1376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1381 (arg1
)->InitDialog();
1383 wxPyEndAllowThreads(__tstate
);
1384 if (PyErr_Occurred()) SWIG_fail
;
1386 Py_INCREF(Py_None
); resultobj
= Py_None
;
1393 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1396 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1398 return Py_BuildValue((char *)"");
1400 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
*resultobj
;
1402 wxWindow
*arg1
= (wxWindow
*) 0 ;
1403 int arg2
= (int) (int)-1 ;
1404 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1405 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1406 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1407 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1408 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1409 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1410 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1411 wxScrolledWindow
*result
;
1414 bool temp6
= False
;
1415 PyObject
* obj0
= 0 ;
1416 PyObject
* obj1
= 0 ;
1417 PyObject
* obj2
= 0 ;
1418 PyObject
* obj3
= 0 ;
1419 PyObject
* obj4
= 0 ;
1420 PyObject
* obj5
= 0 ;
1422 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1429 arg2
= (int const) SWIG_AsInt(obj1
);
1430 if (PyErr_Occurred()) SWIG_fail
;
1435 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1441 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1445 arg5
= (long) SWIG_AsLong(obj4
);
1446 if (PyErr_Occurred()) SWIG_fail
;
1450 arg6
= wxString_in_helper(obj5
);
1451 if (arg6
== NULL
) SWIG_fail
;
1456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1457 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1459 wxPyEndAllowThreads(__tstate
);
1460 if (PyErr_Occurred()) SWIG_fail
;
1462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1477 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
*resultobj
;
1479 wxScrolledWindow
*result
;
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1487 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1489 wxPyEndAllowThreads(__tstate
);
1490 if (PyErr_Occurred()) SWIG_fail
;
1492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1499 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
*resultobj
;
1501 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1502 wxWindow
*arg2
= (wxWindow
*) 0 ;
1503 int arg3
= (int) (int)-1 ;
1504 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1505 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1506 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1507 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1508 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1509 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1510 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1514 bool temp7
= False
;
1515 PyObject
* obj0
= 0 ;
1516 PyObject
* obj1
= 0 ;
1517 PyObject
* obj2
= 0 ;
1518 PyObject
* obj3
= 0 ;
1519 PyObject
* obj4
= 0 ;
1520 PyObject
* obj5
= 0 ;
1521 PyObject
* obj6
= 0 ;
1523 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1532 arg3
= (int const) SWIG_AsInt(obj2
);
1533 if (PyErr_Occurred()) SWIG_fail
;
1538 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1544 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1548 arg6
= (long) SWIG_AsLong(obj5
);
1549 if (PyErr_Occurred()) SWIG_fail
;
1553 arg7
= wxString_in_helper(obj6
);
1554 if (arg7
== NULL
) SWIG_fail
;
1559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1560 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1562 wxPyEndAllowThreads(__tstate
);
1563 if (PyErr_Occurred()) SWIG_fail
;
1566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1582 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
*resultobj
;
1584 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1589 int arg6
= (int) 0 ;
1590 int arg7
= (int) 0 ;
1591 bool arg8
= (bool) False
;
1592 PyObject
* obj0
= 0 ;
1593 PyObject
* obj1
= 0 ;
1594 PyObject
* obj2
= 0 ;
1595 PyObject
* obj3
= 0 ;
1596 PyObject
* obj4
= 0 ;
1597 PyObject
* obj5
= 0 ;
1598 PyObject
* obj6
= 0 ;
1599 PyObject
* obj7
= 0 ;
1601 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1607 arg2
= (int) SWIG_AsInt(obj1
);
1608 if (PyErr_Occurred()) SWIG_fail
;
1609 arg3
= (int) SWIG_AsInt(obj2
);
1610 if (PyErr_Occurred()) SWIG_fail
;
1611 arg4
= (int) SWIG_AsInt(obj3
);
1612 if (PyErr_Occurred()) SWIG_fail
;
1613 arg5
= (int) SWIG_AsInt(obj4
);
1614 if (PyErr_Occurred()) SWIG_fail
;
1616 arg6
= (int) SWIG_AsInt(obj5
);
1617 if (PyErr_Occurred()) SWIG_fail
;
1620 arg7
= (int) SWIG_AsInt(obj6
);
1621 if (PyErr_Occurred()) SWIG_fail
;
1624 arg8
= (bool) SWIG_AsBool(obj7
);
1625 if (PyErr_Occurred()) SWIG_fail
;
1628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1629 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1631 wxPyEndAllowThreads(__tstate
);
1632 if (PyErr_Occurred()) SWIG_fail
;
1634 Py_INCREF(Py_None
); resultobj
= Py_None
;
1641 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
*resultobj
;
1643 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1646 PyObject
* obj0
= 0 ;
1647 PyObject
* obj1
= 0 ;
1648 PyObject
* obj2
= 0 ;
1650 (char *) "self",(char *) "x",(char *) "y", NULL
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1656 arg2
= (int) SWIG_AsInt(obj1
);
1657 if (PyErr_Occurred()) SWIG_fail
;
1658 arg3
= (int) SWIG_AsInt(obj2
);
1659 if (PyErr_Occurred()) SWIG_fail
;
1661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1662 (arg1
)->Scroll(arg2
,arg3
);
1664 wxPyEndAllowThreads(__tstate
);
1665 if (PyErr_Occurred()) SWIG_fail
;
1667 Py_INCREF(Py_None
); resultobj
= Py_None
;
1674 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
*resultobj
;
1676 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1679 PyObject
* obj0
= 0 ;
1680 PyObject
* obj1
= 0 ;
1682 (char *) "self",(char *) "orient", NULL
1685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1688 arg2
= (int) SWIG_AsInt(obj1
);
1689 if (PyErr_Occurred()) SWIG_fail
;
1691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1692 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1694 wxPyEndAllowThreads(__tstate
);
1695 if (PyErr_Occurred()) SWIG_fail
;
1697 resultobj
= SWIG_FromInt((int)result
);
1704 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
*resultobj
;
1706 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1709 PyObject
* obj0
= 0 ;
1710 PyObject
* obj1
= 0 ;
1711 PyObject
* obj2
= 0 ;
1713 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1719 arg2
= (int) SWIG_AsInt(obj1
);
1720 if (PyErr_Occurred()) SWIG_fail
;
1721 arg3
= (int) SWIG_AsInt(obj2
);
1722 if (PyErr_Occurred()) SWIG_fail
;
1724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1725 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1727 wxPyEndAllowThreads(__tstate
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1730 Py_INCREF(Py_None
); resultobj
= Py_None
;
1737 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
*resultobj
;
1739 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1742 PyObject
* obj0
= 0 ;
1743 PyObject
* obj1
= 0 ;
1744 PyObject
* obj2
= 0 ;
1746 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1752 arg2
= (int) SWIG_AsInt(obj1
);
1753 if (PyErr_Occurred()) SWIG_fail
;
1754 arg3
= (int) SWIG_AsInt(obj2
);
1755 if (PyErr_Occurred()) SWIG_fail
;
1757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1758 (arg1
)->SetScrollRate(arg2
,arg3
);
1760 wxPyEndAllowThreads(__tstate
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1763 Py_INCREF(Py_None
); resultobj
= Py_None
;
1770 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
*resultobj
;
1772 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1773 int *arg2
= (int *) 0 ;
1774 int *arg3
= (int *) 0 ;
1777 PyObject
* obj0
= 0 ;
1779 (char *) "self", NULL
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) SWIG_fail
;
1794 Py_INCREF(Py_None
); resultobj
= Py_None
;
1796 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1797 resultobj
= t_output_helper(resultobj
,o
);
1800 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1801 resultobj
= t_output_helper(resultobj
,o
);
1809 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
*resultobj
;
1811 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1814 PyObject
* obj0
= 0 ;
1815 PyObject
* obj1
= 0 ;
1816 PyObject
* obj2
= 0 ;
1818 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1824 arg2
= (bool) SWIG_AsBool(obj1
);
1825 if (PyErr_Occurred()) SWIG_fail
;
1826 arg3
= (bool) SWIG_AsBool(obj2
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 (arg1
)->EnableScrolling(arg2
,arg3
);
1832 wxPyEndAllowThreads(__tstate
);
1833 if (PyErr_Occurred()) SWIG_fail
;
1835 Py_INCREF(Py_None
); resultobj
= Py_None
;
1842 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1843 PyObject
*resultobj
;
1844 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1845 int *arg2
= (int *) 0 ;
1846 int *arg3
= (int *) 0 ;
1849 PyObject
* obj0
= 0 ;
1851 (char *) "self", NULL
1856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) SWIG_fail
;
1866 Py_INCREF(Py_None
); resultobj
= Py_None
;
1868 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1869 resultobj
= t_output_helper(resultobj
,o
);
1872 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1873 resultobj
= t_output_helper(resultobj
,o
);
1881 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
*resultobj
;
1883 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1886 PyObject
* obj0
= 0 ;
1887 PyObject
* obj1
= 0 ;
1888 PyObject
* obj2
= 0 ;
1890 (char *) "self",(char *) "xs",(char *) "ys", NULL
1893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1896 arg2
= (double) SWIG_AsDouble(obj1
);
1897 if (PyErr_Occurred()) SWIG_fail
;
1898 arg3
= (double) SWIG_AsDouble(obj2
);
1899 if (PyErr_Occurred()) SWIG_fail
;
1901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1902 (arg1
)->SetScale(arg2
,arg3
);
1904 wxPyEndAllowThreads(__tstate
);
1905 if (PyErr_Occurred()) SWIG_fail
;
1907 Py_INCREF(Py_None
); resultobj
= Py_None
;
1914 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
*resultobj
;
1916 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1918 PyObject
* obj0
= 0 ;
1920 (char *) "self", NULL
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1928 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1930 wxPyEndAllowThreads(__tstate
);
1931 if (PyErr_Occurred()) SWIG_fail
;
1933 resultobj
= SWIG_FromDouble((double)result
);
1940 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
*resultobj
;
1942 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1944 PyObject
* obj0
= 0 ;
1946 (char *) "self", NULL
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1954 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1956 wxPyEndAllowThreads(__tstate
);
1957 if (PyErr_Occurred()) SWIG_fail
;
1959 resultobj
= SWIG_FromDouble((double)result
);
1966 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1967 PyObject
*resultobj
;
1968 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1972 PyObject
* obj0
= 0 ;
1973 PyObject
* obj1
= 0 ;
1975 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1980 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1990 wxPoint
* resultptr
;
1991 resultptr
= new wxPoint((wxPoint
&) result
);
1992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2000 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2001 PyObject
*resultobj
;
2002 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2005 int *arg4
= (int *) 0 ;
2006 int *arg5
= (int *) 0 ;
2009 PyObject
* obj0
= 0 ;
2010 PyObject
* obj1
= 0 ;
2011 PyObject
* obj2
= 0 ;
2015 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2018 arg2
= (int) SWIG_AsInt(obj1
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2020 arg3
= (int) SWIG_AsInt(obj2
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2029 Py_INCREF(Py_None
); resultobj
= Py_None
;
2031 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2032 resultobj
= t_output_helper(resultobj
,o
);
2035 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2036 resultobj
= t_output_helper(resultobj
,o
);
2044 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2049 argc
= PyObject_Length(args
);
2050 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2051 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2057 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2066 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2069 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2077 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2085 _v
= SWIG_CheckInt(argv
[1]);
2087 _v
= SWIG_CheckInt(argv
[2]);
2089 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2095 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2100 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2101 PyObject
*resultobj
;
2102 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2106 PyObject
* obj0
= 0 ;
2107 PyObject
* obj1
= 0 ;
2109 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2114 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2118 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2120 wxPyEndAllowThreads(__tstate
);
2121 if (PyErr_Occurred()) SWIG_fail
;
2124 wxPoint
* resultptr
;
2125 resultptr
= new wxPoint((wxPoint
&) result
);
2126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2134 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2135 PyObject
*resultobj
;
2136 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2139 int *arg4
= (int *) 0 ;
2140 int *arg5
= (int *) 0 ;
2143 PyObject
* obj0
= 0 ;
2144 PyObject
* obj1
= 0 ;
2145 PyObject
* obj2
= 0 ;
2149 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2152 arg2
= (int) SWIG_AsInt(obj1
);
2153 if (PyErr_Occurred()) SWIG_fail
;
2154 arg3
= (int) SWIG_AsInt(obj2
);
2155 if (PyErr_Occurred()) SWIG_fail
;
2157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2158 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2160 wxPyEndAllowThreads(__tstate
);
2161 if (PyErr_Occurred()) SWIG_fail
;
2163 Py_INCREF(Py_None
); resultobj
= Py_None
;
2165 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2166 resultobj
= t_output_helper(resultobj
,o
);
2169 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2170 resultobj
= t_output_helper(resultobj
,o
);
2178 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2183 argc
= PyObject_Length(args
);
2184 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2185 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2191 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2200 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2203 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2211 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2219 _v
= SWIG_CheckInt(argv
[1]);
2221 _v
= SWIG_CheckInt(argv
[2]);
2223 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2229 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2234 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
*resultobj
;
2236 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2237 PyObject
* obj0
= 0 ;
2239 (char *) "self", NULL
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 (arg1
)->AdjustScrollbars();
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2252 Py_INCREF(Py_None
); resultobj
= Py_None
;
2259 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2262 wxScrollWinEvent
*arg2
= 0 ;
2264 PyObject
* obj0
= 0 ;
2265 PyObject
* obj1
= 0 ;
2267 (char *) "self",(char *) "event", NULL
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2274 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2277 PyErr_SetString(PyExc_TypeError
,"null reference");
2281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2282 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2284 wxPyEndAllowThreads(__tstate
);
2285 if (PyErr_Occurred()) SWIG_fail
;
2287 resultobj
= SWIG_FromInt((int)result
);
2294 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
*resultobj
;
2296 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2297 wxWindow
*arg2
= (wxWindow
*) 0 ;
2298 PyObject
* obj0
= 0 ;
2299 PyObject
* obj1
= 0 ;
2301 (char *) "self",(char *) "target", NULL
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 (arg1
)->SetTargetWindow(arg2
);
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2316 Py_INCREF(Py_None
); resultobj
= Py_None
;
2323 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
*resultobj
;
2325 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2327 PyObject
* obj0
= 0 ;
2329 (char *) "self", NULL
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2343 resultobj
= wxPyMake_wxObject(result
);
2351 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2354 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2356 return Py_BuildValue((char *)"");
2358 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2359 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2364 static PyObject
*_wrap_FrameNameStr_get() {
2369 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2371 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2378 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2379 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2384 static PyObject
*_wrap_DialogNameStr_get() {
2389 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2391 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2398 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2399 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2404 static PyObject
*_wrap_StatusLineNameStr_get() {
2409 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2411 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2418 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2419 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2424 static PyObject
*_wrap_ToolBarNameStr_get() {
2429 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2431 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2438 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2439 PyObject
*resultobj
;
2440 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2441 bool arg2
= (bool) True
;
2442 PyObject
* obj0
= 0 ;
2443 PyObject
* obj1
= 0 ;
2445 (char *) "self",(char *) "maximize", NULL
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2452 arg2
= (bool) SWIG_AsBool(obj1
);
2453 if (PyErr_Occurred()) SWIG_fail
;
2456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2457 (arg1
)->Maximize(arg2
);
2459 wxPyEndAllowThreads(__tstate
);
2460 if (PyErr_Occurred()) SWIG_fail
;
2462 Py_INCREF(Py_None
); resultobj
= Py_None
;
2469 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
*resultobj
;
2471 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2472 PyObject
* obj0
= 0 ;
2474 (char *) "self", NULL
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2484 wxPyEndAllowThreads(__tstate
);
2485 if (PyErr_Occurred()) SWIG_fail
;
2487 Py_INCREF(Py_None
); resultobj
= Py_None
;
2494 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
*resultobj
;
2496 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2497 bool arg2
= (bool) True
;
2498 PyObject
* obj0
= 0 ;
2499 PyObject
* obj1
= 0 ;
2501 (char *) "self",(char *) "iconize", NULL
2504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2508 arg2
= (bool) SWIG_AsBool(obj1
);
2509 if (PyErr_Occurred()) SWIG_fail
;
2512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2513 (arg1
)->Iconize(arg2
);
2515 wxPyEndAllowThreads(__tstate
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2518 Py_INCREF(Py_None
); resultobj
= Py_None
;
2525 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
*resultobj
;
2527 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2529 PyObject
* obj0
= 0 ;
2531 (char *) "self", NULL
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2539 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2541 wxPyEndAllowThreads(__tstate
);
2542 if (PyErr_Occurred()) SWIG_fail
;
2545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2553 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
*resultobj
;
2555 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2557 PyObject
* obj0
= 0 ;
2559 (char *) "self", NULL
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2567 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2569 wxPyEndAllowThreads(__tstate
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2581 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
*resultobj
;
2583 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2585 PyObject
* obj0
= 0 ;
2587 (char *) "self", NULL
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2595 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2597 wxPyEndAllowThreads(__tstate
);
2598 if (PyErr_Occurred()) SWIG_fail
;
2602 resultptr
= new wxIcon((wxIcon
&) result
);
2603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2611 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
*resultobj
;
2613 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2615 PyObject
* obj0
= 0 ;
2616 PyObject
* obj1
= 0 ;
2618 (char *) "self",(char *) "icon", NULL
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2628 PyErr_SetString(PyExc_TypeError
,"null reference");
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) SWIG_fail
;
2638 Py_INCREF(Py_None
); resultobj
= Py_None
;
2645 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
*resultobj
;
2647 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2648 wxIconBundle
*arg2
= 0 ;
2649 PyObject
* obj0
= 0 ;
2650 PyObject
* obj1
= 0 ;
2652 (char *) "self",(char *) "icons", NULL
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2659 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2662 PyErr_SetString(PyExc_TypeError
,"null reference");
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) SWIG_fail
;
2672 Py_INCREF(Py_None
); resultobj
= Py_None
;
2679 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
*resultobj
;
2681 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2683 long arg3
= (long) wxFULLSCREEN_ALL
;
2685 PyObject
* obj0
= 0 ;
2686 PyObject
* obj1
= 0 ;
2687 PyObject
* obj2
= 0 ;
2689 (char *) "self",(char *) "show",(char *) "style", NULL
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2695 arg2
= (bool) SWIG_AsBool(obj1
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2698 arg3
= (long) SWIG_AsLong(obj2
);
2699 if (PyErr_Occurred()) SWIG_fail
;
2702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2703 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2705 wxPyEndAllowThreads(__tstate
);
2706 if (PyErr_Occurred()) SWIG_fail
;
2709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2717 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
*resultobj
;
2719 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2721 PyObject
* obj0
= 0 ;
2723 (char *) "self", NULL
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2745 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
*resultobj
;
2747 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2748 wxString
*arg2
= 0 ;
2749 bool temp2
= False
;
2750 PyObject
* obj0
= 0 ;
2751 PyObject
* obj1
= 0 ;
2753 (char *) "self",(char *) "title", NULL
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2760 arg2
= wxString_in_helper(obj1
);
2761 if (arg2
== NULL
) SWIG_fail
;
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2766 (arg1
)->SetTitle((wxString
const &)*arg2
);
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2771 Py_INCREF(Py_None
); resultobj
= Py_None
;
2786 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
*resultobj
;
2788 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2790 PyObject
* obj0
= 0 ;
2792 (char *) "self", NULL
2795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2800 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2802 wxPyEndAllowThreads(__tstate
);
2803 if (PyErr_Occurred()) SWIG_fail
;
2807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2818 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2819 PyObject
*resultobj
;
2820 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2821 wxRegion
*arg2
= 0 ;
2823 PyObject
* obj0
= 0 ;
2824 PyObject
* obj1
= 0 ;
2826 (char *) "self",(char *) "region", NULL
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2832 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2833 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2836 PyErr_SetString(PyExc_TypeError
,"null reference");
2840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2841 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2843 wxPyEndAllowThreads(__tstate
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2855 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2858 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2860 return Py_BuildValue((char *)"");
2862 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
;
2864 wxWindow
*arg1
= (wxWindow
*) 0 ;
2866 wxString
*arg3
= 0 ;
2867 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2868 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2869 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2870 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2871 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2872 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2873 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2875 bool temp3
= False
;
2878 bool temp7
= False
;
2879 PyObject
* obj0
= 0 ;
2880 PyObject
* obj1
= 0 ;
2881 PyObject
* obj2
= 0 ;
2882 PyObject
* obj3
= 0 ;
2883 PyObject
* obj4
= 0 ;
2884 PyObject
* obj5
= 0 ;
2885 PyObject
* obj6
= 0 ;
2887 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2893 arg2
= (int const) SWIG_AsInt(obj1
);
2894 if (PyErr_Occurred()) SWIG_fail
;
2896 arg3
= wxString_in_helper(obj2
);
2897 if (arg3
== NULL
) SWIG_fail
;
2903 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2909 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2913 arg6
= (long) SWIG_AsLong(obj5
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2918 arg7
= wxString_in_helper(obj6
);
2919 if (arg7
== NULL
) SWIG_fail
;
2924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2925 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2927 wxPyEndAllowThreads(__tstate
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2931 resultobj
= wxPyMake_wxObject(result
);
2955 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
*resultobj
;
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2965 result
= (wxFrame
*)new wxFrame();
2967 wxPyEndAllowThreads(__tstate
);
2968 if (PyErr_Occurred()) SWIG_fail
;
2971 resultobj
= wxPyMake_wxObject(result
);
2979 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
*resultobj
;
2981 wxFrame
*arg1
= (wxFrame
*) 0 ;
2982 wxWindow
*arg2
= (wxWindow
*) 0 ;
2984 wxString
*arg4
= 0 ;
2985 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2986 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2987 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2988 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2989 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2990 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2991 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2993 bool temp4
= False
;
2996 bool temp8
= False
;
2997 PyObject
* obj0
= 0 ;
2998 PyObject
* obj1
= 0 ;
2999 PyObject
* obj2
= 0 ;
3000 PyObject
* obj3
= 0 ;
3001 PyObject
* obj4
= 0 ;
3002 PyObject
* obj5
= 0 ;
3003 PyObject
* obj6
= 0 ;
3004 PyObject
* obj7
= 0 ;
3006 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3014 arg3
= (int const) SWIG_AsInt(obj2
);
3015 if (PyErr_Occurred()) SWIG_fail
;
3017 arg4
= wxString_in_helper(obj3
);
3018 if (arg4
== NULL
) SWIG_fail
;
3024 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3030 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3034 arg7
= (long) SWIG_AsLong(obj6
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3039 arg8
= wxString_in_helper(obj7
);
3040 if (arg8
== NULL
) SWIG_fail
;
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3046 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3048 wxPyEndAllowThreads(__tstate
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3076 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
*resultobj
;
3078 wxFrame
*arg1
= (wxFrame
*) 0 ;
3080 PyObject
* obj0
= 0 ;
3082 (char *) "self", NULL
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3090 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3092 wxPyEndAllowThreads(__tstate
);
3093 if (PyErr_Occurred()) SWIG_fail
;
3096 wxPoint
* resultptr
;
3097 resultptr
= new wxPoint((wxPoint
&) result
);
3098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3106 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
*resultobj
;
3108 wxFrame
*arg1
= (wxFrame
*) 0 ;
3109 PyObject
* obj0
= 0 ;
3111 (char *) "self", NULL
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3119 (arg1
)->SendSizeEvent();
3121 wxPyEndAllowThreads(__tstate
);
3122 if (PyErr_Occurred()) SWIG_fail
;
3124 Py_INCREF(Py_None
); resultobj
= Py_None
;
3131 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
*resultobj
;
3133 wxFrame
*arg1
= (wxFrame
*) 0 ;
3134 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3135 PyObject
* obj0
= 0 ;
3136 PyObject
* obj1
= 0 ;
3138 (char *) "self",(char *) "menubar", NULL
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 (arg1
)->SetMenuBar(arg2
);
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3153 Py_INCREF(Py_None
); resultobj
= Py_None
;
3160 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
*resultobj
;
3162 wxFrame
*arg1
= (wxFrame
*) 0 ;
3164 PyObject
* obj0
= 0 ;
3166 (char *) "self", NULL
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3174 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3176 wxPyEndAllowThreads(__tstate
);
3177 if (PyErr_Occurred()) SWIG_fail
;
3180 resultobj
= wxPyMake_wxObject(result
);
3188 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
*resultobj
;
3190 wxFrame
*arg1
= (wxFrame
*) 0 ;
3193 PyObject
* obj0
= 0 ;
3194 PyObject
* obj1
= 0 ;
3196 (char *) "self",(char *) "winid", NULL
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3202 arg2
= (int) SWIG_AsInt(obj1
);
3203 if (PyErr_Occurred()) SWIG_fail
;
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3220 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
*resultobj
;
3222 wxFrame
*arg1
= (wxFrame
*) 0 ;
3223 int arg2
= (int) 1 ;
3224 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3225 int arg4
= (int) 0 ;
3226 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3227 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3228 wxStatusBar
*result
;
3229 bool temp5
= False
;
3230 PyObject
* obj0
= 0 ;
3231 PyObject
* obj1
= 0 ;
3232 PyObject
* obj2
= 0 ;
3233 PyObject
* obj3
= 0 ;
3234 PyObject
* obj4
= 0 ;
3236 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3243 arg2
= (int) SWIG_AsInt(obj1
);
3244 if (PyErr_Occurred()) SWIG_fail
;
3247 arg3
= (long) SWIG_AsLong(obj2
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3251 arg4
= (int) SWIG_AsInt(obj3
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3256 arg5
= wxString_in_helper(obj4
);
3257 if (arg5
== NULL
) SWIG_fail
;
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3269 resultobj
= wxPyMake_wxObject(result
);
3285 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3286 PyObject
*resultobj
;
3287 wxFrame
*arg1
= (wxFrame
*) 0 ;
3288 wxStatusBar
*result
;
3289 PyObject
* obj0
= 0 ;
3291 (char *) "self", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3299 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3301 wxPyEndAllowThreads(__tstate
);
3302 if (PyErr_Occurred()) SWIG_fail
;
3305 resultobj
= wxPyMake_wxObject(result
);
3313 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3315 wxFrame
*arg1
= (wxFrame
*) 0 ;
3316 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3317 PyObject
* obj0
= 0 ;
3318 PyObject
* obj1
= 0 ;
3320 (char *) "self",(char *) "statBar", NULL
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3330 (arg1
)->SetStatusBar(arg2
);
3332 wxPyEndAllowThreads(__tstate
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3335 Py_INCREF(Py_None
); resultobj
= Py_None
;
3342 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
*resultobj
;
3344 wxFrame
*arg1
= (wxFrame
*) 0 ;
3345 wxString
*arg2
= 0 ;
3346 int arg3
= (int) 0 ;
3347 bool temp2
= False
;
3348 PyObject
* obj0
= 0 ;
3349 PyObject
* obj1
= 0 ;
3350 PyObject
* obj2
= 0 ;
3352 (char *) "self",(char *) "text",(char *) "number", NULL
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3359 arg2
= wxString_in_helper(obj1
);
3360 if (arg2
== NULL
) SWIG_fail
;
3364 arg3
= (int) SWIG_AsInt(obj2
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3374 Py_INCREF(Py_None
); resultobj
= Py_None
;
3389 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
;
3391 wxFrame
*arg1
= (wxFrame
*) 0 ;
3393 int *arg3
= (int *) 0 ;
3394 PyObject
* obj0
= 0 ;
3395 PyObject
* obj1
= 0 ;
3397 (char *) "self",(char *) "widths", NULL
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3404 arg2
= PyList_Size(obj1
);
3405 arg3
= int_LIST_helper(obj1
);
3406 if (arg3
== NULL
) SWIG_fail
;
3409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3410 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3412 wxPyEndAllowThreads(__tstate
);
3413 if (PyErr_Occurred()) SWIG_fail
;
3415 Py_INCREF(Py_None
); resultobj
= Py_None
;
3417 if (arg3
) delete [] arg3
;
3422 if (arg3
) delete [] arg3
;
3428 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxFrame
*arg1
= (wxFrame
*) 0 ;
3431 wxString
*arg2
= 0 ;
3432 int arg3
= (int) 0 ;
3433 bool temp2
= False
;
3434 PyObject
* obj0
= 0 ;
3435 PyObject
* obj1
= 0 ;
3436 PyObject
* obj2
= 0 ;
3438 (char *) "self",(char *) "text",(char *) "number", NULL
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3445 arg2
= wxString_in_helper(obj1
);
3446 if (arg2
== NULL
) SWIG_fail
;
3450 arg3
= (int) SWIG_AsInt(obj2
);
3451 if (PyErr_Occurred()) SWIG_fail
;
3454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3455 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3457 wxPyEndAllowThreads(__tstate
);
3458 if (PyErr_Occurred()) SWIG_fail
;
3460 Py_INCREF(Py_None
); resultobj
= Py_None
;
3475 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
*resultobj
;
3477 wxFrame
*arg1
= (wxFrame
*) 0 ;
3478 int arg2
= (int) 0 ;
3479 PyObject
* obj0
= 0 ;
3480 PyObject
* obj1
= 0 ;
3482 (char *) "self",(char *) "number", NULL
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3489 arg2
= (int) SWIG_AsInt(obj1
);
3490 if (PyErr_Occurred()) SWIG_fail
;
3493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 (arg1
)->PopStatusText(arg2
);
3496 wxPyEndAllowThreads(__tstate
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3499 Py_INCREF(Py_None
); resultobj
= Py_None
;
3506 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
*resultobj
;
3508 wxFrame
*arg1
= (wxFrame
*) 0 ;
3510 PyObject
* obj0
= 0 ;
3511 PyObject
* obj1
= 0 ;
3513 (char *) "self",(char *) "n", NULL
3516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3519 arg2
= (int) SWIG_AsInt(obj1
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3523 (arg1
)->SetStatusBarPane(arg2
);
3525 wxPyEndAllowThreads(__tstate
);
3526 if (PyErr_Occurred()) SWIG_fail
;
3528 Py_INCREF(Py_None
); resultobj
= Py_None
;
3535 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3536 PyObject
*resultobj
;
3537 wxFrame
*arg1
= (wxFrame
*) 0 ;
3539 PyObject
* obj0
= 0 ;
3541 (char *) "self", NULL
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 resultobj
= SWIG_FromInt((int)result
);
3561 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
*resultobj
;
3563 wxFrame
*arg1
= (wxFrame
*) 0 ;
3564 long arg2
= (long) -1 ;
3565 int arg3
= (int) -1 ;
3566 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3567 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3569 bool temp4
= False
;
3570 PyObject
* obj0
= 0 ;
3571 PyObject
* obj1
= 0 ;
3572 PyObject
* obj2
= 0 ;
3573 PyObject
* obj3
= 0 ;
3575 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3582 arg2
= (long) SWIG_AsLong(obj1
);
3583 if (PyErr_Occurred()) SWIG_fail
;
3586 arg3
= (int) SWIG_AsInt(obj2
);
3587 if (PyErr_Occurred()) SWIG_fail
;
3591 arg4
= wxString_in_helper(obj3
);
3592 if (arg4
== NULL
) SWIG_fail
;
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3604 resultobj
= wxPyMake_wxObject(result
);
3620 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
;
3622 wxFrame
*arg1
= (wxFrame
*) 0 ;
3624 PyObject
* obj0
= 0 ;
3626 (char *) "self", NULL
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3634 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3640 resultobj
= wxPyMake_wxObject(result
);
3648 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3650 wxFrame
*arg1
= (wxFrame
*) 0 ;
3651 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3652 PyObject
* obj0
= 0 ;
3653 PyObject
* obj1
= 0 ;
3655 (char *) "self",(char *) "toolbar", NULL
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 (arg1
)->SetToolBar(arg2
);
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3670 Py_INCREF(Py_None
); resultobj
= Py_None
;
3677 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 wxFrame
*arg1
= (wxFrame
*) 0 ;
3680 wxString
*arg2
= 0 ;
3682 bool temp2
= False
;
3683 PyObject
* obj0
= 0 ;
3684 PyObject
* obj1
= 0 ;
3685 PyObject
* obj2
= 0 ;
3687 (char *) "self",(char *) "text",(char *) "show", NULL
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3694 arg2
= wxString_in_helper(obj1
);
3695 if (arg2
== NULL
) SWIG_fail
;
3698 arg3
= (bool) SWIG_AsBool(obj2
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3707 Py_INCREF(Py_None
); resultobj
= Py_None
;
3722 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
*resultobj
;
3724 wxFrame
*arg1
= (wxFrame
*) 0 ;
3725 wxMenu
*arg2
= (wxMenu
*) NULL
;
3726 PyObject
* obj0
= 0 ;
3727 PyObject
* obj1
= 0 ;
3729 (char *) "self",(char *) "menu", NULL
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 (arg1
)->DoMenuUpdates(arg2
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 Py_INCREF(Py_None
); resultobj
= Py_None
;
3753 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3756 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3758 return Py_BuildValue((char *)"");
3760 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
*resultobj
;
3762 wxWindow
*arg1
= (wxWindow
*) 0 ;
3764 wxString
*arg3
= 0 ;
3765 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3766 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3767 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3768 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3769 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3770 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3771 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3773 bool temp3
= False
;
3776 bool temp7
= False
;
3777 PyObject
* obj0
= 0 ;
3778 PyObject
* obj1
= 0 ;
3779 PyObject
* obj2
= 0 ;
3780 PyObject
* obj3
= 0 ;
3781 PyObject
* obj4
= 0 ;
3782 PyObject
* obj5
= 0 ;
3783 PyObject
* obj6
= 0 ;
3785 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3791 arg2
= (int const) SWIG_AsInt(obj1
);
3792 if (PyErr_Occurred()) SWIG_fail
;
3794 arg3
= wxString_in_helper(obj2
);
3795 if (arg3
== NULL
) SWIG_fail
;
3801 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3807 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3811 arg6
= (long) SWIG_AsLong(obj5
);
3812 if (PyErr_Occurred()) SWIG_fail
;
3816 arg7
= wxString_in_helper(obj6
);
3817 if (arg7
== NULL
) SWIG_fail
;
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3851 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
*resultobj
;
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 result
= (wxDialog
*)new wxDialog();
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3873 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
*resultobj
;
3875 wxDialog
*arg1
= (wxDialog
*) 0 ;
3876 wxWindow
*arg2
= (wxWindow
*) 0 ;
3878 wxString
*arg4
= 0 ;
3879 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3880 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3881 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3882 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3883 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3884 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3885 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3887 bool temp4
= False
;
3890 bool temp8
= False
;
3891 PyObject
* obj0
= 0 ;
3892 PyObject
* obj1
= 0 ;
3893 PyObject
* obj2
= 0 ;
3894 PyObject
* obj3
= 0 ;
3895 PyObject
* obj4
= 0 ;
3896 PyObject
* obj5
= 0 ;
3897 PyObject
* obj6
= 0 ;
3898 PyObject
* obj7
= 0 ;
3900 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
3905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3908 arg3
= (int const) SWIG_AsInt(obj2
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3911 arg4
= wxString_in_helper(obj3
);
3912 if (arg4
== NULL
) SWIG_fail
;
3918 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3924 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3928 arg7
= (long) SWIG_AsLong(obj6
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3933 arg8
= wxString_in_helper(obj7
);
3934 if (arg8
== NULL
) SWIG_fail
;
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3940 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3942 wxPyEndAllowThreads(__tstate
);
3943 if (PyErr_Occurred()) SWIG_fail
;
3946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3970 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
*resultobj
;
3972 wxDialog
*arg1
= (wxDialog
*) 0 ;
3974 PyObject
* obj0
= 0 ;
3975 PyObject
* obj1
= 0 ;
3977 (char *) "self",(char *) "returnCode", NULL
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
3981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
3982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3983 arg2
= (int) SWIG_AsInt(obj1
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 (arg1
)->SetReturnCode(arg2
);
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3992 Py_INCREF(Py_None
); resultobj
= Py_None
;
3999 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
;
4001 wxDialog
*arg1
= (wxDialog
*) 0 ;
4003 PyObject
* obj0
= 0 ;
4005 (char *) "self", NULL
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4018 resultobj
= SWIG_FromInt((int)result
);
4025 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
*resultobj
;
4027 wxDialog
*arg1
= (wxDialog
*) 0 ;
4028 wxString
*arg2
= 0 ;
4030 bool temp2
= False
;
4031 PyObject
* obj0
= 0 ;
4032 PyObject
* obj1
= 0 ;
4034 (char *) "self",(char *) "message", NULL
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4041 arg2
= wxString_in_helper(obj1
);
4042 if (arg2
== NULL
) SWIG_fail
;
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4047 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4049 wxPyEndAllowThreads(__tstate
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4053 resultobj
= wxPyMake_wxSizer(result
);
4069 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
*resultobj
;
4071 wxDialog
*arg1
= (wxDialog
*) 0 ;
4074 PyObject
* obj0
= 0 ;
4075 PyObject
* obj1
= 0 ;
4077 (char *) "self",(char *) "flags", NULL
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4083 arg2
= (long) SWIG_AsLong(obj1
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= wxPyMake_wxSizer(result
);
4101 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
;
4103 wxDialog
*arg1
= (wxDialog
*) 0 ;
4105 PyObject
* obj0
= 0 ;
4107 (char *) "self", NULL
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4129 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
*resultobj
;
4131 wxDialog
*arg1
= (wxDialog
*) 0 ;
4133 PyObject
* obj0
= 0 ;
4135 (char *) "self", NULL
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (int)(arg1
)->ShowModal();
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= SWIG_FromInt((int)result
);
4155 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
;
4157 wxDialog
*arg1
= (wxDialog
*) 0 ;
4159 PyObject
* obj0
= 0 ;
4160 PyObject
* obj1
= 0 ;
4162 (char *) "self",(char *) "retCode", NULL
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4168 arg2
= (int) SWIG_AsInt(obj1
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 (arg1
)->EndModal(arg2
);
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 Py_INCREF(Py_None
); resultobj
= Py_None
;
4184 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4186 wxDialog
*arg1
= (wxDialog
*) 0 ;
4188 PyObject
* obj0
= 0 ;
4190 (char *) "self", NULL
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 result
= (bool)wxDialog_IsModalShowing(arg1
);
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4212 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4215 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4217 return Py_BuildValue((char *)"");
4219 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
*resultobj
;
4221 wxWindow
*arg1
= (wxWindow
*) 0 ;
4223 wxString
*arg3
= 0 ;
4224 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4225 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4226 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4227 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4228 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4229 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4230 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4231 wxMiniFrame
*result
;
4232 bool temp3
= False
;
4235 bool temp7
= False
;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4238 PyObject
* obj2
= 0 ;
4239 PyObject
* obj3
= 0 ;
4240 PyObject
* obj4
= 0 ;
4241 PyObject
* obj5
= 0 ;
4242 PyObject
* obj6
= 0 ;
4244 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4250 arg2
= (int const) SWIG_AsInt(obj1
);
4251 if (PyErr_Occurred()) SWIG_fail
;
4253 arg3
= wxString_in_helper(obj2
);
4254 if (arg3
== NULL
) SWIG_fail
;
4260 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4266 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4270 arg6
= (long) SWIG_AsLong(obj5
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4275 arg7
= wxString_in_helper(obj6
);
4276 if (arg7
== NULL
) SWIG_fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4310 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4312 wxMiniFrame
*result
;
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 result
= (wxMiniFrame
*)new wxMiniFrame();
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4332 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
*resultobj
;
4334 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4335 wxWindow
*arg2
= (wxWindow
*) 0 ;
4337 wxString
*arg4
= 0 ;
4338 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4339 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4340 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4341 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4342 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4343 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4344 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4346 bool temp4
= False
;
4349 bool temp8
= False
;
4350 PyObject
* obj0
= 0 ;
4351 PyObject
* obj1
= 0 ;
4352 PyObject
* obj2
= 0 ;
4353 PyObject
* obj3
= 0 ;
4354 PyObject
* obj4
= 0 ;
4355 PyObject
* obj5
= 0 ;
4356 PyObject
* obj6
= 0 ;
4357 PyObject
* obj7
= 0 ;
4359 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4367 arg3
= (int const) SWIG_AsInt(obj2
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4370 arg4
= wxString_in_helper(obj3
);
4371 if (arg4
== NULL
) SWIG_fail
;
4377 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4383 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4387 arg7
= (long) SWIG_AsLong(obj6
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4392 arg8
= wxString_in_helper(obj7
);
4393 if (arg8
== NULL
) SWIG_fail
;
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) SWIG_fail
;
4405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4429 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4432 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4434 return Py_BuildValue((char *)"");
4436 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
*resultobj
;
4438 wxBitmap
*arg1
= 0 ;
4439 wxWindow
*arg2
= (wxWindow
*) 0 ;
4441 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4442 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4443 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4444 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4445 long arg6
= (long) wxNO_BORDER
;
4446 wxSplashScreenWindow
*result
;
4449 PyObject
* obj0
= 0 ;
4450 PyObject
* obj1
= 0 ;
4451 PyObject
* obj2
= 0 ;
4452 PyObject
* obj3
= 0 ;
4453 PyObject
* obj4
= 0 ;
4454 PyObject
* obj5
= 0 ;
4456 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4461 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4464 PyErr_SetString(PyExc_TypeError
,"null reference");
4467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4469 arg3
= (int) SWIG_AsInt(obj2
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4474 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4480 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4484 arg6
= (long) SWIG_AsLong(obj5
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4501 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
;
4503 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4504 wxBitmap
*arg2
= 0 ;
4505 PyObject
* obj0
= 0 ;
4506 PyObject
* obj1
= 0 ;
4508 (char *) "self",(char *) "bitmap", NULL
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4518 PyErr_SetString(PyExc_TypeError
,"null reference");
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) SWIG_fail
;
4528 Py_INCREF(Py_None
); resultobj
= Py_None
;
4535 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
*resultobj
;
4537 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4539 PyObject
* obj0
= 0 ;
4541 (char *) "self", NULL
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4551 result
= (wxBitmap
*) &_result_ref
;
4554 wxPyEndAllowThreads(__tstate
);
4555 if (PyErr_Occurred()) SWIG_fail
;
4558 wxBitmap
* resultptr
= new wxBitmap(*result
);
4559 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4567 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4570 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4572 return Py_BuildValue((char *)"");
4574 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
;
4576 wxBitmap
*arg1
= 0 ;
4579 wxWindow
*arg4
= (wxWindow
*) 0 ;
4581 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4582 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4583 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4584 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4585 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4586 wxSplashScreen
*result
;
4589 PyObject
* obj0
= 0 ;
4590 PyObject
* obj1
= 0 ;
4591 PyObject
* obj2
= 0 ;
4592 PyObject
* obj3
= 0 ;
4593 PyObject
* obj4
= 0 ;
4594 PyObject
* obj5
= 0 ;
4595 PyObject
* obj6
= 0 ;
4596 PyObject
* obj7
= 0 ;
4598 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4603 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4606 PyErr_SetString(PyExc_TypeError
,"null reference");
4609 arg2
= (long) SWIG_AsLong(obj1
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4611 arg3
= (int) SWIG_AsInt(obj2
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4613 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4615 arg5
= (int) SWIG_AsInt(obj4
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4620 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4626 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4630 arg8
= (long) SWIG_AsLong(obj7
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4647 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
*resultobj
;
4649 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4651 PyObject
* obj0
= 0 ;
4653 (char *) "self", NULL
4656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4661 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4663 wxPyEndAllowThreads(__tstate
);
4664 if (PyErr_Occurred()) SWIG_fail
;
4666 resultobj
= SWIG_FromLong((long)result
);
4673 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
*resultobj
;
4675 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4676 wxSplashScreenWindow
*result
;
4677 PyObject
* obj0
= 0 ;
4679 (char *) "self", NULL
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4699 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
;
4701 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4703 PyObject
* obj0
= 0 ;
4705 (char *) "self", NULL
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4718 resultobj
= SWIG_FromInt((int)result
);
4725 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4728 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4730 return Py_BuildValue((char *)"");
4732 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
*resultobj
;
4734 wxWindow
*arg1
= (wxWindow
*) 0 ;
4735 int arg2
= (int) -1 ;
4736 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
4737 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4738 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4739 wxStatusBar
*result
;
4740 bool temp4
= False
;
4741 PyObject
* obj0
= 0 ;
4742 PyObject
* obj1
= 0 ;
4743 PyObject
* obj2
= 0 ;
4744 PyObject
* obj3
= 0 ;
4746 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4753 arg2
= (int) SWIG_AsInt(obj1
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4757 arg3
= (long) SWIG_AsLong(obj2
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4762 arg4
= wxString_in_helper(obj3
);
4763 if (arg4
== NULL
) SWIG_fail
;
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4775 resultobj
= wxPyMake_wxObject(result
);
4791 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4792 PyObject
*resultobj
;
4793 wxStatusBar
*result
;
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 result
= (wxStatusBar
*)new wxStatusBar();
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4807 resultobj
= wxPyMake_wxObject(result
);
4815 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
*resultobj
;
4817 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4818 wxWindow
*arg2
= (wxWindow
*) 0 ;
4820 long arg4
= (long) wxST_SIZEGRIP
;
4821 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4822 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4824 bool temp5
= False
;
4825 PyObject
* obj0
= 0 ;
4826 PyObject
* obj1
= 0 ;
4827 PyObject
* obj2
= 0 ;
4828 PyObject
* obj3
= 0 ;
4829 PyObject
* obj4
= 0 ;
4831 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4839 arg3
= (int) SWIG_AsInt(obj2
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4842 arg4
= (long) SWIG_AsLong(obj3
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4847 arg5
= wxString_in_helper(obj4
);
4848 if (arg5
== NULL
) SWIG_fail
;
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4876 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
*resultobj
;
4878 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4879 int arg2
= (int) 1 ;
4880 PyObject
* obj0
= 0 ;
4881 PyObject
* obj1
= 0 ;
4883 (char *) "self",(char *) "number", NULL
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4890 arg2
= (int) SWIG_AsInt(obj1
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 (arg1
)->SetFieldsCount(arg2
);
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4900 Py_INCREF(Py_None
); resultobj
= Py_None
;
4907 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
*resultobj
;
4909 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4911 PyObject
* obj0
= 0 ;
4913 (char *) "self", NULL
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4926 resultobj
= SWIG_FromInt((int)result
);
4933 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
;
4935 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4936 wxString
*arg2
= 0 ;
4937 int arg3
= (int) 0 ;
4938 bool temp2
= False
;
4939 PyObject
* obj0
= 0 ;
4940 PyObject
* obj1
= 0 ;
4941 PyObject
* obj2
= 0 ;
4943 (char *) "self",(char *) "text",(char *) "number", NULL
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4950 arg2
= wxString_in_helper(obj1
);
4951 if (arg2
== NULL
) SWIG_fail
;
4955 arg3
= (int) SWIG_AsInt(obj2
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4960 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4965 Py_INCREF(Py_None
); resultobj
= Py_None
;
4980 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
*resultobj
;
4982 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4983 int arg2
= (int) 0 ;
4985 PyObject
* obj0
= 0 ;
4986 PyObject
* obj1
= 0 ;
4988 (char *) "self",(char *) "number", NULL
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
4992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4995 arg2
= (int) SWIG_AsInt(obj1
);
4996 if (PyErr_Occurred()) SWIG_fail
;
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5018 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
;
5020 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5021 wxString
*arg2
= 0 ;
5022 int arg3
= (int) 0 ;
5023 bool temp2
= False
;
5024 PyObject
* obj0
= 0 ;
5025 PyObject
* obj1
= 0 ;
5026 PyObject
* obj2
= 0 ;
5028 (char *) "self",(char *) "text",(char *) "number", NULL
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5035 arg2
= wxString_in_helper(obj1
);
5036 if (arg2
== NULL
) SWIG_fail
;
5040 arg3
= (int) SWIG_AsInt(obj2
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5050 Py_INCREF(Py_None
); resultobj
= Py_None
;
5065 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
*resultobj
;
5067 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5068 int arg2
= (int) 0 ;
5069 PyObject
* obj0
= 0 ;
5070 PyObject
* obj1
= 0 ;
5072 (char *) "self",(char *) "number", NULL
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5079 arg2
= (int) SWIG_AsInt(obj1
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 (arg1
)->PopStatusText(arg2
);
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 Py_INCREF(Py_None
); resultobj
= Py_None
;
5096 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
;
5098 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5100 int *arg3
= (int *) 0 ;
5101 PyObject
* obj0
= 0 ;
5102 PyObject
* obj1
= 0 ;
5104 (char *) "self",(char *) "widths", NULL
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5111 arg2
= PyList_Size(obj1
);
5112 arg3
= int_LIST_helper(obj1
);
5113 if (arg3
== NULL
) SWIG_fail
;
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5122 Py_INCREF(Py_None
); resultobj
= Py_None
;
5124 if (arg3
) delete [] arg3
;
5129 if (arg3
) delete [] arg3
;
5135 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
*resultobj
;
5137 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5140 PyObject
* obj0
= 0 ;
5141 PyObject
* obj1
= 0 ;
5143 (char *) "self",(char *) "i", NULL
5146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5149 arg2
= (int) SWIG_AsInt(obj1
);
5150 if (PyErr_Occurred()) SWIG_fail
;
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5160 resultptr
= new wxRect((wxRect
&) result
);
5161 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5169 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
;
5171 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5173 PyObject
* obj0
= 0 ;
5174 PyObject
* obj1
= 0 ;
5176 (char *) "self",(char *) "height", NULL
5179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5182 arg2
= (int) SWIG_AsInt(obj1
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 (arg1
)->SetMinHeight(arg2
);
5188 wxPyEndAllowThreads(__tstate
);
5189 if (PyErr_Occurred()) SWIG_fail
;
5191 Py_INCREF(Py_None
); resultobj
= Py_None
;
5198 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
*resultobj
;
5200 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5202 PyObject
* obj0
= 0 ;
5204 (char *) "self", NULL
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= SWIG_FromInt((int)result
);
5224 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
;
5226 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5228 PyObject
* obj0
= 0 ;
5230 (char *) "self", NULL
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= SWIG_FromInt((int)result
);
5250 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5253 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5255 return Py_BuildValue((char *)"");
5257 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5258 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5263 static PyObject
*_wrap_SplitterNameStr_get() {
5268 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5270 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5277 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
*resultobj
;
5279 wxWindow
*arg1
= (wxWindow
*) 0 ;
5281 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5282 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5283 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5284 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5285 long arg5
= (long) wxSP_3D
;
5286 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5287 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5288 wxSplitterWindow
*result
;
5291 bool temp6
= False
;
5292 PyObject
* obj0
= 0 ;
5293 PyObject
* obj1
= 0 ;
5294 PyObject
* obj2
= 0 ;
5295 PyObject
* obj3
= 0 ;
5296 PyObject
* obj4
= 0 ;
5297 PyObject
* obj5
= 0 ;
5299 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5305 arg2
= (int) SWIG_AsInt(obj1
);
5306 if (PyErr_Occurred()) SWIG_fail
;
5310 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5316 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5320 arg5
= (long) SWIG_AsLong(obj4
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5325 arg6
= wxString_in_helper(obj5
);
5326 if (arg6
== NULL
) SWIG_fail
;
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5352 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
*resultobj
;
5354 wxSplitterWindow
*result
;
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5374 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
*resultobj
;
5376 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5377 wxWindow
*arg2
= (wxWindow
*) 0 ;
5379 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5380 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5381 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5382 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5383 long arg6
= (long) wxSP_3D
;
5384 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5385 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5389 bool temp7
= False
;
5390 PyObject
* obj0
= 0 ;
5391 PyObject
* obj1
= 0 ;
5392 PyObject
* obj2
= 0 ;
5393 PyObject
* obj3
= 0 ;
5394 PyObject
* obj4
= 0 ;
5395 PyObject
* obj5
= 0 ;
5396 PyObject
* obj6
= 0 ;
5398 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5406 arg3
= (int) SWIG_AsInt(obj2
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5411 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5417 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5421 arg6
= (long) SWIG_AsLong(obj5
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5426 arg7
= wxString_in_helper(obj6
);
5427 if (arg7
== NULL
) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5455 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
;
5457 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5459 PyObject
* obj0
= 0 ;
5461 (char *) "self", NULL
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5475 resultobj
= wxPyMake_wxObject(result
);
5483 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
;
5485 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5487 PyObject
* obj0
= 0 ;
5489 (char *) "self", NULL
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5503 resultobj
= wxPyMake_wxObject(result
);
5511 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5512 PyObject
*resultobj
;
5513 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5515 PyObject
* obj0
= 0 ;
5516 PyObject
* obj1
= 0 ;
5518 (char *) "self",(char *) "mode", NULL
5521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5524 arg2
= (int) SWIG_AsInt(obj1
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 (arg1
)->SetSplitMode(arg2
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5533 Py_INCREF(Py_None
); resultobj
= Py_None
;
5540 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5544 PyObject
* obj0
= 0 ;
5546 (char *) "self", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5559 resultobj
= SWIG_FromInt((int)result
);
5566 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
;
5568 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5569 wxWindow
*arg2
= (wxWindow
*) 0 ;
5570 PyObject
* obj0
= 0 ;
5571 PyObject
* obj1
= 0 ;
5573 (char *) "self",(char *) "window", NULL
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 (arg1
)->Initialize(arg2
);
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5588 Py_INCREF(Py_None
); resultobj
= Py_None
;
5595 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
;
5597 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5598 wxWindow
*arg2
= (wxWindow
*) 0 ;
5599 wxWindow
*arg3
= (wxWindow
*) 0 ;
5600 int arg4
= (int) 0 ;
5602 PyObject
* obj0
= 0 ;
5603 PyObject
* obj1
= 0 ;
5604 PyObject
* obj2
= 0 ;
5605 PyObject
* obj3
= 0 ;
5607 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5615 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5618 arg4
= (int) SWIG_AsInt(obj3
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5637 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
;
5639 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5640 wxWindow
*arg2
= (wxWindow
*) 0 ;
5641 wxWindow
*arg3
= (wxWindow
*) 0 ;
5642 int arg4
= (int) 0 ;
5644 PyObject
* obj0
= 0 ;
5645 PyObject
* obj1
= 0 ;
5646 PyObject
* obj2
= 0 ;
5647 PyObject
* obj3
= 0 ;
5649 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5657 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5660 arg4
= (int) SWIG_AsInt(obj3
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5679 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
*resultobj
;
5681 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5682 wxWindow
*arg2
= (wxWindow
*) NULL
;
5684 PyObject
* obj0
= 0 ;
5685 PyObject
* obj1
= 0 ;
5687 (char *) "self",(char *) "toRemove", NULL
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 result
= (bool)(arg1
)->Unsplit(arg2
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5713 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
;
5715 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5716 wxWindow
*arg2
= (wxWindow
*) 0 ;
5717 wxWindow
*arg3
= (wxWindow
*) 0 ;
5719 PyObject
* obj0
= 0 ;
5720 PyObject
* obj1
= 0 ;
5721 PyObject
* obj2
= 0 ;
5723 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5731 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5749 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
*resultobj
;
5751 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5752 PyObject
* obj0
= 0 ;
5754 (char *) "self", NULL
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
5758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 (arg1
)->UpdateSize();
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5767 Py_INCREF(Py_None
); resultobj
= Py_None
;
5774 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5778 PyObject
* obj0
= 0 ;
5780 (char *) "self", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5802 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
;
5804 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5806 PyObject
* obj0
= 0 ;
5807 PyObject
* obj1
= 0 ;
5809 (char *) "self",(char *) "width", NULL
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5815 arg2
= (int) SWIG_AsInt(obj1
);
5816 if (PyErr_Occurred()) SWIG_fail
;
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 (arg1
)->SetSashSize(arg2
);
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5824 Py_INCREF(Py_None
); resultobj
= Py_None
;
5831 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
*resultobj
;
5833 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5835 PyObject
* obj0
= 0 ;
5836 PyObject
* obj1
= 0 ;
5838 (char *) "self",(char *) "width", NULL
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5844 arg2
= (int) SWIG_AsInt(obj1
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 (arg1
)->SetBorderSize(arg2
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5853 Py_INCREF(Py_None
); resultobj
= Py_None
;
5860 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
;
5862 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5864 PyObject
* obj0
= 0 ;
5866 (char *) "self", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5879 resultobj
= SWIG_FromInt((int)result
);
5886 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
;
5888 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5890 PyObject
* obj0
= 0 ;
5892 (char *) "self", NULL
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5905 resultobj
= SWIG_FromInt((int)result
);
5912 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
;
5914 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5916 bool arg3
= (bool) True
;
5917 PyObject
* obj0
= 0 ;
5918 PyObject
* obj1
= 0 ;
5919 PyObject
* obj2
= 0 ;
5921 (char *) "self",(char *) "position",(char *) "redraw", NULL
5924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5927 arg2
= (int) SWIG_AsInt(obj1
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 arg3
= (bool) SWIG_AsBool(obj2
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 (arg1
)->SetSashPosition(arg2
,arg3
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5940 Py_INCREF(Py_None
); resultobj
= Py_None
;
5947 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
;
5949 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5951 PyObject
* obj0
= 0 ;
5953 (char *) "self", NULL
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5961 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5963 wxPyEndAllowThreads(__tstate
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5966 resultobj
= SWIG_FromInt((int)result
);
5973 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
*resultobj
;
5975 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5977 PyObject
* obj0
= 0 ;
5978 PyObject
* obj1
= 0 ;
5980 (char *) "self",(char *) "min", NULL
5983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5986 arg2
= (int) SWIG_AsInt(obj1
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 (arg1
)->SetMinimumPaneSize(arg2
);
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5995 Py_INCREF(Py_None
); resultobj
= Py_None
;
6002 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6003 PyObject
*resultobj
;
6004 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6006 PyObject
* obj0
= 0 ;
6008 (char *) "self", NULL
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6021 resultobj
= SWIG_FromInt((int)result
);
6028 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
*resultobj
;
6030 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6033 int arg4
= (int) 5 ;
6035 PyObject
* obj0
= 0 ;
6036 PyObject
* obj1
= 0 ;
6037 PyObject
* obj2
= 0 ;
6038 PyObject
* obj3
= 0 ;
6040 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6046 arg2
= (int) SWIG_AsInt(obj1
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6048 arg3
= (int) SWIG_AsInt(obj2
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 arg4
= (int) SWIG_AsInt(obj3
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6070 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6073 PyObject
* obj0
= 0 ;
6075 (char *) "self", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 (arg1
)->SizeWindows();
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) SWIG_fail
;
6088 Py_INCREF(Py_None
); resultobj
= Py_None
;
6095 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
*resultobj
;
6097 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6099 PyObject
* obj0
= 0 ;
6100 PyObject
* obj1
= 0 ;
6102 (char *) "self",(char *) "needUpdating", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6108 arg2
= (bool) SWIG_AsBool(obj1
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 (arg1
)->SetNeedUpdating(arg2
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 Py_INCREF(Py_None
); resultobj
= Py_None
;
6124 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
;
6126 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6128 PyObject
* obj0
= 0 ;
6130 (char *) "self", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6152 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6155 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6157 return Py_BuildValue((char *)"");
6159 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
*resultobj
;
6161 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6162 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6163 wxSplitterEvent
*result
;
6164 PyObject
* obj0
= 0 ;
6165 PyObject
* obj1
= 0 ;
6167 (char *) "type",(char *) "splitter", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6172 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6193 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
;
6195 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6197 PyObject
* obj0
= 0 ;
6198 PyObject
* obj1
= 0 ;
6200 (char *) "self",(char *) "pos", NULL
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6206 arg2
= (int) SWIG_AsInt(obj1
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 (arg1
)->SetSashPosition(arg2
);
6212 wxPyEndAllowThreads(__tstate
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6215 Py_INCREF(Py_None
); resultobj
= Py_None
;
6222 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
*resultobj
;
6224 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6226 PyObject
* obj0
= 0 ;
6228 (char *) "self", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) SWIG_fail
;
6241 resultobj
= SWIG_FromInt((int)result
);
6248 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
*resultobj
;
6250 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6252 PyObject
* obj0
= 0 ;
6254 (char *) "self", NULL
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6268 resultobj
= wxPyMake_wxObject(result
);
6276 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
*resultobj
;
6278 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6280 PyObject
* obj0
= 0 ;
6282 (char *) "self", NULL
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6295 resultobj
= SWIG_FromInt((int)result
);
6302 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
*resultobj
;
6304 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6306 PyObject
* obj0
= 0 ;
6308 (char *) "self", NULL
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6321 resultobj
= SWIG_FromInt((int)result
);
6328 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6331 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6333 return Py_BuildValue((char *)"");
6335 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6336 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6341 static PyObject
*_wrap_SashNameStr_get() {
6346 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6348 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6355 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6356 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6361 static PyObject
*_wrap_SashLayoutNameStr_get() {
6366 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6368 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6375 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
;
6377 wxWindow
*arg1
= (wxWindow
*) 0 ;
6379 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6380 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6381 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6382 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6383 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6384 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6385 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6386 wxSashWindow
*result
;
6389 bool temp6
= False
;
6390 PyObject
* obj0
= 0 ;
6391 PyObject
* obj1
= 0 ;
6392 PyObject
* obj2
= 0 ;
6393 PyObject
* obj3
= 0 ;
6394 PyObject
* obj4
= 0 ;
6395 PyObject
* obj5
= 0 ;
6397 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6403 arg2
= (int) SWIG_AsInt(obj1
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6408 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6414 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6418 arg5
= (long) SWIG_AsLong(obj4
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6423 arg6
= wxString_in_helper(obj5
);
6424 if (arg6
== NULL
) SWIG_fail
;
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6450 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6451 PyObject
*resultobj
;
6452 wxSashWindow
*result
;
6457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 result
= (wxSashWindow
*)new wxSashWindow();
6462 wxPyEndAllowThreads(__tstate
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6472 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6475 wxWindow
*arg2
= (wxWindow
*) 0 ;
6477 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6478 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6479 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6480 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6481 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6482 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6483 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6487 bool temp7
= False
;
6488 PyObject
* obj0
= 0 ;
6489 PyObject
* obj1
= 0 ;
6490 PyObject
* obj2
= 0 ;
6491 PyObject
* obj3
= 0 ;
6492 PyObject
* obj4
= 0 ;
6493 PyObject
* obj5
= 0 ;
6494 PyObject
* obj6
= 0 ;
6496 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6504 arg3
= (int) SWIG_AsInt(obj2
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6509 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6515 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6519 arg6
= (long) SWIG_AsLong(obj5
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6524 arg7
= wxString_in_helper(obj6
);
6525 if (arg7
== NULL
) SWIG_fail
;
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6553 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
*resultobj
;
6555 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6558 PyObject
* obj0
= 0 ;
6559 PyObject
* obj1
= 0 ;
6560 PyObject
* obj2
= 0 ;
6562 (char *) "self",(char *) "edge",(char *) "sash", NULL
6565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6568 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6570 arg3
= (bool) SWIG_AsBool(obj2
);
6571 if (PyErr_Occurred()) SWIG_fail
;
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6579 Py_INCREF(Py_None
); resultobj
= Py_None
;
6586 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
;
6588 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6591 PyObject
* obj0
= 0 ;
6592 PyObject
* obj1
= 0 ;
6594 (char *) "self",(char *) "edge", NULL
6597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6600 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6601 if (PyErr_Occurred()) SWIG_fail
;
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6618 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6619 PyObject
*resultobj
;
6620 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6623 PyObject
* obj0
= 0 ;
6624 PyObject
* obj1
= 0 ;
6625 PyObject
* obj2
= 0 ;
6627 (char *) "self",(char *) "edge",(char *) "border", NULL
6630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6633 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6635 arg3
= (bool) SWIG_AsBool(obj2
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6641 wxPyEndAllowThreads(__tstate
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6644 Py_INCREF(Py_None
); resultobj
= Py_None
;
6651 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
;
6653 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6656 PyObject
* obj0
= 0 ;
6657 PyObject
* obj1
= 0 ;
6659 (char *) "self",(char *) "edge", NULL
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6665 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6669 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6671 wxPyEndAllowThreads(__tstate
);
6672 if (PyErr_Occurred()) SWIG_fail
;
6675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6683 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6684 PyObject
*resultobj
;
6685 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6688 PyObject
* obj0
= 0 ;
6689 PyObject
* obj1
= 0 ;
6691 (char *) "self",(char *) "edge", NULL
6694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6697 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= SWIG_FromInt((int)result
);
6713 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
;
6715 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6720 (char *) "self",(char *) "width", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6726 arg2
= (int) SWIG_AsInt(obj1
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 (arg1
)->SetDefaultBorderSize(arg2
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6735 Py_INCREF(Py_None
); resultobj
= Py_None
;
6742 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
;
6744 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6746 PyObject
* obj0
= 0 ;
6748 (char *) "self", NULL
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= SWIG_FromInt((int)result
);
6768 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
;
6770 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6772 PyObject
* obj0
= 0 ;
6773 PyObject
* obj1
= 0 ;
6775 (char *) "self",(char *) "width", NULL
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6781 arg2
= (int) SWIG_AsInt(obj1
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 (arg1
)->SetExtraBorderSize(arg2
);
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6790 Py_INCREF(Py_None
); resultobj
= Py_None
;
6797 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
;
6799 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6801 PyObject
* obj0
= 0 ;
6803 (char *) "self", NULL
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= SWIG_FromInt((int)result
);
6823 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
;
6825 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6827 PyObject
* obj0
= 0 ;
6828 PyObject
* obj1
= 0 ;
6830 (char *) "self",(char *) "min", NULL
6833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6836 arg2
= (int) SWIG_AsInt(obj1
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 (arg1
)->SetMinimumSizeX(arg2
);
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 Py_INCREF(Py_None
); resultobj
= Py_None
;
6852 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
;
6854 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6856 PyObject
* obj0
= 0 ;
6857 PyObject
* obj1
= 0 ;
6859 (char *) "self",(char *) "min", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6865 arg2
= (int) SWIG_AsInt(obj1
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 (arg1
)->SetMinimumSizeY(arg2
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6874 Py_INCREF(Py_None
); resultobj
= Py_None
;
6881 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
;
6883 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6885 PyObject
* obj0
= 0 ;
6887 (char *) "self", NULL
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= SWIG_FromInt((int)result
);
6907 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
*resultobj
;
6909 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6911 PyObject
* obj0
= 0 ;
6913 (char *) "self", NULL
6916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= SWIG_FromInt((int)result
);
6933 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
*resultobj
;
6935 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6937 PyObject
* obj0
= 0 ;
6938 PyObject
* obj1
= 0 ;
6940 (char *) "self",(char *) "max", NULL
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6946 arg2
= (int) SWIG_AsInt(obj1
);
6947 if (PyErr_Occurred()) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 (arg1
)->SetMaximumSizeX(arg2
);
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 Py_INCREF(Py_None
); resultobj
= Py_None
;
6962 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
;
6964 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6966 PyObject
* obj0
= 0 ;
6967 PyObject
* obj1
= 0 ;
6969 (char *) "self",(char *) "max", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6975 arg2
= (int) SWIG_AsInt(obj1
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 (arg1
)->SetMaximumSizeY(arg2
);
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6984 Py_INCREF(Py_None
); resultobj
= Py_None
;
6991 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
;
6993 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6995 PyObject
* obj0
= 0 ;
6997 (char *) "self", NULL
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 resultobj
= SWIG_FromInt((int)result
);
7017 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
;
7019 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7021 PyObject
* obj0
= 0 ;
7023 (char *) "self", NULL
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7036 resultobj
= SWIG_FromInt((int)result
);
7043 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
*resultobj
;
7045 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7048 int arg4
= (int) 2 ;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7052 PyObject
* obj2
= 0 ;
7053 PyObject
* obj3
= 0 ;
7055 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7061 arg2
= (int) SWIG_AsInt(obj1
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7063 arg3
= (int) SWIG_AsInt(obj2
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 arg4
= (int) SWIG_AsInt(obj3
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_FromInt((int)result
);
7083 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7086 PyObject
* obj0
= 0 ;
7088 (char *) "self", NULL
7091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 (arg1
)->SizeWindows();
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 Py_INCREF(Py_None
); resultobj
= Py_None
;
7108 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7111 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7113 return Py_BuildValue((char *)"");
7115 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
;
7117 int arg1
= (int) 0 ;
7118 int arg2
= (int) wxSASH_NONE
;
7119 wxSashEvent
*result
;
7120 PyObject
* obj0
= 0 ;
7121 PyObject
* obj1
= 0 ;
7123 (char *) "id",(char *) "edge", NULL
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7128 arg1
= (int) SWIG_AsInt(obj0
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7132 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7149 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
*resultobj
;
7151 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7153 PyObject
* obj0
= 0 ;
7154 PyObject
* obj1
= 0 ;
7156 (char *) "self",(char *) "edge", NULL
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7162 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7168 wxPyEndAllowThreads(__tstate
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7171 Py_INCREF(Py_None
); resultobj
= Py_None
;
7178 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
;
7180 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7182 PyObject
* obj0
= 0 ;
7184 (char *) "self", NULL
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7197 resultobj
= SWIG_FromInt((int)result
);
7204 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7206 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7209 PyObject
* obj0
= 0 ;
7210 PyObject
* obj1
= 0 ;
7212 (char *) "self",(char *) "rect", NULL
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7220 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7229 Py_INCREF(Py_None
); resultobj
= Py_None
;
7236 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
*resultobj
;
7238 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7240 PyObject
* obj0
= 0 ;
7242 (char *) "self", NULL
7245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) SWIG_fail
;
7257 resultptr
= new wxRect((wxRect
&) result
);
7258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7266 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
*resultobj
;
7268 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7270 PyObject
* obj0
= 0 ;
7271 PyObject
* obj1
= 0 ;
7273 (char *) "self",(char *) "status", NULL
7276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7279 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7288 Py_INCREF(Py_None
); resultobj
= Py_None
;
7295 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
;
7297 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7299 PyObject
* obj0
= 0 ;
7301 (char *) "self", NULL
7304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7309 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7311 wxPyEndAllowThreads(__tstate
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7314 resultobj
= SWIG_FromInt((int)result
);
7321 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7324 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7326 return Py_BuildValue((char *)"");
7328 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7330 int arg1
= (int) 0 ;
7331 wxQueryLayoutInfoEvent
*result
;
7332 PyObject
* obj0
= 0 ;
7337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7339 arg1
= (int) SWIG_AsInt(obj0
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7356 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
*resultobj
;
7358 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7360 PyObject
* obj0
= 0 ;
7361 PyObject
* obj1
= 0 ;
7363 (char *) "self",(char *) "length", NULL
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7369 arg2
= (int) SWIG_AsInt(obj1
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 (arg1
)->SetRequestedLength(arg2
);
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 Py_INCREF(Py_None
); resultobj
= Py_None
;
7385 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7387 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7389 PyObject
* obj0
= 0 ;
7391 (char *) "self", NULL
7394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7401 wxPyEndAllowThreads(__tstate
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7404 resultobj
= SWIG_FromInt((int)result
);
7411 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
*resultobj
;
7413 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7415 PyObject
* obj0
= 0 ;
7416 PyObject
* obj1
= 0 ;
7418 (char *) "self",(char *) "flags", NULL
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7424 arg2
= (int) SWIG_AsInt(obj1
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 (arg1
)->SetFlags(arg2
);
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 Py_INCREF(Py_None
); resultobj
= Py_None
;
7440 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7442 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7444 PyObject
* obj0
= 0 ;
7446 (char *) "self", NULL
7449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7459 resultobj
= SWIG_FromInt((int)result
);
7466 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
*resultobj
;
7468 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7471 PyObject
* obj0
= 0 ;
7472 PyObject
* obj1
= 0 ;
7474 (char *) "self",(char *) "size", NULL
7477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7482 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 (arg1
)->SetSize((wxSize
const &)*arg2
);
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7491 Py_INCREF(Py_None
); resultobj
= Py_None
;
7498 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
;
7500 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7502 PyObject
* obj0
= 0 ;
7504 (char *) "self", NULL
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7519 resultptr
= new wxSize((wxSize
&) result
);
7520 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7528 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7530 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7532 PyObject
* obj0
= 0 ;
7533 PyObject
* obj1
= 0 ;
7535 (char *) "self",(char *) "orient", NULL
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7541 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7542 if (PyErr_Occurred()) SWIG_fail
;
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7550 Py_INCREF(Py_None
); resultobj
= Py_None
;
7557 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
*resultobj
;
7559 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7561 PyObject
* obj0
= 0 ;
7563 (char *) "self", NULL
7566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= SWIG_FromInt((int)result
);
7583 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
;
7585 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7587 PyObject
* obj0
= 0 ;
7588 PyObject
* obj1
= 0 ;
7590 (char *) "self",(char *) "align", NULL
7593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7596 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7600 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7602 wxPyEndAllowThreads(__tstate
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7605 Py_INCREF(Py_None
); resultobj
= Py_None
;
7612 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
*resultobj
;
7614 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7616 PyObject
* obj0
= 0 ;
7618 (char *) "self", NULL
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7631 resultobj
= SWIG_FromInt((int)result
);
7638 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7641 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7643 return Py_BuildValue((char *)"");
7645 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7647 int arg1
= (int) 0 ;
7648 wxCalculateLayoutEvent
*result
;
7649 PyObject
* obj0
= 0 ;
7654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7656 arg1
= (int) SWIG_AsInt(obj0
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7673 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7674 PyObject
*resultobj
;
7675 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7677 PyObject
* obj0
= 0 ;
7678 PyObject
* obj1
= 0 ;
7680 (char *) "self",(char *) "flags", NULL
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7686 arg2
= (int) SWIG_AsInt(obj1
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 (arg1
)->SetFlags(arg2
);
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7695 Py_INCREF(Py_None
); resultobj
= Py_None
;
7702 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
;
7704 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7706 PyObject
* obj0
= 0 ;
7708 (char *) "self", NULL
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7716 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7718 wxPyEndAllowThreads(__tstate
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7721 resultobj
= SWIG_FromInt((int)result
);
7728 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
*resultobj
;
7730 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7733 PyObject
* obj0
= 0 ;
7734 PyObject
* obj1
= 0 ;
7736 (char *) "self",(char *) "rect", NULL
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7744 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 (arg1
)->SetRect((wxRect
const &)*arg2
);
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7753 Py_INCREF(Py_None
); resultobj
= Py_None
;
7760 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
;
7762 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7764 PyObject
* obj0
= 0 ;
7766 (char *) "self", NULL
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7781 resultptr
= new wxRect((wxRect
&) result
);
7782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7790 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7793 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7795 return Py_BuildValue((char *)"");
7797 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
;
7799 wxWindow
*arg1
= (wxWindow
*) 0 ;
7801 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7802 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7803 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7804 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7805 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7806 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7807 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7808 wxSashLayoutWindow
*result
;
7811 bool temp6
= False
;
7812 PyObject
* obj0
= 0 ;
7813 PyObject
* obj1
= 0 ;
7814 PyObject
* obj2
= 0 ;
7815 PyObject
* obj3
= 0 ;
7816 PyObject
* obj4
= 0 ;
7817 PyObject
* obj5
= 0 ;
7819 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7825 arg2
= (int) SWIG_AsInt(obj1
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7830 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7836 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7840 arg5
= (long) SWIG_AsLong(obj4
);
7841 if (PyErr_Occurred()) SWIG_fail
;
7845 arg6
= wxString_in_helper(obj5
);
7846 if (arg6
== NULL
) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7872 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
*resultobj
;
7874 wxSashLayoutWindow
*result
;
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7894 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
;
7896 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7897 wxWindow
*arg2
= (wxWindow
*) 0 ;
7899 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7900 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7901 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7902 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7903 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7904 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7905 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7909 bool temp7
= False
;
7910 PyObject
* obj0
= 0 ;
7911 PyObject
* obj1
= 0 ;
7912 PyObject
* obj2
= 0 ;
7913 PyObject
* obj3
= 0 ;
7914 PyObject
* obj4
= 0 ;
7915 PyObject
* obj5
= 0 ;
7916 PyObject
* obj6
= 0 ;
7918 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7926 arg3
= (int) SWIG_AsInt(obj2
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7931 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7937 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7941 arg6
= (long) SWIG_AsLong(obj5
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7946 arg7
= wxString_in_helper(obj6
);
7947 if (arg7
== NULL
) SWIG_fail
;
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7975 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
*resultobj
;
7977 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7979 PyObject
* obj0
= 0 ;
7981 (char *) "self", NULL
7984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 result
= (int)(arg1
)->GetAlignment();
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= SWIG_FromInt((int)result
);
8001 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
;
8003 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8005 PyObject
* obj0
= 0 ;
8007 (char *) "self", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 result
= (int)(arg1
)->GetOrientation();
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 resultobj
= SWIG_FromInt((int)result
);
8027 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8028 PyObject
*resultobj
;
8029 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8031 PyObject
* obj0
= 0 ;
8032 PyObject
* obj1
= 0 ;
8034 (char *) "self",(char *) "alignment", NULL
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8040 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8049 Py_INCREF(Py_None
); resultobj
= Py_None
;
8056 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
*resultobj
;
8058 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8061 PyObject
* obj0
= 0 ;
8062 PyObject
* obj1
= 0 ;
8064 (char *) "self",(char *) "size", NULL
8067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8072 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 Py_INCREF(Py_None
); resultobj
= Py_None
;
8088 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
;
8090 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8092 PyObject
* obj0
= 0 ;
8093 PyObject
* obj1
= 0 ;
8095 (char *) "self",(char *) "orientation", NULL
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8101 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8105 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8107 wxPyEndAllowThreads(__tstate
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8110 Py_INCREF(Py_None
); resultobj
= Py_None
;
8117 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8120 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8122 return Py_BuildValue((char *)"");
8124 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
*resultobj
;
8126 wxLayoutAlgorithm
*result
;
8131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8146 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
;
8148 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8149 PyObject
* obj0
= 0 ;
8151 (char *) "self", NULL
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 wxPyEndAllowThreads(__tstate
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8164 Py_INCREF(Py_None
); resultobj
= Py_None
;
8171 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8172 PyObject
*resultobj
;
8173 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8174 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8175 wxRect
*arg3
= (wxRect
*) NULL
;
8177 PyObject
* obj0
= 0 ;
8178 PyObject
* obj1
= 0 ;
8179 PyObject
* obj2
= 0 ;
8181 (char *) "self",(char *) "frame",(char *) "rect", NULL
8184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8190 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8195 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8209 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
;
8211 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8212 wxFrame
*arg2
= (wxFrame
*) 0 ;
8213 wxWindow
*arg3
= (wxWindow
*) NULL
;
8215 PyObject
* obj0
= 0 ;
8216 PyObject
* obj1
= 0 ;
8217 PyObject
* obj2
= 0 ;
8219 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8228 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8247 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8248 PyObject
*resultobj
;
8249 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8250 wxWindow
*arg2
= (wxWindow
*) 0 ;
8251 wxWindow
*arg3
= (wxWindow
*) NULL
;
8253 PyObject
* obj0
= 0 ;
8254 PyObject
* obj1
= 0 ;
8255 PyObject
* obj2
= 0 ;
8257 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8266 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8273 wxPyEndAllowThreads(__tstate
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8285 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8288 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8290 return Py_BuildValue((char *)"");
8292 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxWindow
*arg1
= (wxWindow
*) 0 ;
8295 int arg2
= (int) wxBORDER_NONE
;
8296 wxPopupWindow
*result
;
8297 PyObject
* obj0
= 0 ;
8298 PyObject
* obj1
= 0 ;
8300 (char *) "parent",(char *) "flags", NULL
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8307 arg2
= (int) SWIG_AsInt(obj1
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8312 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8324 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
*resultobj
;
8326 wxPopupWindow
*result
;
8331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 result
= (wxPopupWindow
*)new wxPopupWindow();
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8346 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8349 wxWindow
*arg2
= (wxWindow
*) 0 ;
8350 int arg3
= (int) wxBORDER_NONE
;
8352 PyObject
* obj0
= 0 ;
8353 PyObject
* obj1
= 0 ;
8354 PyObject
* obj2
= 0 ;
8356 (char *) "self",(char *) "parent",(char *) "flags", NULL
8359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8365 arg3
= (int) SWIG_AsInt(obj2
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8384 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8385 PyObject
*resultobj
;
8386 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8391 PyObject
* obj0
= 0 ;
8392 PyObject
* obj1
= 0 ;
8393 PyObject
* obj2
= 0 ;
8395 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8403 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8407 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 Py_INCREF(Py_None
); resultobj
= Py_None
;
8423 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8426 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8428 return Py_BuildValue((char *)"");
8430 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8431 PyObject
*resultobj
;
8432 wxWindow
*arg1
= (wxWindow
*) 0 ;
8433 int arg2
= (int) wxBORDER_NONE
;
8434 wxPyPopupTransientWindow
*result
;
8435 PyObject
* obj0
= 0 ;
8436 PyObject
* obj1
= 0 ;
8438 (char *) "parent",(char *) "style", NULL
8441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8445 arg2
= (int) SWIG_AsInt(obj1
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8462 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
*resultobj
;
8464 wxPyPopupTransientWindow
*result
;
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8472 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8474 wxPyEndAllowThreads(__tstate
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8484 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
*resultobj
;
8486 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8487 PyObject
*arg2
= (PyObject
*) 0 ;
8488 PyObject
*arg3
= (PyObject
*) 0 ;
8489 PyObject
* obj0
= 0 ;
8490 PyObject
* obj1
= 0 ;
8491 PyObject
* obj2
= 0 ;
8493 (char *) "self",(char *) "self",(char *) "_class", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8503 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8508 Py_INCREF(Py_None
); resultobj
= Py_None
;
8515 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8516 PyObject
*resultobj
;
8517 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8518 wxWindow
*arg2
= (wxWindow
*) NULL
;
8519 PyObject
* obj0
= 0 ;
8520 PyObject
* obj1
= 0 ;
8522 (char *) "self",(char *) "focus", NULL
8525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 (arg1
)->Popup(arg2
);
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8539 Py_INCREF(Py_None
); resultobj
= Py_None
;
8546 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8547 PyObject
*resultobj
;
8548 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8549 PyObject
* obj0
= 0 ;
8551 (char *) "self", NULL
8554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8564 Py_INCREF(Py_None
); resultobj
= Py_None
;
8571 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8574 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8576 return Py_BuildValue((char *)"");
8578 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8579 PyObject
*resultobj
;
8580 wxWindow
*arg1
= (wxWindow
*) 0 ;
8581 wxString
*arg2
= 0 ;
8582 int arg3
= (int) 100 ;
8583 wxRect
*arg4
= (wxRect
*) NULL
;
8584 wxTipWindow
*result
;
8585 bool temp2
= False
;
8586 PyObject
* obj0
= 0 ;
8587 PyObject
* obj1
= 0 ;
8588 PyObject
* obj2
= 0 ;
8589 PyObject
* obj3
= 0 ;
8591 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8598 arg2
= wxString_in_helper(obj1
);
8599 if (arg2
== NULL
) SWIG_fail
;
8603 arg3
= (int) SWIG_AsInt(obj2
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8607 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8632 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
;
8634 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8637 PyObject
* obj0
= 0 ;
8638 PyObject
* obj1
= 0 ;
8640 (char *) "self",(char *) "rectBound", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8648 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 Py_INCREF(Py_None
); resultobj
= Py_None
;
8664 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
*resultobj
;
8666 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8667 PyObject
* obj0
= 0 ;
8669 (char *) "self", NULL
8672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 wxPyEndAllowThreads(__tstate
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8682 Py_INCREF(Py_None
); resultobj
= Py_None
;
8689 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8692 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8694 return Py_BuildValue((char *)"");
8696 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
;
8698 wxWindow
*arg1
= (wxWindow
*) 0 ;
8699 int arg2
= (int) wxID_ANY
;
8700 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8701 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8702 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8703 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8704 long arg5
= (long) 0 ;
8705 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8706 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8707 wxPyVScrolledWindow
*result
;
8710 bool temp6
= False
;
8711 PyObject
* obj0
= 0 ;
8712 PyObject
* obj1
= 0 ;
8713 PyObject
* obj2
= 0 ;
8714 PyObject
* obj3
= 0 ;
8715 PyObject
* obj4
= 0 ;
8716 PyObject
* obj5
= 0 ;
8718 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8725 arg2
= (int) SWIG_AsInt(obj1
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8731 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8737 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8741 arg5
= (long) SWIG_AsLong(obj4
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8746 arg6
= wxString_in_helper(obj5
);
8747 if (arg6
== NULL
) SWIG_fail
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8773 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8774 PyObject
*resultobj
;
8775 wxPyVScrolledWindow
*result
;
8780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8795 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
;
8797 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8798 PyObject
*arg2
= (PyObject
*) 0 ;
8799 PyObject
*arg3
= (PyObject
*) 0 ;
8800 PyObject
* obj0
= 0 ;
8801 PyObject
* obj1
= 0 ;
8802 PyObject
* obj2
= 0 ;
8804 (char *) "self",(char *) "self",(char *) "_class", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8819 Py_INCREF(Py_None
); resultobj
= Py_None
;
8826 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
;
8828 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8829 wxWindow
*arg2
= (wxWindow
*) 0 ;
8830 int arg3
= (int) wxID_ANY
;
8831 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8832 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8833 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8834 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8835 long arg6
= (long) 0 ;
8836 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8837 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8841 bool temp7
= False
;
8842 PyObject
* obj0
= 0 ;
8843 PyObject
* obj1
= 0 ;
8844 PyObject
* obj2
= 0 ;
8845 PyObject
* obj3
= 0 ;
8846 PyObject
* obj4
= 0 ;
8847 PyObject
* obj5
= 0 ;
8848 PyObject
* obj6
= 0 ;
8850 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8859 arg3
= (int) SWIG_AsInt(obj2
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8865 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8871 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8875 arg6
= (long) SWIG_AsLong(obj5
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8880 arg7
= wxString_in_helper(obj6
);
8881 if (arg7
== NULL
) SWIG_fail
;
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8909 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
;
8911 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8913 PyObject
* obj0
= 0 ;
8914 PyObject
* obj1
= 0 ;
8916 (char *) "self",(char *) "count", NULL
8919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8922 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8923 if (PyErr_Occurred()) SWIG_fail
;
8925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8926 (arg1
)->SetLineCount(arg2
);
8928 wxPyEndAllowThreads(__tstate
);
8929 if (PyErr_Occurred()) SWIG_fail
;
8931 Py_INCREF(Py_None
); resultobj
= Py_None
;
8938 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8939 PyObject
*resultobj
;
8940 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8943 PyObject
* obj0
= 0 ;
8944 PyObject
* obj1
= 0 ;
8946 (char *) "self",(char *) "line", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8952 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8970 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8975 PyObject
* obj0
= 0 ;
8976 PyObject
* obj1
= 0 ;
8978 (char *) "self",(char *) "lines", NULL
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
8982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8984 arg2
= (int) SWIG_AsInt(obj1
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 result
= (bool)(arg1
)->ScrollLines(arg2
);
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9002 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
;
9004 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9007 PyObject
* obj0
= 0 ;
9008 PyObject
* obj1
= 0 ;
9010 (char *) "self",(char *) "pages", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9016 arg2
= (int) SWIG_AsInt(obj1
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 result
= (bool)(arg1
)->ScrollPages(arg2
);
9022 wxPyEndAllowThreads(__tstate
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9034 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
;
9036 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9038 PyObject
* obj0
= 0 ;
9039 PyObject
* obj1
= 0 ;
9041 (char *) "self",(char *) "line", NULL
9044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9047 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 (arg1
)->RefreshLine(arg2
);
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9056 Py_INCREF(Py_None
); resultobj
= Py_None
;
9063 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9064 PyObject
*resultobj
;
9065 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9068 PyObject
* obj0
= 0 ;
9069 PyObject
* obj1
= 0 ;
9070 PyObject
* obj2
= 0 ;
9072 (char *) "self",(char *) "from",(char *) "to", NULL
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9078 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9080 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 (arg1
)->RefreshLines(arg2
,arg3
);
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 Py_INCREF(Py_None
); resultobj
= Py_None
;
9096 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9102 PyObject
* obj0
= 0 ;
9103 PyObject
* obj1
= 0 ;
9104 PyObject
* obj2
= 0 ;
9106 (char *) "self",(char *) "x",(char *) "y", NULL
9109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9112 arg2
= (int) SWIG_AsInt(obj1
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9114 arg3
= (int) SWIG_AsInt(obj2
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9123 resultobj
= SWIG_FromInt((int)result
);
9130 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9131 PyObject
*resultobj
;
9132 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9136 PyObject
* obj0
= 0 ;
9137 PyObject
* obj1
= 0 ;
9139 (char *) "self",(char *) "pt", NULL
9142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9147 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9156 resultobj
= SWIG_FromInt((int)result
);
9163 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
*resultobj
;
9165 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9166 PyObject
* obj0
= 0 ;
9168 (char *) "self", NULL
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 (arg1
)->RefreshAll();
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 Py_INCREF(Py_None
); resultobj
= Py_None
;
9188 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
;
9190 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9192 PyObject
* obj0
= 0 ;
9194 (char *) "self", NULL
9197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9207 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9214 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9215 PyObject
*resultobj
;
9216 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9218 PyObject
* obj0
= 0 ;
9220 (char *) "self", NULL
9223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9230 wxPyEndAllowThreads(__tstate
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9233 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9240 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9244 PyObject
* obj0
= 0 ;
9246 (char *) "self", NULL
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9259 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9266 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
;
9268 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9271 PyObject
* obj0
= 0 ;
9272 PyObject
* obj1
= 0 ;
9274 (char *) "self",(char *) "line", NULL
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9280 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9298 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9301 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9303 return Py_BuildValue((char *)"");
9305 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9306 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9311 static PyObject
*_wrap_VListBoxNameStr_get() {
9316 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9318 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9325 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
*resultobj
;
9327 wxWindow
*arg1
= (wxWindow
*) 0 ;
9328 int arg2
= (int) wxID_ANY
;
9329 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9330 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9331 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9332 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9333 long arg5
= (long) 0 ;
9334 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9335 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9336 wxPyVListBox
*result
;
9339 bool temp6
= False
;
9340 PyObject
* obj0
= 0 ;
9341 PyObject
* obj1
= 0 ;
9342 PyObject
* obj2
= 0 ;
9343 PyObject
* obj3
= 0 ;
9344 PyObject
* obj4
= 0 ;
9345 PyObject
* obj5
= 0 ;
9347 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9354 arg2
= (int) SWIG_AsInt(obj1
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9360 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9366 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9370 arg5
= (long) SWIG_AsLong(obj4
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9375 arg6
= wxString_in_helper(obj5
);
9376 if (arg6
== NULL
) SWIG_fail
;
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9402 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
;
9404 wxPyVListBox
*result
;
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 result
= (wxPyVListBox
*)new wxPyVListBox();
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9424 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
;
9426 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9427 PyObject
*arg2
= (PyObject
*) 0 ;
9428 PyObject
*arg3
= (PyObject
*) 0 ;
9429 PyObject
* obj0
= 0 ;
9430 PyObject
* obj1
= 0 ;
9431 PyObject
* obj2
= 0 ;
9433 (char *) "self",(char *) "self",(char *) "_class", NULL
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9448 Py_INCREF(Py_None
); resultobj
= Py_None
;
9455 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9458 wxWindow
*arg2
= (wxWindow
*) 0 ;
9459 int arg3
= (int) wxID_ANY
;
9460 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9461 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9462 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9463 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9464 long arg6
= (long) 0 ;
9465 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9466 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9470 bool temp7
= False
;
9471 PyObject
* obj0
= 0 ;
9472 PyObject
* obj1
= 0 ;
9473 PyObject
* obj2
= 0 ;
9474 PyObject
* obj3
= 0 ;
9475 PyObject
* obj4
= 0 ;
9476 PyObject
* obj5
= 0 ;
9477 PyObject
* obj6
= 0 ;
9479 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9488 arg3
= (int) SWIG_AsInt(obj2
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9494 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9500 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9504 arg6
= (long) SWIG_AsLong(obj5
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9509 arg7
= wxString_in_helper(obj6
);
9510 if (arg7
== NULL
) SWIG_fail
;
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9538 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
;
9540 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9542 PyObject
* obj0
= 0 ;
9544 (char *) "self", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9557 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9564 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
;
9566 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9568 PyObject
* obj0
= 0 ;
9570 (char *) "self", NULL
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9592 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
;
9594 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9596 PyObject
* obj0
= 0 ;
9598 (char *) "self", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_FromInt((int)result
);
9618 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9620 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9623 PyObject
* obj0
= 0 ;
9624 PyObject
* obj1
= 0 ;
9626 (char *) "self",(char *) "item", NULL
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9632 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9650 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9655 PyObject
* obj0
= 0 ;
9656 PyObject
* obj1
= 0 ;
9658 (char *) "self",(char *) "item", NULL
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9664 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9682 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
*resultobj
;
9684 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9686 PyObject
* obj0
= 0 ;
9688 (char *) "self", NULL
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9701 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9708 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
*resultobj
;
9710 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9711 unsigned long *arg2
= 0 ;
9713 PyObject
* obj0
= 0 ;
9714 PyObject
* obj1
= 0 ;
9716 (char *) "self",(char *) "cookie", NULL
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9723 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9726 PyErr_SetString(PyExc_TypeError
,"null reference");
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 resultobj
= SWIG_FromInt((int)result
);
9743 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
*resultobj
;
9745 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9746 unsigned long *arg2
= 0 ;
9748 PyObject
* obj0
= 0 ;
9749 PyObject
* obj1
= 0 ;
9751 (char *) "self",(char *) "cookie", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9761 PyErr_SetString(PyExc_TypeError
,"null reference");
9765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9766 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9771 resultobj
= SWIG_FromInt((int)result
);
9778 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
;
9780 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9782 PyObject
* obj0
= 0 ;
9784 (char *) "self", NULL
9787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9798 wxPoint
* resultptr
;
9799 resultptr
= new wxPoint((wxPoint
&) result
);
9800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9808 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9809 PyObject
*resultobj
;
9810 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9812 PyObject
* obj0
= 0 ;
9814 (char *) "self", NULL
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9824 result
= (wxColour
*) &_result_ref
;
9827 wxPyEndAllowThreads(__tstate
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9837 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
*resultobj
;
9839 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9841 PyObject
* obj0
= 0 ;
9842 PyObject
* obj1
= 0 ;
9844 (char *) "self",(char *) "count", NULL
9847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9850 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 (arg1
)->SetItemCount(arg2
);
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9859 Py_INCREF(Py_None
); resultobj
= Py_None
;
9866 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
;
9868 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9869 PyObject
* obj0
= 0 ;
9871 (char *) "self", NULL
9874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 wxPyEndAllowThreads(__tstate
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9884 Py_INCREF(Py_None
); resultobj
= Py_None
;
9891 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
*resultobj
;
9893 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9895 PyObject
* obj0
= 0 ;
9896 PyObject
* obj1
= 0 ;
9898 (char *) "self",(char *) "selection", NULL
9901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9904 arg2
= (int) SWIG_AsInt(obj1
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9908 (arg1
)->SetSelection(arg2
);
9910 wxPyEndAllowThreads(__tstate
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9913 Py_INCREF(Py_None
); resultobj
= Py_None
;
9920 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9921 PyObject
*resultobj
;
9922 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9924 bool arg3
= (bool) True
;
9926 PyObject
* obj0
= 0 ;
9927 PyObject
* obj1
= 0 ;
9928 PyObject
* obj2
= 0 ;
9930 (char *) "self",(char *) "item",(char *) "select", NULL
9933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9936 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9939 arg3
= (bool) SWIG_AsBool(obj2
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9958 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
;
9960 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9964 PyObject
* obj0
= 0 ;
9965 PyObject
* obj1
= 0 ;
9966 PyObject
* obj2
= 0 ;
9968 (char *) "self",(char *) "from",(char *) "to", NULL
9971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9974 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9976 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9994 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
;
9996 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9998 PyObject
* obj0
= 0 ;
9999 PyObject
* obj1
= 0 ;
10000 char *kwnames
[] = {
10001 (char *) "self",(char *) "item", NULL
10004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10007 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 (arg1
)->Toggle(arg2
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 Py_INCREF(Py_None
); resultobj
= Py_None
;
10023 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
*resultobj
;
10025 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10027 PyObject
* obj0
= 0 ;
10028 char *kwnames
[] = {
10029 (char *) "self", NULL
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 result
= (bool)(arg1
)->SelectAll();
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10051 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10052 PyObject
*resultobj
;
10053 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10055 PyObject
* obj0
= 0 ;
10056 char *kwnames
[] = {
10057 (char *) "self", NULL
10060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 result
= (bool)(arg1
)->DeselectAll();
10067 wxPyEndAllowThreads(__tstate
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10079 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
;
10081 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10082 wxPoint
*arg2
= 0 ;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 char *kwnames
[] = {
10087 (char *) "self",(char *) "pt", NULL
10090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10095 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 Py_INCREF(Py_None
); resultobj
= Py_None
;
10111 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
;
10113 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10116 PyObject
* obj0
= 0 ;
10117 PyObject
* obj1
= 0 ;
10118 PyObject
* obj2
= 0 ;
10119 char *kwnames
[] = {
10120 (char *) "self",(char *) "x",(char *) "y", NULL
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10126 arg2
= (int) SWIG_AsInt(obj1
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10128 arg3
= (int) SWIG_AsInt(obj2
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 (arg1
)->SetMargins(arg2
,arg3
);
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 Py_INCREF(Py_None
); resultobj
= Py_None
;
10144 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
*resultobj
;
10146 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10147 wxColour
*arg2
= 0 ;
10149 PyObject
* obj0
= 0 ;
10150 PyObject
* obj1
= 0 ;
10151 char *kwnames
[] = {
10152 (char *) "self",(char *) "col", NULL
10155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10160 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10164 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10166 wxPyEndAllowThreads(__tstate
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10169 Py_INCREF(Py_None
); resultobj
= Py_None
;
10176 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10179 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10181 return Py_BuildValue((char *)"");
10183 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
;
10185 wxWindow
*arg1
= (wxWindow
*) 0 ;
10186 int arg2
= (int) wxID_ANY
;
10187 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10188 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10189 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10190 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10191 long arg5
= (long) 0 ;
10192 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10193 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10194 wxPyHtmlListBox
*result
;
10197 bool temp6
= False
;
10198 PyObject
* obj0
= 0 ;
10199 PyObject
* obj1
= 0 ;
10200 PyObject
* obj2
= 0 ;
10201 PyObject
* obj3
= 0 ;
10202 PyObject
* obj4
= 0 ;
10203 PyObject
* obj5
= 0 ;
10204 char *kwnames
[] = {
10205 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10212 arg2
= (int) SWIG_AsInt(obj1
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10218 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10224 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10228 arg5
= (long) SWIG_AsLong(obj4
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10233 arg6
= wxString_in_helper(obj5
);
10234 if (arg6
== NULL
) SWIG_fail
;
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10242 wxPyEndAllowThreads(__tstate
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10260 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
*resultobj
;
10262 wxPyHtmlListBox
*result
;
10263 char *kwnames
[] = {
10267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10282 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
;
10284 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10285 PyObject
*arg2
= (PyObject
*) 0 ;
10286 PyObject
*arg3
= (PyObject
*) 0 ;
10287 PyObject
* obj0
= 0 ;
10288 PyObject
* obj1
= 0 ;
10289 PyObject
* obj2
= 0 ;
10290 char *kwnames
[] = {
10291 (char *) "self",(char *) "self",(char *) "_class", NULL
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10306 Py_INCREF(Py_None
); resultobj
= Py_None
;
10313 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
*resultobj
;
10315 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10316 wxWindow
*arg2
= (wxWindow
*) 0 ;
10317 int arg3
= (int) wxID_ANY
;
10318 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10319 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10320 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10321 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10322 long arg6
= (long) 0 ;
10323 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10324 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10328 bool temp7
= False
;
10329 PyObject
* obj0
= 0 ;
10330 PyObject
* obj1
= 0 ;
10331 PyObject
* obj2
= 0 ;
10332 PyObject
* obj3
= 0 ;
10333 PyObject
* obj4
= 0 ;
10334 PyObject
* obj5
= 0 ;
10335 PyObject
* obj6
= 0 ;
10336 char *kwnames
[] = {
10337 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10346 arg3
= (int) SWIG_AsInt(obj2
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10352 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10358 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10362 arg6
= (long) SWIG_AsLong(obj5
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10367 arg7
= wxString_in_helper(obj6
);
10368 if (arg7
== NULL
) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10396 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
;
10398 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10399 PyObject
* obj0
= 0 ;
10400 char *kwnames
[] = {
10401 (char *) "self", NULL
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 (arg1
)->RefreshAll();
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10414 Py_INCREF(Py_None
); resultobj
= Py_None
;
10421 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
;
10423 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10425 PyObject
* obj0
= 0 ;
10426 PyObject
* obj1
= 0 ;
10427 char *kwnames
[] = {
10428 (char *) "self",(char *) "count", NULL
10431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10434 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 (arg1
)->SetItemCount(arg2
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 Py_INCREF(Py_None
); resultobj
= Py_None
;
10450 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10453 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10455 return Py_BuildValue((char *)"");
10457 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
;
10459 wxTaskBarIcon
*result
;
10460 char *kwnames
[] = {
10464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10479 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10482 PyObject
* obj0
= 0 ;
10483 char *kwnames
[] = {
10484 (char *) "self", NULL
10487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) SWIG_fail
;
10497 Py_INCREF(Py_None
); resultobj
= Py_None
;
10504 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
*resultobj
;
10506 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10508 PyObject
* obj0
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10532 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10533 PyObject
*resultobj
;
10534 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10536 PyObject
* obj0
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "self", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10560 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
*resultobj
;
10562 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10564 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10565 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10567 bool temp3
= False
;
10568 PyObject
* obj0
= 0 ;
10569 PyObject
* obj1
= 0 ;
10570 PyObject
* obj2
= 0 ;
10571 char *kwnames
[] = {
10572 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
10579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10581 if (arg2
== NULL
) {
10582 PyErr_SetString(PyExc_TypeError
,"null reference");
10587 arg3
= wxString_in_helper(obj2
);
10588 if (arg3
== NULL
) SWIG_fail
;
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10616 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10617 PyObject
*resultobj
;
10618 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10620 PyObject
* obj0
= 0 ;
10621 char *kwnames
[] = {
10622 (char *) "self", NULL
10625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 result
= (bool)(arg1
)->RemoveIcon();
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10644 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10645 PyObject
*resultobj
;
10646 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10647 wxMenu
*arg2
= (wxMenu
*) 0 ;
10649 PyObject
* obj0
= 0 ;
10650 PyObject
* obj1
= 0 ;
10651 char *kwnames
[] = {
10652 (char *) "self",(char *) "menu", NULL
10655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
10656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
10659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (bool)(arg1
)->PopupMenu(arg2
);
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10676 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10679 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10681 return Py_BuildValue((char *)"");
10683 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
;
10686 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10687 wxTaskBarIconEvent
*result
;
10688 PyObject
* obj0
= 0 ;
10689 PyObject
* obj1
= 0 ;
10690 char *kwnames
[] = {
10691 (char *) "evtType",(char *) "tbIcon", NULL
10694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10695 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10713 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10716 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10718 return Py_BuildValue((char *)"");
10720 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10721 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10726 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10731 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10733 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10740 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10741 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10746 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10751 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10753 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10760 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10761 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10766 static PyObject
*_wrap_DirDialogNameStr_get() {
10771 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10773 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10780 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10781 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10786 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10791 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10793 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10800 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
10801 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10806 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10811 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10813 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10820 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
10821 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10826 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10831 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10833 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10840 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
*resultobj
;
10842 wxColourData
*result
;
10843 char *kwnames
[] = {
10847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10850 result
= (wxColourData
*)new wxColourData();
10852 wxPyEndAllowThreads(__tstate
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
10862 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
*resultobj
;
10864 wxColourData
*arg1
= (wxColourData
*) 0 ;
10865 PyObject
* obj0
= 0 ;
10866 char *kwnames
[] = {
10867 (char *) "self", NULL
10870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 Py_INCREF(Py_None
); resultobj
= Py_None
;
10887 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
;
10889 wxColourData
*arg1
= (wxColourData
*) 0 ;
10891 PyObject
* obj0
= 0 ;
10892 char *kwnames
[] = {
10893 (char *) "self", NULL
10896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 result
= (bool)(arg1
)->GetChooseFull();
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10915 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10916 PyObject
*resultobj
;
10917 wxColourData
*arg1
= (wxColourData
*) 0 ;
10919 PyObject
* obj0
= 0 ;
10920 char *kwnames
[] = {
10921 (char *) "self", NULL
10924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
10925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 result
= (arg1
)->GetColour();
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10935 wxColour
* resultptr
;
10936 resultptr
= new wxColour((wxColour
&) result
);
10937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10945 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
*resultobj
;
10947 wxColourData
*arg1
= (wxColourData
*) 0 ;
10950 PyObject
* obj0
= 0 ;
10951 PyObject
* obj1
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "self",(char *) "i", NULL
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10959 arg2
= (int) SWIG_AsInt(obj1
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 result
= (arg1
)->GetCustomColour(arg2
);
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10969 wxColour
* resultptr
;
10970 resultptr
= new wxColour((wxColour
&) result
);
10971 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10979 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
;
10981 wxColourData
*arg1
= (wxColourData
*) 0 ;
10983 PyObject
* obj0
= 0 ;
10984 PyObject
* obj1
= 0 ;
10985 char *kwnames
[] = {
10986 (char *) "self",(char *) "flag", NULL
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
10990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10992 arg2
= (int) SWIG_AsInt(obj1
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 (arg1
)->SetChooseFull(arg2
);
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11001 Py_INCREF(Py_None
); resultobj
= Py_None
;
11008 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11009 PyObject
*resultobj
;
11010 wxColourData
*arg1
= (wxColourData
*) 0 ;
11011 wxColour
*arg2
= 0 ;
11013 PyObject
* obj0
= 0 ;
11014 PyObject
* obj1
= 0 ;
11015 char *kwnames
[] = {
11016 (char *) "self",(char *) "colour", NULL
11019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11024 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11028 (arg1
)->SetColour((wxColour
const &)*arg2
);
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11033 Py_INCREF(Py_None
); resultobj
= Py_None
;
11040 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxColourData
*arg1
= (wxColourData
*) 0 ;
11044 wxColour
*arg3
= 0 ;
11046 PyObject
* obj0
= 0 ;
11047 PyObject
* obj1
= 0 ;
11048 PyObject
* obj2
= 0 ;
11049 char *kwnames
[] = {
11050 (char *) "self",(char *) "i",(char *) "colour", NULL
11053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11056 arg2
= (int) SWIG_AsInt(obj1
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11060 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11064 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11069 Py_INCREF(Py_None
); resultobj
= Py_None
;
11076 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11079 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11081 return Py_BuildValue((char *)"");
11083 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
*resultobj
;
11085 wxWindow
*arg1
= (wxWindow
*) 0 ;
11086 wxColourData
*arg2
= (wxColourData
*) NULL
;
11087 wxColourDialog
*result
;
11088 PyObject
* obj0
= 0 ;
11089 PyObject
* obj1
= 0 ;
11090 char *kwnames
[] = {
11091 (char *) "parent",(char *) "data", NULL
11094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11105 wxPyEndAllowThreads(__tstate
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11115 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
;
11117 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11118 wxColourData
*result
;
11119 PyObject
* obj0
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "self", NULL
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11131 result
= (wxColourData
*) &_result_ref
;
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11144 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11147 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11149 return Py_BuildValue((char *)"");
11151 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11152 PyObject
*resultobj
;
11153 wxWindow
*arg1
= (wxWindow
*) 0 ;
11154 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11155 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11156 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11157 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11158 long arg4
= (long) 0 ;
11159 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11160 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11161 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11162 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11163 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11164 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11165 wxDirDialog
*result
;
11166 bool temp2
= False
;
11167 bool temp3
= False
;
11170 bool temp7
= False
;
11171 PyObject
* obj0
= 0 ;
11172 PyObject
* obj1
= 0 ;
11173 PyObject
* obj2
= 0 ;
11174 PyObject
* obj3
= 0 ;
11175 PyObject
* obj4
= 0 ;
11176 PyObject
* obj5
= 0 ;
11177 PyObject
* obj6
= 0 ;
11178 char *kwnames
[] = {
11179 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11187 arg2
= wxString_in_helper(obj1
);
11188 if (arg2
== NULL
) SWIG_fail
;
11194 arg3
= wxString_in_helper(obj2
);
11195 if (arg3
== NULL
) SWIG_fail
;
11200 arg4
= (long) SWIG_AsLong(obj3
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11206 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11212 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11217 arg7
= wxString_in_helper(obj6
);
11218 if (arg7
== NULL
) SWIG_fail
;
11223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11224 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11226 wxPyEndAllowThreads(__tstate
);
11227 if (PyErr_Occurred()) SWIG_fail
;
11229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11260 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11261 PyObject
*resultobj
;
11262 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11264 PyObject
* obj0
= 0 ;
11265 char *kwnames
[] = {
11266 (char *) "self", NULL
11269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11274 result
= (arg1
)->GetPath();
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11292 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11293 PyObject
*resultobj
;
11294 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11296 PyObject
* obj0
= 0 ;
11297 char *kwnames
[] = {
11298 (char *) "self", NULL
11301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 result
= (arg1
)->GetMessage();
11308 wxPyEndAllowThreads(__tstate
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11324 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
;
11326 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11328 PyObject
* obj0
= 0 ;
11329 char *kwnames
[] = {
11330 (char *) "self", NULL
11333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (long)(arg1
)->GetStyle();
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11343 resultobj
= SWIG_FromLong((long)result
);
11350 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
;
11352 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11353 wxString
*arg2
= 0 ;
11354 bool temp2
= False
;
11355 PyObject
* obj0
= 0 ;
11356 PyObject
* obj1
= 0 ;
11357 char *kwnames
[] = {
11358 (char *) "self",(char *) "message", NULL
11361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11365 arg2
= wxString_in_helper(obj1
);
11366 if (arg2
== NULL
) SWIG_fail
;
11370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11371 (arg1
)->SetMessage((wxString
const &)*arg2
);
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11376 Py_INCREF(Py_None
); resultobj
= Py_None
;
11391 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11392 PyObject
*resultobj
;
11393 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11394 wxString
*arg2
= 0 ;
11395 bool temp2
= False
;
11396 PyObject
* obj0
= 0 ;
11397 PyObject
* obj1
= 0 ;
11398 char *kwnames
[] = {
11399 (char *) "self",(char *) "path", NULL
11402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11406 arg2
= wxString_in_helper(obj1
);
11407 if (arg2
== NULL
) SWIG_fail
;
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11412 (arg1
)->SetPath((wxString
const &)*arg2
);
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11417 Py_INCREF(Py_None
); resultobj
= Py_None
;
11432 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11435 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11437 return Py_BuildValue((char *)"");
11439 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
*resultobj
;
11441 wxWindow
*arg1
= (wxWindow
*) 0 ;
11442 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11443 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11444 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11445 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11446 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11447 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11448 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11449 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11450 long arg6
= (long) 0 ;
11451 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11452 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11453 wxFileDialog
*result
;
11454 bool temp2
= False
;
11455 bool temp3
= False
;
11456 bool temp4
= False
;
11457 bool temp5
= False
;
11459 PyObject
* obj0
= 0 ;
11460 PyObject
* obj1
= 0 ;
11461 PyObject
* obj2
= 0 ;
11462 PyObject
* obj3
= 0 ;
11463 PyObject
* obj4
= 0 ;
11464 PyObject
* obj5
= 0 ;
11465 PyObject
* obj6
= 0 ;
11466 char *kwnames
[] = {
11467 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11475 arg2
= wxString_in_helper(obj1
);
11476 if (arg2
== NULL
) SWIG_fail
;
11482 arg3
= wxString_in_helper(obj2
);
11483 if (arg3
== NULL
) SWIG_fail
;
11489 arg4
= wxString_in_helper(obj3
);
11490 if (arg4
== NULL
) SWIG_fail
;
11496 arg5
= wxString_in_helper(obj4
);
11497 if (arg5
== NULL
) SWIG_fail
;
11502 arg6
= (long) SWIG_AsLong(obj5
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11508 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11557 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11558 PyObject
*resultobj
;
11559 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11560 wxString
*arg2
= 0 ;
11561 bool temp2
= False
;
11562 PyObject
* obj0
= 0 ;
11563 PyObject
* obj1
= 0 ;
11564 char *kwnames
[] = {
11565 (char *) "self",(char *) "message", NULL
11568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11572 arg2
= wxString_in_helper(obj1
);
11573 if (arg2
== NULL
) SWIG_fail
;
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 (arg1
)->SetMessage((wxString
const &)*arg2
);
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11583 Py_INCREF(Py_None
); resultobj
= Py_None
;
11598 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
;
11600 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11601 wxString
*arg2
= 0 ;
11602 bool temp2
= False
;
11603 PyObject
* obj0
= 0 ;
11604 PyObject
* obj1
= 0 ;
11605 char *kwnames
[] = {
11606 (char *) "self",(char *) "path", NULL
11609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11613 arg2
= wxString_in_helper(obj1
);
11614 if (arg2
== NULL
) SWIG_fail
;
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 (arg1
)->SetPath((wxString
const &)*arg2
);
11621 wxPyEndAllowThreads(__tstate
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11624 Py_INCREF(Py_None
); resultobj
= Py_None
;
11639 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
*resultobj
;
11641 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11642 wxString
*arg2
= 0 ;
11643 bool temp2
= False
;
11644 PyObject
* obj0
= 0 ;
11645 PyObject
* obj1
= 0 ;
11646 char *kwnames
[] = {
11647 (char *) "self",(char *) "dir", NULL
11650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11654 arg2
= wxString_in_helper(obj1
);
11655 if (arg2
== NULL
) SWIG_fail
;
11659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11660 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11662 wxPyEndAllowThreads(__tstate
);
11663 if (PyErr_Occurred()) SWIG_fail
;
11665 Py_INCREF(Py_None
); resultobj
= Py_None
;
11680 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
;
11682 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11683 wxString
*arg2
= 0 ;
11684 bool temp2
= False
;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 char *kwnames
[] = {
11688 (char *) "self",(char *) "name", NULL
11691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11695 arg2
= wxString_in_helper(obj1
);
11696 if (arg2
== NULL
) SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 (arg1
)->SetFilename((wxString
const &)*arg2
);
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 Py_INCREF(Py_None
); resultobj
= Py_None
;
11721 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11724 wxString
*arg2
= 0 ;
11725 bool temp2
= False
;
11726 PyObject
* obj0
= 0 ;
11727 PyObject
* obj1
= 0 ;
11728 char *kwnames
[] = {
11729 (char *) "self",(char *) "wildCard", NULL
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11736 arg2
= wxString_in_helper(obj1
);
11737 if (arg2
== NULL
) SWIG_fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 Py_INCREF(Py_None
); resultobj
= Py_None
;
11762 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11763 PyObject
*resultobj
;
11764 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11766 PyObject
* obj0
= 0 ;
11767 PyObject
* obj1
= 0 ;
11768 char *kwnames
[] = {
11769 (char *) "self",(char *) "style", NULL
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11775 arg2
= (long) SWIG_AsLong(obj1
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 (arg1
)->SetStyle(arg2
);
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 Py_INCREF(Py_None
); resultobj
= Py_None
;
11791 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
;
11793 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11795 PyObject
* obj0
= 0 ;
11796 PyObject
* obj1
= 0 ;
11797 char *kwnames
[] = {
11798 (char *) "self",(char *) "filterIndex", NULL
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11804 arg2
= (int) SWIG_AsInt(obj1
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 (arg1
)->SetFilterIndex(arg2
);
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11813 Py_INCREF(Py_None
); resultobj
= Py_None
;
11820 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11821 PyObject
*resultobj
;
11822 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11824 PyObject
* obj0
= 0 ;
11825 char *kwnames
[] = {
11826 (char *) "self", NULL
11829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11852 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11853 PyObject
*resultobj
;
11854 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11856 PyObject
* obj0
= 0 ;
11857 char *kwnames
[] = {
11858 (char *) "self", NULL
11861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11866 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11868 wxPyEndAllowThreads(__tstate
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11875 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11884 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11885 PyObject
*resultobj
;
11886 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11888 PyObject
* obj0
= 0 ;
11889 char *kwnames
[] = {
11890 (char *) "self", NULL
11893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11916 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11917 PyObject
*resultobj
;
11918 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11920 PyObject
* obj0
= 0 ;
11921 char *kwnames
[] = {
11922 (char *) "self", NULL
11925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
11926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11930 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
11932 wxPyEndAllowThreads(__tstate
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11948 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11949 PyObject
*resultobj
;
11950 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11952 PyObject
* obj0
= 0 ;
11953 char *kwnames
[] = {
11954 (char *) "self", NULL
11957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
11958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11980 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11981 PyObject
*resultobj
;
11982 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11984 PyObject
* obj0
= 0 ;
11985 char *kwnames
[] = {
11986 (char *) "self", NULL
11989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= SWIG_FromLong((long)result
);
12006 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
*resultobj
;
12008 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12010 PyObject
* obj0
= 0 ;
12011 char *kwnames
[] = {
12012 (char *) "self", NULL
12015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= SWIG_FromInt((int)result
);
12032 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12033 PyObject
*resultobj
;
12034 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12036 PyObject
* obj0
= 0 ;
12037 char *kwnames
[] = {
12038 (char *) "self", NULL
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= result
;
12058 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
;
12060 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12062 PyObject
* obj0
= 0 ;
12063 char *kwnames
[] = {
12064 (char *) "self", NULL
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12077 resultobj
= result
;
12084 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12087 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12089 return Py_BuildValue((char *)"");
12091 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
;
12093 wxWindow
*arg1
= (wxWindow
*) 0 ;
12094 wxString
*arg2
= 0 ;
12095 wxString
*arg3
= 0 ;
12096 int arg4
= (int) 0 ;
12097 wxString
*arg5
= (wxString
*) 0 ;
12098 long arg6
= (long) wxCHOICEDLG_STYLE
;
12099 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12100 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12101 wxMultiChoiceDialog
*result
;
12102 bool temp2
= False
;
12103 bool temp3
= False
;
12105 PyObject
* obj0
= 0 ;
12106 PyObject
* obj1
= 0 ;
12107 PyObject
* obj2
= 0 ;
12108 PyObject
* obj3
= 0 ;
12109 PyObject
* obj4
= 0 ;
12110 PyObject
* obj5
= 0 ;
12111 char *kwnames
[] = {
12112 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12119 arg2
= wxString_in_helper(obj1
);
12120 if (arg2
== NULL
) SWIG_fail
;
12124 arg3
= wxString_in_helper(obj2
);
12125 if (arg3
== NULL
) SWIG_fail
;
12130 arg4
= PyList_Size(obj3
);
12131 arg5
= wxString_LIST_helper(obj3
);
12132 if (arg5
== NULL
) SWIG_fail
;
12136 arg6
= (long) SWIG_AsLong(obj4
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12142 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12147 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12149 wxPyEndAllowThreads(__tstate
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12162 if (arg5
) delete [] arg5
;
12175 if (arg5
) delete [] arg5
;
12181 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12184 wxArrayInt
*arg2
= 0 ;
12185 bool temp2
= False
;
12186 PyObject
* obj0
= 0 ;
12187 PyObject
* obj1
= 0 ;
12188 char *kwnames
[] = {
12189 (char *) "self",(char *) "selections", NULL
12192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12196 if (! PySequence_Check(obj1
)) {
12197 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12200 arg2
= new wxArrayInt
;
12202 int i
, len
=PySequence_Length(obj1
);
12203 for (i
=0; i
<len
; i
++) {
12204 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12205 PyObject
* number
= PyNumber_Int(item
);
12206 arg2
->Add(PyInt_AS_LONG(number
));
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12218 Py_INCREF(Py_None
); resultobj
= Py_None
;
12220 if (temp2
) delete arg2
;
12225 if (temp2
) delete arg2
;
12231 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "self", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 resultobj
= result
;
12257 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12260 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12262 return Py_BuildValue((char *)"");
12264 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12265 PyObject
*resultobj
;
12266 wxWindow
*arg1
= (wxWindow
*) 0 ;
12267 wxString
*arg2
= 0 ;
12268 wxString
*arg3
= 0 ;
12270 wxString
*arg5
= (wxString
*) 0 ;
12271 long arg6
= (long) wxCHOICEDLG_STYLE
;
12272 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12273 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12274 wxSingleChoiceDialog
*result
;
12275 bool temp2
= False
;
12276 bool temp3
= False
;
12278 PyObject
* obj0
= 0 ;
12279 PyObject
* obj1
= 0 ;
12280 PyObject
* obj2
= 0 ;
12281 PyObject
* obj3
= 0 ;
12282 PyObject
* obj4
= 0 ;
12283 PyObject
* obj5
= 0 ;
12284 char *kwnames
[] = {
12285 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12292 arg2
= wxString_in_helper(obj1
);
12293 if (arg2
== NULL
) SWIG_fail
;
12297 arg3
= wxString_in_helper(obj2
);
12298 if (arg3
== NULL
) SWIG_fail
;
12302 arg4
= PyList_Size(obj3
);
12303 arg5
= wxString_LIST_helper(obj3
);
12304 if (arg5
== NULL
) SWIG_fail
;
12307 arg6
= (long) SWIG_AsLong(obj4
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12313 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12333 if (arg5
) delete [] arg5
;
12346 if (arg5
) delete [] arg5
;
12352 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12353 PyObject
*resultobj
;
12354 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12356 PyObject
* obj0
= 0 ;
12357 char *kwnames
[] = {
12358 (char *) "self", NULL
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= (int)(arg1
)->GetSelection();
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= SWIG_FromInt((int)result
);
12378 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
;
12380 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 char *kwnames
[] = {
12384 (char *) "self", NULL
12387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 result
= (arg1
)->GetStringSelection();
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12410 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12411 PyObject
*resultobj
;
12412 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12414 PyObject
* obj0
= 0 ;
12415 PyObject
* obj1
= 0 ;
12416 char *kwnames
[] = {
12417 (char *) "self",(char *) "sel", NULL
12420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12423 arg2
= (int) SWIG_AsInt(obj1
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 (arg1
)->SetSelection(arg2
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12432 Py_INCREF(Py_None
); resultobj
= Py_None
;
12439 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12442 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12444 return Py_BuildValue((char *)"");
12446 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12447 PyObject
*resultobj
;
12448 wxWindow
*arg1
= (wxWindow
*) 0 ;
12449 wxString
*arg2
= 0 ;
12450 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12451 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12452 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12453 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12454 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12455 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12456 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12457 wxTextEntryDialog
*result
;
12458 bool temp2
= False
;
12459 bool temp3
= False
;
12460 bool temp4
= False
;
12462 PyObject
* obj0
= 0 ;
12463 PyObject
* obj1
= 0 ;
12464 PyObject
* obj2
= 0 ;
12465 PyObject
* obj3
= 0 ;
12466 PyObject
* obj4
= 0 ;
12467 PyObject
* obj5
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12476 arg2
= wxString_in_helper(obj1
);
12477 if (arg2
== NULL
) SWIG_fail
;
12482 arg3
= wxString_in_helper(obj2
);
12483 if (arg3
== NULL
) SWIG_fail
;
12489 arg4
= wxString_in_helper(obj3
);
12490 if (arg4
== NULL
) SWIG_fail
;
12495 arg5
= (long) SWIG_AsLong(obj4
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12501 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12542 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
;
12544 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12546 PyObject
* obj0
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "self", NULL
12551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 result
= (arg1
)->GetValue();
12558 wxPyEndAllowThreads(__tstate
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12574 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12575 PyObject
*resultobj
;
12576 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12577 wxString
*arg2
= 0 ;
12578 bool temp2
= False
;
12579 PyObject
* obj0
= 0 ;
12580 PyObject
* obj1
= 0 ;
12581 char *kwnames
[] = {
12582 (char *) "self",(char *) "value", NULL
12585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12589 arg2
= wxString_in_helper(obj1
);
12590 if (arg2
== NULL
) SWIG_fail
;
12594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12595 (arg1
)->SetValue((wxString
const &)*arg2
);
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 Py_INCREF(Py_None
); resultobj
= Py_None
;
12615 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12618 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12620 return Py_BuildValue((char *)"");
12622 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
;
12624 wxFontData
*result
;
12625 char *kwnames
[] = {
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 result
= (wxFontData
*)new wxFontData();
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12644 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
;
12646 wxFontData
*arg1
= (wxFontData
*) 0 ;
12647 PyObject
* obj0
= 0 ;
12648 char *kwnames
[] = {
12649 (char *) "self", NULL
12652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 Py_INCREF(Py_None
); resultobj
= Py_None
;
12669 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
;
12671 wxFontData
*arg1
= (wxFontData
*) 0 ;
12673 PyObject
* obj0
= 0 ;
12674 PyObject
* obj1
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "self",(char *) "enable", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12682 arg2
= (bool) SWIG_AsBool(obj1
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 (arg1
)->EnableEffects(arg2
);
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12691 Py_INCREF(Py_None
); resultobj
= Py_None
;
12698 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
;
12700 wxFontData
*arg1
= (wxFontData
*) 0 ;
12702 PyObject
* obj0
= 0 ;
12703 char *kwnames
[] = {
12704 (char *) "self", NULL
12707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 result
= (bool)(arg1
)->GetAllowSymbols();
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12726 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxFontData
*arg1
= (wxFontData
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 char *kwnames
[] = {
12732 (char *) "self", NULL
12735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 result
= (arg1
)->GetColour();
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12746 wxColour
* resultptr
;
12747 resultptr
= new wxColour((wxColour
&) result
);
12748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12756 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
;
12758 wxFontData
*arg1
= (wxFontData
*) 0 ;
12760 PyObject
* obj0
= 0 ;
12761 char *kwnames
[] = {
12762 (char *) "self", NULL
12765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 result
= (arg1
)->GetChosenFont();
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12776 wxFont
* resultptr
;
12777 resultptr
= new wxFont((wxFont
&) result
);
12778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12786 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12787 PyObject
*resultobj
;
12788 wxFontData
*arg1
= (wxFontData
*) 0 ;
12790 PyObject
* obj0
= 0 ;
12791 char *kwnames
[] = {
12792 (char *) "self", NULL
12795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 result
= (bool)(arg1
)->GetEnableEffects();
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12814 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12815 PyObject
*resultobj
;
12816 wxFontData
*arg1
= (wxFontData
*) 0 ;
12818 PyObject
* obj0
= 0 ;
12819 char *kwnames
[] = {
12820 (char *) "self", NULL
12823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 result
= (arg1
)->GetInitialFont();
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12834 wxFont
* resultptr
;
12835 resultptr
= new wxFont((wxFont
&) result
);
12836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12844 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12845 PyObject
*resultobj
;
12846 wxFontData
*arg1
= (wxFontData
*) 0 ;
12848 PyObject
* obj0
= 0 ;
12849 char *kwnames
[] = {
12850 (char *) "self", NULL
12853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12858 result
= (bool)(arg1
)->GetShowHelp();
12860 wxPyEndAllowThreads(__tstate
);
12861 if (PyErr_Occurred()) SWIG_fail
;
12864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12872 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12873 PyObject
*resultobj
;
12874 wxFontData
*arg1
= (wxFontData
*) 0 ;
12876 PyObject
* obj0
= 0 ;
12877 PyObject
* obj1
= 0 ;
12878 char *kwnames
[] = {
12879 (char *) "self",(char *) "allowSymbols", NULL
12882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12885 arg2
= (bool) SWIG_AsBool(obj1
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 (arg1
)->SetAllowSymbols(arg2
);
12891 wxPyEndAllowThreads(__tstate
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12894 Py_INCREF(Py_None
); resultobj
= Py_None
;
12901 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
;
12903 wxFontData
*arg1
= (wxFontData
*) 0 ;
12905 PyObject
* obj0
= 0 ;
12906 PyObject
* obj1
= 0 ;
12907 char *kwnames
[] = {
12908 (char *) "self",(char *) "font", NULL
12911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12917 if (arg2
== NULL
) {
12918 PyErr_SetString(PyExc_TypeError
,"null reference");
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 Py_INCREF(Py_None
); resultobj
= Py_None
;
12935 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
;
12937 wxFontData
*arg1
= (wxFontData
*) 0 ;
12938 wxColour
*arg2
= 0 ;
12940 PyObject
* obj0
= 0 ;
12941 PyObject
* obj1
= 0 ;
12942 char *kwnames
[] = {
12943 (char *) "self",(char *) "colour", NULL
12946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12951 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 (arg1
)->SetColour((wxColour
const &)*arg2
);
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12960 Py_INCREF(Py_None
); resultobj
= Py_None
;
12967 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
*resultobj
;
12969 wxFontData
*arg1
= (wxFontData
*) 0 ;
12971 PyObject
* obj0
= 0 ;
12972 PyObject
* obj1
= 0 ;
12973 char *kwnames
[] = {
12974 (char *) "self",(char *) "font", NULL
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12983 if (arg2
== NULL
) {
12984 PyErr_SetString(PyExc_TypeError
,"null reference");
12988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12994 Py_INCREF(Py_None
); resultobj
= Py_None
;
13001 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13002 PyObject
*resultobj
;
13003 wxFontData
*arg1
= (wxFontData
*) 0 ;
13006 PyObject
* obj0
= 0 ;
13007 PyObject
* obj1
= 0 ;
13008 PyObject
* obj2
= 0 ;
13009 char *kwnames
[] = {
13010 (char *) "self",(char *) "min",(char *) "max", NULL
13013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13016 arg2
= (int) SWIG_AsInt(obj1
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13018 arg3
= (int) SWIG_AsInt(obj2
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 (arg1
)->SetRange(arg2
,arg3
);
13024 wxPyEndAllowThreads(__tstate
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13027 Py_INCREF(Py_None
); resultobj
= Py_None
;
13034 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13035 PyObject
*resultobj
;
13036 wxFontData
*arg1
= (wxFontData
*) 0 ;
13038 PyObject
* obj0
= 0 ;
13039 PyObject
* obj1
= 0 ;
13040 char *kwnames
[] = {
13041 (char *) "self",(char *) "showHelp", NULL
13044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13047 arg2
= (bool) SWIG_AsBool(obj1
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 (arg1
)->SetShowHelp(arg2
);
13053 wxPyEndAllowThreads(__tstate
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13056 Py_INCREF(Py_None
); resultobj
= Py_None
;
13063 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13066 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13068 return Py_BuildValue((char *)"");
13070 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
;
13072 wxWindow
*arg1
= (wxWindow
*) 0 ;
13073 wxFontData
*arg2
= 0 ;
13074 wxFontDialog
*result
;
13075 PyObject
* obj0
= 0 ;
13076 PyObject
* obj1
= 0 ;
13077 char *kwnames
[] = {
13078 (char *) "parent",(char *) "data", NULL
13081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13084 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13085 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13087 if (arg2
== NULL
) {
13088 PyErr_SetString(PyExc_TypeError
,"null reference");
13092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13093 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13105 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13106 PyObject
*resultobj
;
13107 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13108 wxFontData
*result
;
13109 PyObject
* obj0
= 0 ;
13110 char *kwnames
[] = {
13111 (char *) "self", NULL
13114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13120 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13121 result
= (wxFontData
*) &_result_ref
;
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13134 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13137 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13139 return Py_BuildValue((char *)"");
13141 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxWindow
*arg1
= (wxWindow
*) 0 ;
13144 wxString
*arg2
= 0 ;
13145 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13146 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13147 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13148 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13149 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13150 wxMessageDialog
*result
;
13151 bool temp2
= False
;
13152 bool temp3
= False
;
13154 PyObject
* obj0
= 0 ;
13155 PyObject
* obj1
= 0 ;
13156 PyObject
* obj2
= 0 ;
13157 PyObject
* obj3
= 0 ;
13158 PyObject
* obj4
= 0 ;
13159 char *kwnames
[] = {
13160 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13167 arg2
= wxString_in_helper(obj1
);
13168 if (arg2
== NULL
) SWIG_fail
;
13173 arg3
= wxString_in_helper(obj2
);
13174 if (arg3
== NULL
) SWIG_fail
;
13179 arg4
= (long) SWIG_AsLong(obj3
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13185 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13192 wxPyEndAllowThreads(__tstate
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13218 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13221 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13223 return Py_BuildValue((char *)"");
13225 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
*resultobj
;
13227 wxString
*arg1
= 0 ;
13228 wxString
*arg2
= 0 ;
13229 int arg3
= (int) 100 ;
13230 wxWindow
*arg4
= (wxWindow
*) NULL
;
13231 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13232 wxProgressDialog
*result
;
13233 bool temp1
= False
;
13234 bool temp2
= False
;
13235 PyObject
* obj0
= 0 ;
13236 PyObject
* obj1
= 0 ;
13237 PyObject
* obj2
= 0 ;
13238 PyObject
* obj3
= 0 ;
13239 PyObject
* obj4
= 0 ;
13240 char *kwnames
[] = {
13241 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13246 arg1
= wxString_in_helper(obj0
);
13247 if (arg1
== NULL
) SWIG_fail
;
13251 arg2
= wxString_in_helper(obj1
);
13252 if (arg2
== NULL
) SWIG_fail
;
13256 arg3
= (int) SWIG_AsInt(obj2
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13260 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13264 arg5
= (int) SWIG_AsInt(obj4
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13297 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13298 PyObject
*resultobj
;
13299 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13301 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13302 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13304 bool temp3
= False
;
13305 PyObject
* obj0
= 0 ;
13306 PyObject
* obj1
= 0 ;
13307 PyObject
* obj2
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13315 arg2
= (int) SWIG_AsInt(obj1
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13319 arg3
= wxString_in_helper(obj2
);
13320 if (arg3
== NULL
) SWIG_fail
;
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13348 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13349 PyObject
*resultobj
;
13350 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13351 PyObject
* obj0
= 0 ;
13352 char *kwnames
[] = {
13353 (char *) "self", NULL
13356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 Py_INCREF(Py_None
); resultobj
= Py_None
;
13373 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13376 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13378 return Py_BuildValue((char *)"");
13380 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13381 PyObject
*resultobj
;
13382 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13383 int arg2
= (int) 0 ;
13384 wxFindDialogEvent
*result
;
13385 PyObject
* obj0
= 0 ;
13386 PyObject
* obj1
= 0 ;
13387 char *kwnames
[] = {
13388 (char *) "commandType",(char *) "id", NULL
13391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13393 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13397 arg2
= (int) SWIG_AsInt(obj1
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13402 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13414 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
;
13416 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13418 PyObject
* obj0
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 result
= (int)(arg1
)->GetFlags();
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 resultobj
= SWIG_FromInt((int)result
);
13440 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13444 PyObject
* obj0
= 0 ;
13445 char *kwnames
[] = {
13446 (char *) "self", NULL
13449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 wxString
const &_result_ref
= (arg1
)->GetFindString();
13456 result
= (wxString
*) &_result_ref
;
13459 wxPyEndAllowThreads(__tstate
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13464 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13466 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13475 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
*resultobj
;
13477 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13479 PyObject
* obj0
= 0 ;
13480 char *kwnames
[] = {
13481 (char *) "self", NULL
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13490 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13491 result
= (wxString
*) &_result_ref
;
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13499 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13501 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13510 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
*resultobj
;
13512 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13513 wxFindReplaceDialog
*result
;
13514 PyObject
* obj0
= 0 ;
13515 char *kwnames
[] = {
13516 (char *) "self", NULL
13519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13524 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13536 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
;
13538 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13540 PyObject
* obj0
= 0 ;
13541 PyObject
* obj1
= 0 ;
13542 char *kwnames
[] = {
13543 (char *) "self",(char *) "flags", NULL
13546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13549 arg2
= (int) SWIG_AsInt(obj1
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 (arg1
)->SetFlags(arg2
);
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 Py_INCREF(Py_None
); resultobj
= Py_None
;
13565 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
*resultobj
;
13567 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13568 wxString
*arg2
= 0 ;
13569 bool temp2
= False
;
13570 PyObject
* obj0
= 0 ;
13571 PyObject
* obj1
= 0 ;
13572 char *kwnames
[] = {
13573 (char *) "self",(char *) "str", NULL
13576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13580 arg2
= wxString_in_helper(obj1
);
13581 if (arg2
== NULL
) SWIG_fail
;
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 (arg1
)->SetFindString((wxString
const &)*arg2
);
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 Py_INCREF(Py_None
); resultobj
= Py_None
;
13606 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13607 PyObject
*resultobj
;
13608 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13609 wxString
*arg2
= 0 ;
13610 bool temp2
= False
;
13611 PyObject
* obj0
= 0 ;
13612 PyObject
* obj1
= 0 ;
13613 char *kwnames
[] = {
13614 (char *) "self",(char *) "str", NULL
13617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13621 arg2
= wxString_in_helper(obj1
);
13622 if (arg2
== NULL
) SWIG_fail
;
13626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13627 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13632 Py_INCREF(Py_None
); resultobj
= Py_None
;
13647 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13650 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13652 return Py_BuildValue((char *)"");
13654 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13655 PyObject
*resultobj
;
13656 int arg1
= (int) 0 ;
13657 wxFindReplaceData
*result
;
13658 PyObject
* obj0
= 0 ;
13659 char *kwnames
[] = {
13660 (char *) "flags", NULL
13663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13665 arg1
= (int) SWIG_AsInt(obj0
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13682 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
;
13684 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13685 PyObject
* obj0
= 0 ;
13686 char *kwnames
[] = {
13687 (char *) "self", NULL
13690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13700 Py_INCREF(Py_None
); resultobj
= Py_None
;
13707 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
;
13709 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13711 PyObject
* obj0
= 0 ;
13712 char *kwnames
[] = {
13713 (char *) "self", NULL
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 wxString
const &_result_ref
= (arg1
)->GetFindString();
13723 result
= (wxString
*) &_result_ref
;
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13731 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13733 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13742 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13743 PyObject
*resultobj
;
13744 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13746 PyObject
* obj0
= 0 ;
13747 char *kwnames
[] = {
13748 (char *) "self", NULL
13751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13757 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13758 result
= (wxString
*) &_result_ref
;
13761 wxPyEndAllowThreads(__tstate
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13766 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13768 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13777 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13778 PyObject
*resultobj
;
13779 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13781 PyObject
* obj0
= 0 ;
13782 char *kwnames
[] = {
13783 (char *) "self", NULL
13786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13791 result
= (int)(arg1
)->GetFlags();
13793 wxPyEndAllowThreads(__tstate
);
13794 if (PyErr_Occurred()) SWIG_fail
;
13796 resultobj
= SWIG_FromInt((int)result
);
13803 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13804 PyObject
*resultobj
;
13805 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13807 PyObject
* obj0
= 0 ;
13808 PyObject
* obj1
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "self",(char *) "flags", NULL
13813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13816 arg2
= (int) SWIG_AsInt(obj1
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 (arg1
)->SetFlags(arg2
);
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13825 Py_INCREF(Py_None
); resultobj
= Py_None
;
13832 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13833 PyObject
*resultobj
;
13834 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13835 wxString
*arg2
= 0 ;
13836 bool temp2
= False
;
13837 PyObject
* obj0
= 0 ;
13838 PyObject
* obj1
= 0 ;
13839 char *kwnames
[] = {
13840 (char *) "self",(char *) "str", NULL
13843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13847 arg2
= wxString_in_helper(obj1
);
13848 if (arg2
== NULL
) SWIG_fail
;
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 (arg1
)->SetFindString((wxString
const &)*arg2
);
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 Py_INCREF(Py_None
); resultobj
= Py_None
;
13873 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
;
13875 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13876 wxString
*arg2
= 0 ;
13877 bool temp2
= False
;
13878 PyObject
* obj0
= 0 ;
13879 PyObject
* obj1
= 0 ;
13880 char *kwnames
[] = {
13881 (char *) "self",(char *) "str", NULL
13884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13888 arg2
= wxString_in_helper(obj1
);
13889 if (arg2
== NULL
) SWIG_fail
;
13893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13894 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13896 wxPyEndAllowThreads(__tstate
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13899 Py_INCREF(Py_None
); resultobj
= Py_None
;
13914 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
13916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13917 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
13919 return Py_BuildValue((char *)"");
13921 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
;
13923 wxWindow
*arg1
= (wxWindow
*) 0 ;
13924 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13925 wxString
*arg3
= 0 ;
13926 int arg4
= (int) 0 ;
13927 wxFindReplaceDialog
*result
;
13928 bool temp3
= False
;
13929 PyObject
* obj0
= 0 ;
13930 PyObject
* obj1
= 0 ;
13931 PyObject
* obj2
= 0 ;
13932 PyObject
* obj3
= 0 ;
13933 char *kwnames
[] = {
13934 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13943 arg3
= wxString_in_helper(obj2
);
13944 if (arg3
== NULL
) SWIG_fail
;
13948 arg4
= (int) SWIG_AsInt(obj3
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13953 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13973 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
;
13975 wxFindReplaceDialog
*result
;
13976 char *kwnames
[] = {
13980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13995 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
;
13997 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13998 wxWindow
*arg2
= (wxWindow
*) 0 ;
13999 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14000 wxString
*arg4
= 0 ;
14001 int arg5
= (int) 0 ;
14003 bool temp4
= False
;
14004 PyObject
* obj0
= 0 ;
14005 PyObject
* obj1
= 0 ;
14006 PyObject
* obj2
= 0 ;
14007 PyObject
* obj3
= 0 ;
14008 PyObject
* obj4
= 0 ;
14009 char *kwnames
[] = {
14010 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14018 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14021 arg4
= wxString_in_helper(obj3
);
14022 if (arg4
== NULL
) SWIG_fail
;
14026 arg5
= (int) SWIG_AsInt(obj4
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14053 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14056 wxFindReplaceData
*result
;
14057 PyObject
* obj0
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14067 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14069 wxPyEndAllowThreads(__tstate
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14079 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14080 PyObject
*resultobj
;
14081 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14082 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14083 PyObject
* obj0
= 0 ;
14084 PyObject
* obj1
= 0 ;
14085 char *kwnames
[] = {
14086 (char *) "self",(char *) "data", NULL
14089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 (arg1
)->SetData(arg2
);
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14101 Py_INCREF(Py_None
); resultobj
= Py_None
;
14108 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14111 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14113 return Py_BuildValue((char *)"");
14115 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14116 PyObject
*resultobj
;
14117 wxWindow
*arg1
= (wxWindow
*) 0 ;
14119 wxString
*arg3
= 0 ;
14120 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14121 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14122 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14123 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14124 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14125 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14126 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14127 wxMDIParentFrame
*result
;
14128 bool temp3
= False
;
14131 bool temp7
= False
;
14132 PyObject
* obj0
= 0 ;
14133 PyObject
* obj1
= 0 ;
14134 PyObject
* obj2
= 0 ;
14135 PyObject
* obj3
= 0 ;
14136 PyObject
* obj4
= 0 ;
14137 PyObject
* obj5
= 0 ;
14138 PyObject
* obj6
= 0 ;
14139 char *kwnames
[] = {
14140 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14146 arg2
= (int const) SWIG_AsInt(obj1
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14149 arg3
= wxString_in_helper(obj2
);
14150 if (arg3
== NULL
) SWIG_fail
;
14156 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14162 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14166 arg6
= (long) SWIG_AsLong(obj5
);
14167 if (PyErr_Occurred()) SWIG_fail
;
14171 arg7
= wxString_in_helper(obj6
);
14172 if (arg7
== NULL
) SWIG_fail
;
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14206 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
;
14208 wxMDIParentFrame
*result
;
14209 char *kwnames
[] = {
14213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14228 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14229 PyObject
*resultobj
;
14230 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14231 wxWindow
*arg2
= (wxWindow
*) 0 ;
14233 wxString
*arg4
= 0 ;
14234 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14235 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14236 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14237 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14238 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14239 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14240 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14242 bool temp4
= False
;
14245 bool temp8
= False
;
14246 PyObject
* obj0
= 0 ;
14247 PyObject
* obj1
= 0 ;
14248 PyObject
* obj2
= 0 ;
14249 PyObject
* obj3
= 0 ;
14250 PyObject
* obj4
= 0 ;
14251 PyObject
* obj5
= 0 ;
14252 PyObject
* obj6
= 0 ;
14253 PyObject
* obj7
= 0 ;
14254 char *kwnames
[] = {
14255 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14263 arg3
= (int const) SWIG_AsInt(obj2
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14266 arg4
= wxString_in_helper(obj3
);
14267 if (arg4
== NULL
) SWIG_fail
;
14273 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14279 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14283 arg7
= (long) SWIG_AsLong(obj6
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14288 arg8
= wxString_in_helper(obj7
);
14289 if (arg8
== NULL
) SWIG_fail
;
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14325 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14326 PyObject
*resultobj
;
14327 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14328 PyObject
* obj0
= 0 ;
14329 char *kwnames
[] = {
14330 (char *) "self", NULL
14333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 (arg1
)->ActivateNext();
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 Py_INCREF(Py_None
); resultobj
= Py_None
;
14350 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14353 PyObject
* obj0
= 0 ;
14354 char *kwnames
[] = {
14355 (char *) "self", NULL
14358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 (arg1
)->ActivatePrevious();
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14368 Py_INCREF(Py_None
); resultobj
= Py_None
;
14375 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
;
14377 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14378 PyObject
* obj0
= 0 ;
14379 char *kwnames
[] = {
14380 (char *) "self", NULL
14383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 (arg1
)->ArrangeIcons();
14390 wxPyEndAllowThreads(__tstate
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14393 Py_INCREF(Py_None
); resultobj
= Py_None
;
14400 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14401 PyObject
*resultobj
;
14402 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14403 PyObject
* obj0
= 0 ;
14404 char *kwnames
[] = {
14405 (char *) "self", NULL
14408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 wxPyEndAllowThreads(__tstate
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14418 Py_INCREF(Py_None
); resultobj
= Py_None
;
14425 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14426 PyObject
*resultobj
;
14427 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14428 wxMDIChildFrame
*result
;
14429 PyObject
* obj0
= 0 ;
14430 char *kwnames
[] = {
14431 (char *) "self", NULL
14434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14445 resultobj
= wxPyMake_wxObject(result
);
14453 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14454 PyObject
*resultobj
;
14455 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14456 wxMDIClientWindow
*result
;
14457 PyObject
* obj0
= 0 ;
14458 char *kwnames
[] = {
14459 (char *) "self", NULL
14462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14473 resultobj
= wxPyMake_wxObject(result
);
14481 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
;
14483 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14485 PyObject
* obj0
= 0 ;
14486 char *kwnames
[] = {
14487 (char *) "self", NULL
14490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 result
= (wxWindow
*)(arg1
)->GetToolBar();
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14501 resultobj
= wxPyMake_wxObject(result
);
14509 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14510 PyObject
*resultobj
;
14511 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14512 PyObject
* obj0
= 0 ;
14513 char *kwnames
[] = {
14514 (char *) "self", NULL
14517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14527 Py_INCREF(Py_None
); resultobj
= Py_None
;
14534 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14537 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14539 return Py_BuildValue((char *)"");
14541 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
;
14543 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14545 wxString
*arg3
= 0 ;
14546 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14547 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14548 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14549 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14550 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14551 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14552 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14553 wxMDIChildFrame
*result
;
14554 bool temp3
= False
;
14557 bool temp7
= False
;
14558 PyObject
* obj0
= 0 ;
14559 PyObject
* obj1
= 0 ;
14560 PyObject
* obj2
= 0 ;
14561 PyObject
* obj3
= 0 ;
14562 PyObject
* obj4
= 0 ;
14563 PyObject
* obj5
= 0 ;
14564 PyObject
* obj6
= 0 ;
14565 char *kwnames
[] = {
14566 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14572 arg2
= (int const) SWIG_AsInt(obj1
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14575 arg3
= wxString_in_helper(obj2
);
14576 if (arg3
== NULL
) SWIG_fail
;
14582 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14588 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14592 arg6
= (long) SWIG_AsLong(obj5
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14597 arg7
= wxString_in_helper(obj6
);
14598 if (arg7
== NULL
) SWIG_fail
;
14603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14604 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14610 resultobj
= wxPyMake_wxObject(result
);
14634 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
;
14636 wxMDIChildFrame
*result
;
14637 char *kwnames
[] = {
14641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14650 resultobj
= wxPyMake_wxObject(result
);
14658 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14661 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14663 wxString
*arg4
= 0 ;
14664 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14665 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14666 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14667 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14668 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14669 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14670 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14672 bool temp4
= False
;
14675 bool temp8
= False
;
14676 PyObject
* obj0
= 0 ;
14677 PyObject
* obj1
= 0 ;
14678 PyObject
* obj2
= 0 ;
14679 PyObject
* obj3
= 0 ;
14680 PyObject
* obj4
= 0 ;
14681 PyObject
* obj5
= 0 ;
14682 PyObject
* obj6
= 0 ;
14683 PyObject
* obj7
= 0 ;
14684 char *kwnames
[] = {
14685 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14693 arg3
= (int const) SWIG_AsInt(obj2
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14696 arg4
= wxString_in_helper(obj3
);
14697 if (arg4
== NULL
) SWIG_fail
;
14703 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14709 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14713 arg7
= (long) SWIG_AsLong(obj6
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14718 arg8
= wxString_in_helper(obj7
);
14719 if (arg8
== NULL
) SWIG_fail
;
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14755 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14756 PyObject
*resultobj
;
14757 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14758 PyObject
* obj0
= 0 ;
14759 char *kwnames
[] = {
14760 (char *) "self", NULL
14763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14768 (arg1
)->Activate();
14770 wxPyEndAllowThreads(__tstate
);
14771 if (PyErr_Occurred()) SWIG_fail
;
14773 Py_INCREF(Py_None
); resultobj
= Py_None
;
14780 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14781 PyObject
*resultobj
;
14782 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14784 PyObject
* obj0
= 0 ;
14785 PyObject
* obj1
= 0 ;
14786 char *kwnames
[] = {
14787 (char *) "self",(char *) "maximize", NULL
14790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14793 arg2
= (bool) SWIG_AsBool(obj1
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 (arg1
)->Maximize(arg2
);
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 Py_INCREF(Py_None
); resultobj
= Py_None
;
14809 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
;
14811 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "self", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 Py_INCREF(Py_None
); resultobj
= Py_None
;
14834 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14837 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14839 return Py_BuildValue((char *)"");
14841 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14844 long arg2
= (long) 0 ;
14845 wxMDIClientWindow
*result
;
14846 PyObject
* obj0
= 0 ;
14847 PyObject
* obj1
= 0 ;
14848 char *kwnames
[] = {
14849 (char *) "parent",(char *) "style", NULL
14852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14856 arg2
= (long) SWIG_AsLong(obj1
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14867 resultobj
= wxPyMake_wxObject(result
);
14875 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
;
14877 wxMDIClientWindow
*result
;
14878 char *kwnames
[] = {
14882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14891 resultobj
= wxPyMake_wxObject(result
);
14899 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14900 PyObject
*resultobj
;
14901 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14902 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14903 long arg3
= (long) 0 ;
14905 PyObject
* obj0
= 0 ;
14906 PyObject
* obj1
= 0 ;
14907 PyObject
* obj2
= 0 ;
14908 char *kwnames
[] = {
14909 (char *) "self",(char *) "parent",(char *) "style", NULL
14912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
14914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14918 arg3
= (long) SWIG_AsLong(obj2
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= (bool)(arg1
)->Create(arg2
,arg3
);
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14937 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
14939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14940 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
14942 return Py_BuildValue((char *)"");
14944 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14945 PyObject
*resultobj
;
14946 wxWindow
*arg1
= (wxWindow
*) 0 ;
14948 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14949 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14950 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14951 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14952 long arg5
= (long) 0 ;
14953 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14954 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14955 wxPyWindow
*result
;
14958 bool temp6
= False
;
14959 PyObject
* obj0
= 0 ;
14960 PyObject
* obj1
= 0 ;
14961 PyObject
* obj2
= 0 ;
14962 PyObject
* obj3
= 0 ;
14963 PyObject
* obj4
= 0 ;
14964 PyObject
* obj5
= 0 ;
14965 char *kwnames
[] = {
14966 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14972 arg2
= (int const) SWIG_AsInt(obj1
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14977 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14983 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14987 arg5
= (long) SWIG_AsLong(obj4
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14992 arg6
= wxString_in_helper(obj5
);
14993 if (arg6
== NULL
) SWIG_fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15019 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15020 PyObject
*resultobj
;
15021 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15022 PyObject
*arg2
= (PyObject
*) 0 ;
15023 PyObject
*arg3
= (PyObject
*) 0 ;
15024 PyObject
* obj0
= 0 ;
15025 PyObject
* obj1
= 0 ;
15026 PyObject
* obj2
= 0 ;
15027 char *kwnames
[] = {
15028 (char *) "self",(char *) "self",(char *) "_class", NULL
15031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15038 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15043 Py_INCREF(Py_None
); resultobj
= Py_None
;
15050 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15057 PyObject
* obj0
= 0 ;
15058 PyObject
* obj1
= 0 ;
15059 PyObject
* obj2
= 0 ;
15060 PyObject
* obj3
= 0 ;
15061 PyObject
* obj4
= 0 ;
15062 char *kwnames
[] = {
15063 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15069 arg2
= (int) SWIG_AsInt(obj1
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15071 arg3
= (int) SWIG_AsInt(obj2
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15073 arg4
= (int) SWIG_AsInt(obj3
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15075 arg5
= (int) SWIG_AsInt(obj4
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15081 wxPyEndAllowThreads(__tstate
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15084 Py_INCREF(Py_None
); resultobj
= Py_None
;
15091 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15092 PyObject
*resultobj
;
15093 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15098 int arg6
= (int) wxSIZE_AUTO
;
15099 PyObject
* obj0
= 0 ;
15100 PyObject
* obj1
= 0 ;
15101 PyObject
* obj2
= 0 ;
15102 PyObject
* obj3
= 0 ;
15103 PyObject
* obj4
= 0 ;
15104 PyObject
* obj5
= 0 ;
15105 char *kwnames
[] = {
15106 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15112 arg2
= (int) SWIG_AsInt(obj1
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15114 arg3
= (int) SWIG_AsInt(obj2
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15116 arg4
= (int) SWIG_AsInt(obj3
);
15117 if (PyErr_Occurred()) SWIG_fail
;
15118 arg5
= (int) SWIG_AsInt(obj4
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15121 arg6
= (int) SWIG_AsInt(obj5
);
15122 if (PyErr_Occurred()) SWIG_fail
;
15125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15126 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15131 Py_INCREF(Py_None
); resultobj
= Py_None
;
15138 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15139 PyObject
*resultobj
;
15140 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15143 PyObject
* obj0
= 0 ;
15144 PyObject
* obj1
= 0 ;
15145 PyObject
* obj2
= 0 ;
15146 char *kwnames
[] = {
15147 (char *) "self",(char *) "width",(char *) "height", NULL
15150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15153 arg2
= (int) SWIG_AsInt(obj1
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15155 arg3
= (int) SWIG_AsInt(obj2
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15164 Py_INCREF(Py_None
); resultobj
= Py_None
;
15171 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
;
15173 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15176 PyObject
* obj0
= 0 ;
15177 PyObject
* obj1
= 0 ;
15178 PyObject
* obj2
= 0 ;
15179 char *kwnames
[] = {
15180 (char *) "self",(char *) "x",(char *) "y", NULL
15183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15186 arg2
= (int) SWIG_AsInt(obj1
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15188 arg3
= (int) SWIG_AsInt(obj2
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15197 Py_INCREF(Py_None
); resultobj
= Py_None
;
15204 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
;
15206 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15207 int *arg2
= (int *) 0 ;
15208 int *arg3
= (int *) 0 ;
15211 PyObject
* obj0
= 0 ;
15212 char *kwnames
[] = {
15213 (char *) "self", NULL
15218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15223 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15225 wxPyEndAllowThreads(__tstate
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15228 Py_INCREF(Py_None
); resultobj
= Py_None
;
15230 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15231 resultobj
= t_output_helper(resultobj
,o
);
15234 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15235 resultobj
= t_output_helper(resultobj
,o
);
15243 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15244 PyObject
*resultobj
;
15245 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15246 int *arg2
= (int *) 0 ;
15247 int *arg3
= (int *) 0 ;
15250 PyObject
* obj0
= 0 ;
15251 char *kwnames
[] = {
15252 (char *) "self", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 Py_INCREF(Py_None
); resultobj
= Py_None
;
15269 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15270 resultobj
= t_output_helper(resultobj
,o
);
15273 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15274 resultobj
= t_output_helper(resultobj
,o
);
15282 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
;
15284 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15285 int *arg2
= (int *) 0 ;
15286 int *arg3
= (int *) 0 ;
15289 PyObject
* obj0
= 0 ;
15290 char *kwnames
[] = {
15291 (char *) "self", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15306 Py_INCREF(Py_None
); resultobj
= Py_None
;
15308 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15309 resultobj
= t_output_helper(resultobj
,o
);
15312 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15313 resultobj
= t_output_helper(resultobj
,o
);
15321 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
;
15323 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15325 PyObject
* obj0
= 0 ;
15326 char *kwnames
[] = {
15327 (char *) "self", NULL
15330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15341 wxSize
* resultptr
;
15342 resultptr
= new wxSize((wxSize
&) result
);
15343 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15351 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
;
15353 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15355 PyObject
* obj0
= 0 ;
15356 char *kwnames
[] = {
15357 (char *) "self", NULL
15360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15367 wxPyEndAllowThreads(__tstate
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15371 wxSize
* resultptr
;
15372 resultptr
= new wxSize((wxSize
&) result
);
15373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15381 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15382 PyObject
*resultobj
;
15383 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15384 PyObject
* obj0
= 0 ;
15385 char *kwnames
[] = {
15386 (char *) "self", NULL
15389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15394 (arg1
)->base_InitDialog();
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15399 Py_INCREF(Py_None
); resultobj
= Py_None
;
15406 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
;
15408 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15410 PyObject
* obj0
= 0 ;
15411 char *kwnames
[] = {
15412 (char *) "self", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (bool)(arg1
)->base_TransferDataToWindow();
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15434 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15438 PyObject
* obj0
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "self", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15462 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
;
15464 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15466 PyObject
* obj0
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "self", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 result
= (bool)(arg1
)->base_Validate();
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15490 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15494 PyObject
* obj0
= 0 ;
15495 char *kwnames
[] = {
15496 (char *) "self", NULL
15499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15518 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15522 PyObject
* obj0
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "self", NULL
15527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15532 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15546 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15547 PyObject
*resultobj
;
15548 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15550 PyObject
* obj0
= 0 ;
15551 char *kwnames
[] = {
15552 (char *) "self", NULL
15555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15566 wxSize
* resultptr
;
15567 resultptr
= new wxSize((wxSize
&) result
);
15568 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15576 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
;
15578 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15579 wxWindow
*arg2
= (wxWindow
*) 0 ;
15580 PyObject
* obj0
= 0 ;
15581 PyObject
* obj1
= 0 ;
15582 char *kwnames
[] = {
15583 (char *) "self",(char *) "child", NULL
15586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 (arg1
)->base_AddChild(arg2
);
15595 wxPyEndAllowThreads(__tstate
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15598 Py_INCREF(Py_None
); resultobj
= Py_None
;
15605 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15606 PyObject
*resultobj
;
15607 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15608 wxWindow
*arg2
= (wxWindow
*) 0 ;
15609 PyObject
* obj0
= 0 ;
15610 PyObject
* obj1
= 0 ;
15611 char *kwnames
[] = {
15612 (char *) "self",(char *) "child", NULL
15615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15622 (arg1
)->base_RemoveChild(arg2
);
15624 wxPyEndAllowThreads(__tstate
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15627 Py_INCREF(Py_None
); resultobj
= Py_None
;
15634 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15637 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15639 return Py_BuildValue((char *)"");
15641 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15642 PyObject
*resultobj
;
15643 wxWindow
*arg1
= (wxWindow
*) 0 ;
15645 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15646 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15647 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15648 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15649 long arg5
= (long) 0 ;
15650 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15651 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15655 bool temp6
= False
;
15656 PyObject
* obj0
= 0 ;
15657 PyObject
* obj1
= 0 ;
15658 PyObject
* obj2
= 0 ;
15659 PyObject
* obj3
= 0 ;
15660 PyObject
* obj4
= 0 ;
15661 PyObject
* obj5
= 0 ;
15662 char *kwnames
[] = {
15663 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15669 arg2
= (int const) SWIG_AsInt(obj1
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15674 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15680 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15684 arg5
= (long) SWIG_AsLong(obj4
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15689 arg6
= wxString_in_helper(obj5
);
15690 if (arg6
== NULL
) SWIG_fail
;
15695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15696 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15716 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15717 PyObject
*resultobj
;
15718 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15719 PyObject
*arg2
= (PyObject
*) 0 ;
15720 PyObject
*arg3
= (PyObject
*) 0 ;
15721 PyObject
* obj0
= 0 ;
15722 PyObject
* obj1
= 0 ;
15723 PyObject
* obj2
= 0 ;
15724 char *kwnames
[] = {
15725 (char *) "self",(char *) "self",(char *) "_class", NULL
15728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15740 Py_INCREF(Py_None
); resultobj
= Py_None
;
15747 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15748 PyObject
*resultobj
;
15749 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15754 PyObject
* obj0
= 0 ;
15755 PyObject
* obj1
= 0 ;
15756 PyObject
* obj2
= 0 ;
15757 PyObject
* obj3
= 0 ;
15758 PyObject
* obj4
= 0 ;
15759 char *kwnames
[] = {
15760 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15766 arg2
= (int) SWIG_AsInt(obj1
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15768 arg3
= (int) SWIG_AsInt(obj2
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15770 arg4
= (int) SWIG_AsInt(obj3
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15772 arg5
= (int) SWIG_AsInt(obj4
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15776 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15781 Py_INCREF(Py_None
); resultobj
= Py_None
;
15788 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15789 PyObject
*resultobj
;
15790 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15795 int arg6
= (int) wxSIZE_AUTO
;
15796 PyObject
* obj0
= 0 ;
15797 PyObject
* obj1
= 0 ;
15798 PyObject
* obj2
= 0 ;
15799 PyObject
* obj3
= 0 ;
15800 PyObject
* obj4
= 0 ;
15801 PyObject
* obj5
= 0 ;
15802 char *kwnames
[] = {
15803 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15809 arg2
= (int) SWIG_AsInt(obj1
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15811 arg3
= (int) SWIG_AsInt(obj2
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15813 arg4
= (int) SWIG_AsInt(obj3
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15815 arg5
= (int) SWIG_AsInt(obj4
);
15816 if (PyErr_Occurred()) SWIG_fail
;
15818 arg6
= (int) SWIG_AsInt(obj5
);
15819 if (PyErr_Occurred()) SWIG_fail
;
15822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15823 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15825 wxPyEndAllowThreads(__tstate
);
15826 if (PyErr_Occurred()) SWIG_fail
;
15828 Py_INCREF(Py_None
); resultobj
= Py_None
;
15835 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15836 PyObject
*resultobj
;
15837 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15840 PyObject
* obj0
= 0 ;
15841 PyObject
* obj1
= 0 ;
15842 PyObject
* obj2
= 0 ;
15843 char *kwnames
[] = {
15844 (char *) "self",(char *) "width",(char *) "height", NULL
15847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15850 arg2
= (int) SWIG_AsInt(obj1
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15852 arg3
= (int) SWIG_AsInt(obj2
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15858 wxPyEndAllowThreads(__tstate
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15861 Py_INCREF(Py_None
); resultobj
= Py_None
;
15868 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15869 PyObject
*resultobj
;
15870 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15873 PyObject
* obj0
= 0 ;
15874 PyObject
* obj1
= 0 ;
15875 PyObject
* obj2
= 0 ;
15876 char *kwnames
[] = {
15877 (char *) "self",(char *) "x",(char *) "y", NULL
15880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15883 arg2
= (int) SWIG_AsInt(obj1
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15885 arg3
= (int) SWIG_AsInt(obj2
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15889 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15894 Py_INCREF(Py_None
); resultobj
= Py_None
;
15901 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
;
15903 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15904 int *arg2
= (int *) 0 ;
15905 int *arg3
= (int *) 0 ;
15908 PyObject
* obj0
= 0 ;
15909 char *kwnames
[] = {
15910 (char *) "self", NULL
15915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15920 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15922 wxPyEndAllowThreads(__tstate
);
15923 if (PyErr_Occurred()) SWIG_fail
;
15925 Py_INCREF(Py_None
); resultobj
= Py_None
;
15927 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15928 resultobj
= t_output_helper(resultobj
,o
);
15931 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15932 resultobj
= t_output_helper(resultobj
,o
);
15940 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15941 PyObject
*resultobj
;
15942 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15943 int *arg2
= (int *) 0 ;
15944 int *arg3
= (int *) 0 ;
15947 PyObject
* obj0
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "self", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15964 Py_INCREF(Py_None
); resultobj
= Py_None
;
15966 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15967 resultobj
= t_output_helper(resultobj
,o
);
15970 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15971 resultobj
= t_output_helper(resultobj
,o
);
15979 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15981 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15982 int *arg2
= (int *) 0 ;
15983 int *arg3
= (int *) 0 ;
15986 PyObject
* obj0
= 0 ;
15987 char *kwnames
[] = {
15988 (char *) "self", NULL
15993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 Py_INCREF(Py_None
); resultobj
= Py_None
;
16005 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16006 resultobj
= t_output_helper(resultobj
,o
);
16009 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16010 resultobj
= t_output_helper(resultobj
,o
);
16018 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16019 PyObject
*resultobj
;
16020 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16022 PyObject
* obj0
= 0 ;
16023 char *kwnames
[] = {
16024 (char *) "self", NULL
16027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16034 wxPyEndAllowThreads(__tstate
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16038 wxSize
* resultptr
;
16039 resultptr
= new wxSize((wxSize
&) result
);
16040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16048 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
;
16050 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16052 PyObject
* obj0
= 0 ;
16053 char *kwnames
[] = {
16054 (char *) "self", NULL
16057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16062 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16064 wxPyEndAllowThreads(__tstate
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16068 wxSize
* resultptr
;
16069 resultptr
= new wxSize((wxSize
&) result
);
16070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16078 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16079 PyObject
*resultobj
;
16080 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16081 PyObject
* obj0
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 (arg1
)->base_InitDialog();
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16096 Py_INCREF(Py_None
); resultobj
= Py_None
;
16103 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16104 PyObject
*resultobj
;
16105 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16107 PyObject
* obj0
= 0 ;
16108 char *kwnames
[] = {
16109 (char *) "self", NULL
16112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16117 result
= (bool)(arg1
)->base_TransferDataToWindow();
16119 wxPyEndAllowThreads(__tstate
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16131 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16132 PyObject
*resultobj
;
16133 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16135 PyObject
* obj0
= 0 ;
16136 char *kwnames
[] = {
16137 (char *) "self", NULL
16140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16145 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16147 wxPyEndAllowThreads(__tstate
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16159 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16160 PyObject
*resultobj
;
16161 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16163 PyObject
* obj0
= 0 ;
16164 char *kwnames
[] = {
16165 (char *) "self", NULL
16168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16173 result
= (bool)(arg1
)->base_Validate();
16175 wxPyEndAllowThreads(__tstate
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16187 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16191 PyObject
* obj0
= 0 ;
16192 char *kwnames
[] = {
16193 (char *) "self", NULL
16196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16215 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16216 PyObject
*resultobj
;
16217 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16219 PyObject
* obj0
= 0 ;
16220 char *kwnames
[] = {
16221 (char *) "self", NULL
16224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16243 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16244 PyObject
*resultobj
;
16245 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16247 PyObject
* obj0
= 0 ;
16248 char *kwnames
[] = {
16249 (char *) "self", NULL
16252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16263 wxSize
* resultptr
;
16264 resultptr
= new wxSize((wxSize
&) result
);
16265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16273 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16274 PyObject
*resultobj
;
16275 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16276 wxWindow
*arg2
= (wxWindow
*) 0 ;
16277 PyObject
* obj0
= 0 ;
16278 PyObject
* obj1
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self",(char *) "child", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 (arg1
)->base_AddChild(arg2
);
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16295 Py_INCREF(Py_None
); resultobj
= Py_None
;
16302 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
;
16304 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16305 wxWindow
*arg2
= (wxWindow
*) 0 ;
16306 PyObject
* obj0
= 0 ;
16307 PyObject
* obj1
= 0 ;
16308 char *kwnames
[] = {
16309 (char *) "self",(char *) "child", NULL
16312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16319 (arg1
)->base_RemoveChild(arg2
);
16321 wxPyEndAllowThreads(__tstate
);
16322 if (PyErr_Occurred()) SWIG_fail
;
16324 Py_INCREF(Py_None
); resultobj
= Py_None
;
16331 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16334 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16336 return Py_BuildValue((char *)"");
16338 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
16339 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
16344 static PyObject
*_wrap_PrintoutTitleStr_get() {
16349 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16351 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16358 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
16359 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
16364 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
16369 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16371 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16378 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16379 PyObject
*resultobj
;
16380 wxPrintData
*result
;
16381 char *kwnames
[] = {
16385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
16387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16388 result
= (wxPrintData
*)new wxPrintData();
16390 wxPyEndAllowThreads(__tstate
);
16391 if (PyErr_Occurred()) SWIG_fail
;
16393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
16400 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
;
16402 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16403 PyObject
* obj0
= 0 ;
16404 char *kwnames
[] = {
16405 (char *) "self", NULL
16408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
16409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16418 Py_INCREF(Py_None
); resultobj
= Py_None
;
16425 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
;
16427 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16429 PyObject
* obj0
= 0 ;
16430 char *kwnames
[] = {
16431 (char *) "self", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
16435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 result
= (int)(arg1
)->GetNoCopies();
16441 wxPyEndAllowThreads(__tstate
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16444 resultobj
= SWIG_FromInt((int)result
);
16451 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16455 PyObject
* obj0
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
16461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 result
= (bool)(arg1
)->GetCollate();
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16479 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16480 PyObject
*resultobj
;
16481 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16483 PyObject
* obj0
= 0 ;
16484 char *kwnames
[] = {
16485 (char *) "self", NULL
16488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
16489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 result
= (int)(arg1
)->GetOrientation();
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= SWIG_FromInt((int)result
);
16505 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16506 PyObject
*resultobj
;
16507 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16509 PyObject
* obj0
= 0 ;
16510 char *kwnames
[] = {
16511 (char *) "self", NULL
16514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
16515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16519 result
= (bool)(arg1
)->Ok();
16521 wxPyEndAllowThreads(__tstate
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16533 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
;
16535 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16537 PyObject
* obj0
= 0 ;
16538 char *kwnames
[] = {
16539 (char *) "self", NULL
16542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
16543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
16549 result
= (wxString
*) &_result_ref
;
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16559 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16568 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16569 PyObject
*resultobj
;
16570 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16572 PyObject
* obj0
= 0 ;
16573 char *kwnames
[] = {
16574 (char *) "self", NULL
16577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
16578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 result
= (bool)(arg1
)->GetColour();
16584 wxPyEndAllowThreads(__tstate
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16596 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
;
16598 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16600 PyObject
* obj0
= 0 ;
16601 char *kwnames
[] = {
16602 (char *) "self", NULL
16605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
16606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16610 result
= (int)(arg1
)->GetDuplex();
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16615 resultobj
= SWIG_FromInt((int)result
);
16622 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16623 PyObject
*resultobj
;
16624 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16626 PyObject
* obj0
= 0 ;
16627 char *kwnames
[] = {
16628 (char *) "self", NULL
16631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 result
= (int)(arg1
)->GetPaperId();
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 resultobj
= SWIG_FromInt((int)result
);
16648 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
;
16650 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16652 PyObject
* obj0
= 0 ;
16653 char *kwnames
[] = {
16654 (char *) "self", NULL
16657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16663 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
16664 result
= (wxSize
*) &_result_ref
;
16667 wxPyEndAllowThreads(__tstate
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16677 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16678 PyObject
*resultobj
;
16679 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16681 PyObject
* obj0
= 0 ;
16682 char *kwnames
[] = {
16683 (char *) "self", NULL
16686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
16687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16691 result
= (int)(arg1
)->GetQuality();
16693 wxPyEndAllowThreads(__tstate
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16696 resultobj
= SWIG_FromInt((int)result
);
16703 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16704 PyObject
*resultobj
;
16705 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16707 PyObject
* obj0
= 0 ;
16708 PyObject
* obj1
= 0 ;
16709 char *kwnames
[] = {
16710 (char *) "self",(char *) "v", NULL
16713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
16714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16716 arg2
= (int) SWIG_AsInt(obj1
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 (arg1
)->SetNoCopies(arg2
);
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 Py_INCREF(Py_None
); resultobj
= Py_None
;
16732 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
;
16734 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16736 PyObject
* obj0
= 0 ;
16737 PyObject
* obj1
= 0 ;
16738 char *kwnames
[] = {
16739 (char *) "self",(char *) "flag", NULL
16742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
16743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16745 arg2
= (bool) SWIG_AsBool(obj1
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16749 (arg1
)->SetCollate(arg2
);
16751 wxPyEndAllowThreads(__tstate
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16754 Py_INCREF(Py_None
); resultobj
= Py_None
;
16761 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
;
16763 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16765 PyObject
* obj0
= 0 ;
16766 PyObject
* obj1
= 0 ;
16767 char *kwnames
[] = {
16768 (char *) "self",(char *) "orient", NULL
16771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16774 arg2
= (int) SWIG_AsInt(obj1
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16778 (arg1
)->SetOrientation(arg2
);
16780 wxPyEndAllowThreads(__tstate
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16783 Py_INCREF(Py_None
); resultobj
= Py_None
;
16790 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16791 PyObject
*resultobj
;
16792 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16793 wxString
*arg2
= 0 ;
16794 bool temp2
= False
;
16795 PyObject
* obj0
= 0 ;
16796 PyObject
* obj1
= 0 ;
16797 char *kwnames
[] = {
16798 (char *) "self",(char *) "name", NULL
16801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
16802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16805 arg2
= wxString_in_helper(obj1
);
16806 if (arg2
== NULL
) SWIG_fail
;
16810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16811 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
16813 wxPyEndAllowThreads(__tstate
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16816 Py_INCREF(Py_None
); resultobj
= Py_None
;
16831 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
;
16833 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16835 PyObject
* obj0
= 0 ;
16836 PyObject
* obj1
= 0 ;
16837 char *kwnames
[] = {
16838 (char *) "self",(char *) "colour", NULL
16841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16844 arg2
= (bool) SWIG_AsBool(obj1
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 (arg1
)->SetColour(arg2
);
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16853 Py_INCREF(Py_None
); resultobj
= Py_None
;
16860 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16861 PyObject
*resultobj
;
16862 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16864 PyObject
* obj0
= 0 ;
16865 PyObject
* obj1
= 0 ;
16866 char *kwnames
[] = {
16867 (char *) "self",(char *) "duplex", NULL
16870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
16871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16873 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
16874 if (PyErr_Occurred()) SWIG_fail
;
16876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16877 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
16879 wxPyEndAllowThreads(__tstate
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16882 Py_INCREF(Py_None
); resultobj
= Py_None
;
16889 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16890 PyObject
*resultobj
;
16891 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16893 PyObject
* obj0
= 0 ;
16894 PyObject
* obj1
= 0 ;
16895 char *kwnames
[] = {
16896 (char *) "self",(char *) "sizeId", NULL
16899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
16900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16902 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16911 Py_INCREF(Py_None
); resultobj
= Py_None
;
16918 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
;
16920 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16923 PyObject
* obj0
= 0 ;
16924 PyObject
* obj1
= 0 ;
16925 char *kwnames
[] = {
16926 (char *) "self",(char *) "sz", NULL
16929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16934 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16943 Py_INCREF(Py_None
); resultobj
= Py_None
;
16950 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
;
16952 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16954 PyObject
* obj0
= 0 ;
16955 PyObject
* obj1
= 0 ;
16956 char *kwnames
[] = {
16957 (char *) "self",(char *) "quality", NULL
16960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
16961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16963 arg2
= (int) SWIG_AsInt(obj1
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16967 (arg1
)->SetQuality(arg2
);
16969 wxPyEndAllowThreads(__tstate
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16972 Py_INCREF(Py_None
); resultobj
= Py_None
;
16979 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
;
16981 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16983 PyObject
* obj0
= 0 ;
16984 char *kwnames
[] = {
16985 (char *) "self", NULL
16988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
16989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
16995 result
= (wxString
*) &_result_ref
;
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17003 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17005 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17014 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17018 PyObject
* obj0
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
17024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
17030 result
= (wxString
*) &_result_ref
;
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17040 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17049 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17050 PyObject
*resultobj
;
17051 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17053 PyObject
* obj0
= 0 ;
17054 char *kwnames
[] = {
17055 (char *) "self", NULL
17058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
17059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
17065 result
= (wxString
*) &_result_ref
;
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17073 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17075 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17084 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
;
17086 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17088 PyObject
* obj0
= 0 ;
17089 char *kwnames
[] = {
17090 (char *) "self", NULL
17093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
17094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17099 wxString
const &_result_ref
= (arg1
)->GetFilename();
17100 result
= (wxString
*) &_result_ref
;
17103 wxPyEndAllowThreads(__tstate
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17108 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17110 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17119 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
;
17121 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17123 PyObject
* obj0
= 0 ;
17124 char *kwnames
[] = {
17125 (char *) "self", NULL
17128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
17129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
17135 result
= (wxString
*) &_result_ref
;
17138 wxPyEndAllowThreads(__tstate
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17143 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17145 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17154 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17155 PyObject
*resultobj
;
17156 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17158 PyObject
* obj0
= 0 ;
17159 char *kwnames
[] = {
17160 (char *) "self", NULL
17163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
17164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 result
= (double)(arg1
)->GetPrinterScaleX();
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17173 resultobj
= SWIG_FromDouble((double)result
);
17180 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
;
17182 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17184 PyObject
* obj0
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "self", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
17190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 result
= (double)(arg1
)->GetPrinterScaleY();
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17199 resultobj
= SWIG_FromDouble((double)result
);
17206 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
;
17208 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17210 PyObject
* obj0
= 0 ;
17211 char *kwnames
[] = {
17212 (char *) "self", NULL
17215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
17216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17220 result
= (long)(arg1
)->GetPrinterTranslateX();
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= SWIG_FromLong((long)result
);
17232 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
;
17234 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17236 PyObject
* obj0
= 0 ;
17237 char *kwnames
[] = {
17238 (char *) "self", NULL
17241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
17242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 result
= (long)(arg1
)->GetPrinterTranslateY();
17248 wxPyEndAllowThreads(__tstate
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17251 resultobj
= SWIG_FromLong((long)result
);
17258 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
;
17260 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17262 PyObject
* obj0
= 0 ;
17263 char *kwnames
[] = {
17264 (char *) "self", NULL
17267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
17268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17272 result
= (int)(arg1
)->GetPrintMode();
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17277 resultobj
= SWIG_FromInt((int)result
);
17284 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17287 wxString
*arg2
= 0 ;
17288 bool temp2
= False
;
17289 PyObject
* obj0
= 0 ;
17290 PyObject
* obj1
= 0 ;
17291 char *kwnames
[] = {
17292 (char *) "self",(char *) "command", NULL
17295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17299 arg2
= wxString_in_helper(obj1
);
17300 if (arg2
== NULL
) SWIG_fail
;
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17310 Py_INCREF(Py_None
); resultobj
= Py_None
;
17325 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17326 PyObject
*resultobj
;
17327 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17328 wxString
*arg2
= 0 ;
17329 bool temp2
= False
;
17330 PyObject
* obj0
= 0 ;
17331 PyObject
* obj1
= 0 ;
17332 char *kwnames
[] = {
17333 (char *) "self",(char *) "options", NULL
17336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
17337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17340 arg2
= wxString_in_helper(obj1
);
17341 if (arg2
== NULL
) SWIG_fail
;
17345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17346 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
17348 wxPyEndAllowThreads(__tstate
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17351 Py_INCREF(Py_None
); resultobj
= Py_None
;
17366 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
;
17368 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17369 wxString
*arg2
= 0 ;
17370 bool temp2
= False
;
17371 PyObject
* obj0
= 0 ;
17372 PyObject
* obj1
= 0 ;
17373 char *kwnames
[] = {
17374 (char *) "self",(char *) "command", NULL
17377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17381 arg2
= wxString_in_helper(obj1
);
17382 if (arg2
== NULL
) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 Py_INCREF(Py_None
); resultobj
= Py_None
;
17407 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17408 PyObject
*resultobj
;
17409 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17410 wxString
*arg2
= 0 ;
17411 bool temp2
= False
;
17412 PyObject
* obj0
= 0 ;
17413 PyObject
* obj1
= 0 ;
17414 char *kwnames
[] = {
17415 (char *) "self",(char *) "filename", NULL
17418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
17419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17422 arg2
= wxString_in_helper(obj1
);
17423 if (arg2
== NULL
) SWIG_fail
;
17427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17428 (arg1
)->SetFilename((wxString
const &)*arg2
);
17430 wxPyEndAllowThreads(__tstate
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17433 Py_INCREF(Py_None
); resultobj
= Py_None
;
17448 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17449 PyObject
*resultobj
;
17450 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17451 wxString
*arg2
= 0 ;
17452 bool temp2
= False
;
17453 PyObject
* obj0
= 0 ;
17454 PyObject
* obj1
= 0 ;
17455 char *kwnames
[] = {
17456 (char *) "self",(char *) "path", NULL
17459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17463 arg2
= wxString_in_helper(obj1
);
17464 if (arg2
== NULL
) SWIG_fail
;
17468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17469 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17474 Py_INCREF(Py_None
); resultobj
= Py_None
;
17489 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17490 PyObject
*resultobj
;
17491 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17493 PyObject
* obj0
= 0 ;
17494 PyObject
* obj1
= 0 ;
17495 char *kwnames
[] = {
17496 (char *) "self",(char *) "x", NULL
17499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
17500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17502 arg2
= (double) SWIG_AsDouble(obj1
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17506 (arg1
)->SetPrinterScaleX(arg2
);
17508 wxPyEndAllowThreads(__tstate
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17511 Py_INCREF(Py_None
); resultobj
= Py_None
;
17518 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17519 PyObject
*resultobj
;
17520 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17522 PyObject
* obj0
= 0 ;
17523 PyObject
* obj1
= 0 ;
17524 char *kwnames
[] = {
17525 (char *) "self",(char *) "y", NULL
17528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
17529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17531 arg2
= (double) SWIG_AsDouble(obj1
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 (arg1
)->SetPrinterScaleY(arg2
);
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17540 Py_INCREF(Py_None
); resultobj
= Py_None
;
17547 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
;
17549 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17552 PyObject
* obj0
= 0 ;
17553 PyObject
* obj1
= 0 ;
17554 PyObject
* obj2
= 0 ;
17555 char *kwnames
[] = {
17556 (char *) "self",(char *) "x",(char *) "y", NULL
17559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17562 arg2
= (double) SWIG_AsDouble(obj1
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17564 arg3
= (double) SWIG_AsDouble(obj2
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17568 (arg1
)->SetPrinterScaling(arg2
,arg3
);
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 Py_INCREF(Py_None
); resultobj
= Py_None
;
17580 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17581 PyObject
*resultobj
;
17582 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17584 PyObject
* obj0
= 0 ;
17585 PyObject
* obj1
= 0 ;
17586 char *kwnames
[] = {
17587 (char *) "self",(char *) "x", NULL
17590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
17591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17593 arg2
= (long) SWIG_AsLong(obj1
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 (arg1
)->SetPrinterTranslateX(arg2
);
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 Py_INCREF(Py_None
); resultobj
= Py_None
;
17609 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17610 PyObject
*resultobj
;
17611 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17613 PyObject
* obj0
= 0 ;
17614 PyObject
* obj1
= 0 ;
17615 char *kwnames
[] = {
17616 (char *) "self",(char *) "y", NULL
17619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
17620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17622 arg2
= (long) SWIG_AsLong(obj1
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 (arg1
)->SetPrinterTranslateY(arg2
);
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17631 Py_INCREF(Py_None
); resultobj
= Py_None
;
17638 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17639 PyObject
*resultobj
;
17640 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17643 PyObject
* obj0
= 0 ;
17644 PyObject
* obj1
= 0 ;
17645 PyObject
* obj2
= 0 ;
17646 char *kwnames
[] = {
17647 (char *) "self",(char *) "x",(char *) "y", NULL
17650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17653 arg2
= (long) SWIG_AsLong(obj1
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17655 arg3
= (long) SWIG_AsLong(obj2
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17659 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
17661 wxPyEndAllowThreads(__tstate
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17664 Py_INCREF(Py_None
); resultobj
= Py_None
;
17671 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
;
17673 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17675 PyObject
* obj0
= 0 ;
17676 PyObject
* obj1
= 0 ;
17677 char *kwnames
[] = {
17678 (char *) "self",(char *) "printMode", NULL
17681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
17682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17684 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17693 Py_INCREF(Py_None
); resultobj
= Py_None
;
17700 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17701 PyObject
*resultobj
;
17702 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17703 wxOutputStream
*result
;
17704 PyObject
* obj0
= 0 ;
17705 char *kwnames
[] = {
17706 (char *) "self", NULL
17709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
17710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17714 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
17726 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
;
17728 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17729 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
17730 PyObject
* obj0
= 0 ;
17731 PyObject
* obj1
= 0 ;
17732 char *kwnames
[] = {
17733 (char *) "self",(char *) "outputstream", NULL
17736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
17737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
17740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 (arg1
)->SetOutputStream(arg2
);
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17748 Py_INCREF(Py_None
); resultobj
= Py_None
;
17755 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
17757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17758 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
17760 return Py_BuildValue((char *)"");
17762 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
;
17764 wxPageSetupDialogData
*result
;
17765 char *kwnames
[] = {
17769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
17784 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
;
17786 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17787 PyObject
* obj0
= 0 ;
17788 char *kwnames
[] = {
17789 (char *) "self", NULL
17792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
17793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17802 Py_INCREF(Py_None
); resultobj
= Py_None
;
17809 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17810 PyObject
*resultobj
;
17811 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17813 PyObject
* obj0
= 0 ;
17814 PyObject
* obj1
= 0 ;
17815 char *kwnames
[] = {
17816 (char *) "self",(char *) "flag", NULL
17819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17822 arg2
= (bool) SWIG_AsBool(obj1
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17826 (arg1
)->EnableHelp(arg2
);
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 Py_INCREF(Py_None
); resultobj
= Py_None
;
17838 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
;
17840 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17842 PyObject
* obj0
= 0 ;
17843 PyObject
* obj1
= 0 ;
17844 char *kwnames
[] = {
17845 (char *) "self",(char *) "flag", NULL
17848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17851 arg2
= (bool) SWIG_AsBool(obj1
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 (arg1
)->EnableMargins(arg2
);
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 Py_INCREF(Py_None
); resultobj
= Py_None
;
17867 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
;
17869 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17871 PyObject
* obj0
= 0 ;
17872 PyObject
* obj1
= 0 ;
17873 char *kwnames
[] = {
17874 (char *) "self",(char *) "flag", NULL
17877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17880 arg2
= (bool) SWIG_AsBool(obj1
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 (arg1
)->EnableOrientation(arg2
);
17886 wxPyEndAllowThreads(__tstate
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17889 Py_INCREF(Py_None
); resultobj
= Py_None
;
17896 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17897 PyObject
*resultobj
;
17898 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17900 PyObject
* obj0
= 0 ;
17901 PyObject
* obj1
= 0 ;
17902 char *kwnames
[] = {
17903 (char *) "self",(char *) "flag", NULL
17906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
17907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17909 arg2
= (bool) SWIG_AsBool(obj1
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 (arg1
)->EnablePaper(arg2
);
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 Py_INCREF(Py_None
); resultobj
= Py_None
;
17925 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
;
17927 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17929 PyObject
* obj0
= 0 ;
17930 PyObject
* obj1
= 0 ;
17931 char *kwnames
[] = {
17932 (char *) "self",(char *) "flag", NULL
17935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
17936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17938 arg2
= (bool) SWIG_AsBool(obj1
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17942 (arg1
)->EnablePrinter(arg2
);
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17947 Py_INCREF(Py_None
); resultobj
= Py_None
;
17954 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17955 PyObject
*resultobj
;
17956 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17958 PyObject
* obj0
= 0 ;
17959 char *kwnames
[] = {
17960 (char *) "self", NULL
17963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
17964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 result
= (bool)(arg1
)->GetDefaultMinMargins();
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17982 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
;
17984 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17986 PyObject
* obj0
= 0 ;
17987 char *kwnames
[] = {
17988 (char *) "self", NULL
17991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
17992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17996 result
= (bool)(arg1
)->GetEnableMargins();
17998 wxPyEndAllowThreads(__tstate
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18010 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18011 PyObject
*resultobj
;
18012 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18014 PyObject
* obj0
= 0 ;
18015 char *kwnames
[] = {
18016 (char *) "self", NULL
18019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
18020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 result
= (bool)(arg1
)->GetEnableOrientation();
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18038 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18039 PyObject
*resultobj
;
18040 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18042 PyObject
* obj0
= 0 ;
18043 char *kwnames
[] = {
18044 (char *) "self", NULL
18047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
18048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 result
= (bool)(arg1
)->GetEnablePaper();
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18066 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18067 PyObject
*resultobj
;
18068 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18070 PyObject
* obj0
= 0 ;
18071 char *kwnames
[] = {
18072 (char *) "self", NULL
18075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
18076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18080 result
= (bool)(arg1
)->GetEnablePrinter();
18082 wxPyEndAllowThreads(__tstate
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18094 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18095 PyObject
*resultobj
;
18096 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18098 PyObject
* obj0
= 0 ;
18099 char *kwnames
[] = {
18100 (char *) "self", NULL
18103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
18104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18108 result
= (bool)(arg1
)->GetEnableHelp();
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18122 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18123 PyObject
*resultobj
;
18124 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18126 PyObject
* obj0
= 0 ;
18127 char *kwnames
[] = {
18128 (char *) "self", NULL
18131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
18132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 result
= (bool)(arg1
)->GetDefaultInfo();
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18150 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18152 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18154 PyObject
* obj0
= 0 ;
18155 char *kwnames
[] = {
18156 (char *) "self", NULL
18159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 result
= (arg1
)->GetMarginTopLeft();
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18170 wxPoint
* resultptr
;
18171 resultptr
= new wxPoint((wxPoint
&) result
);
18172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18180 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18181 PyObject
*resultobj
;
18182 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18184 PyObject
* obj0
= 0 ;
18185 char *kwnames
[] = {
18186 (char *) "self", NULL
18189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18194 result
= (arg1
)->GetMarginBottomRight();
18196 wxPyEndAllowThreads(__tstate
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18200 wxPoint
* resultptr
;
18201 resultptr
= new wxPoint((wxPoint
&) result
);
18202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18210 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18211 PyObject
*resultobj
;
18212 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18214 PyObject
* obj0
= 0 ;
18215 char *kwnames
[] = {
18216 (char *) "self", NULL
18219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18224 result
= (arg1
)->GetMinMarginTopLeft();
18226 wxPyEndAllowThreads(__tstate
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18230 wxPoint
* resultptr
;
18231 resultptr
= new wxPoint((wxPoint
&) result
);
18232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18240 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
;
18242 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18244 PyObject
* obj0
= 0 ;
18245 char *kwnames
[] = {
18246 (char *) "self", NULL
18249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 result
= (arg1
)->GetMinMarginBottomRight();
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18260 wxPoint
* resultptr
;
18261 resultptr
= new wxPoint((wxPoint
&) result
);
18262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18270 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
;
18272 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18274 PyObject
* obj0
= 0 ;
18275 char *kwnames
[] = {
18276 (char *) "self", NULL
18279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 result
= (int)(arg1
)->GetPaperId();
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 resultobj
= SWIG_FromInt((int)result
);
18296 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18300 PyObject
* obj0
= 0 ;
18301 char *kwnames
[] = {
18302 (char *) "self", NULL
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 result
= (arg1
)->GetPaperSize();
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18316 wxSize
* resultptr
;
18317 resultptr
= new wxSize((wxSize
&) result
);
18318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18326 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
;
18328 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18329 wxPrintData
*result
;
18330 PyObject
* obj0
= 0 ;
18331 char *kwnames
[] = {
18332 (char *) "self", NULL
18335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
18336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18342 result
= (wxPrintData
*) &_result_ref
;
18345 wxPyEndAllowThreads(__tstate
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
18355 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18356 PyObject
*resultobj
;
18357 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18359 PyObject
* obj0
= 0 ;
18360 char *kwnames
[] = {
18361 (char *) "self", NULL
18364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
18365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18369 result
= (bool)(arg1
)->Ok();
18371 wxPyEndAllowThreads(__tstate
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18383 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
;
18385 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18387 PyObject
* obj0
= 0 ;
18388 PyObject
* obj1
= 0 ;
18389 char *kwnames
[] = {
18390 (char *) "self",(char *) "flag", NULL
18393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
18394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18396 arg2
= (bool) SWIG_AsBool(obj1
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18400 (arg1
)->SetDefaultInfo(arg2
);
18402 wxPyEndAllowThreads(__tstate
);
18403 if (PyErr_Occurred()) SWIG_fail
;
18405 Py_INCREF(Py_None
); resultobj
= Py_None
;
18412 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18413 PyObject
*resultobj
;
18414 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18416 PyObject
* obj0
= 0 ;
18417 PyObject
* obj1
= 0 ;
18418 char *kwnames
[] = {
18419 (char *) "self",(char *) "flag", NULL
18422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18425 arg2
= (bool) SWIG_AsBool(obj1
);
18426 if (PyErr_Occurred()) SWIG_fail
;
18428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18429 (arg1
)->SetDefaultMinMargins(arg2
);
18431 wxPyEndAllowThreads(__tstate
);
18432 if (PyErr_Occurred()) SWIG_fail
;
18434 Py_INCREF(Py_None
); resultobj
= Py_None
;
18441 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18442 PyObject
*resultobj
;
18443 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18444 wxPoint
*arg2
= 0 ;
18446 PyObject
* obj0
= 0 ;
18447 PyObject
* obj1
= 0 ;
18448 char *kwnames
[] = {
18449 (char *) "self",(char *) "pt", NULL
18452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18457 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
18463 wxPyEndAllowThreads(__tstate
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18466 Py_INCREF(Py_None
); resultobj
= Py_None
;
18473 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18474 PyObject
*resultobj
;
18475 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18476 wxPoint
*arg2
= 0 ;
18478 PyObject
* obj0
= 0 ;
18479 PyObject
* obj1
= 0 ;
18480 char *kwnames
[] = {
18481 (char *) "self",(char *) "pt", NULL
18484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18489 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18498 Py_INCREF(Py_None
); resultobj
= Py_None
;
18505 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18506 PyObject
*resultobj
;
18507 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18508 wxPoint
*arg2
= 0 ;
18510 PyObject
* obj0
= 0 ;
18511 PyObject
* obj1
= 0 ;
18512 char *kwnames
[] = {
18513 (char *) "self",(char *) "pt", NULL
18516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18521 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
18527 wxPyEndAllowThreads(__tstate
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18530 Py_INCREF(Py_None
); resultobj
= Py_None
;
18537 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18538 PyObject
*resultobj
;
18539 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18540 wxPoint
*arg2
= 0 ;
18542 PyObject
* obj0
= 0 ;
18543 PyObject
* obj1
= 0 ;
18544 char *kwnames
[] = {
18545 (char *) "self",(char *) "pt", NULL
18548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18553 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18557 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
18559 wxPyEndAllowThreads(__tstate
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18562 Py_INCREF(Py_None
); resultobj
= Py_None
;
18569 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18570 PyObject
*resultobj
;
18571 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18573 PyObject
* obj0
= 0 ;
18574 PyObject
* obj1
= 0 ;
18575 char *kwnames
[] = {
18576 (char *) "self",(char *) "id", NULL
18579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18582 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18586 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18588 wxPyEndAllowThreads(__tstate
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18591 Py_INCREF(Py_None
); resultobj
= Py_None
;
18598 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18599 PyObject
*resultobj
;
18600 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18603 PyObject
* obj0
= 0 ;
18604 PyObject
* obj1
= 0 ;
18605 char *kwnames
[] = {
18606 (char *) "self",(char *) "size", NULL
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18614 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18618 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18623 Py_INCREF(Py_None
); resultobj
= Py_None
;
18630 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18631 PyObject
*resultobj
;
18632 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18633 wxPrintData
*arg2
= 0 ;
18634 PyObject
* obj0
= 0 ;
18635 PyObject
* obj1
= 0 ;
18636 char *kwnames
[] = {
18637 (char *) "self",(char *) "printData", NULL
18640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
18644 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18646 if (arg2
== NULL
) {
18647 PyErr_SetString(PyExc_TypeError
,"null reference");
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18657 Py_INCREF(Py_None
); resultobj
= Py_None
;
18664 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
18666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18667 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
18669 return Py_BuildValue((char *)"");
18671 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18672 PyObject
*resultobj
;
18673 wxWindow
*arg1
= (wxWindow
*) 0 ;
18674 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
18675 wxPageSetupDialog
*result
;
18676 PyObject
* obj0
= 0 ;
18677 PyObject
* obj1
= 0 ;
18678 char *kwnames
[] = {
18679 (char *) "parent",(char *) "data", NULL
18682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
18687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18691 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
18703 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
;
18705 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18706 wxPageSetupDialogData
*result
;
18707 PyObject
* obj0
= 0 ;
18708 char *kwnames
[] = {
18709 (char *) "self", NULL
18712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
18713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
18714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
18719 result
= (wxPageSetupDialogData
*) &_result_ref
;
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
18732 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18736 PyObject
* obj0
= 0 ;
18737 char *kwnames
[] = {
18738 (char *) "self", NULL
18741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
18743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18746 result
= (int)(arg1
)->ShowModal();
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18751 resultobj
= SWIG_FromInt((int)result
);
18758 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
18760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18761 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
18763 return Py_BuildValue((char *)"");
18765 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
18766 PyObject
*resultobj
;
18767 wxPrintDialogData
*result
;
18769 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
18771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18772 result
= (wxPrintDialogData
*)new wxPrintDialogData();
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
18784 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
18785 PyObject
*resultobj
;
18786 wxPrintData
*arg1
= 0 ;
18787 wxPrintDialogData
*result
;
18788 PyObject
* obj0
= 0 ;
18790 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
18791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18794 if (arg1
== NULL
) {
18795 PyErr_SetString(PyExc_TypeError
,"null reference");
18799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18800 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
18812 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
18817 argc
= PyObject_Length(args
);
18818 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18819 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18822 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
18828 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18836 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
18840 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
18845 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
;
18847 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18848 PyObject
* obj0
= 0 ;
18849 char *kwnames
[] = {
18850 (char *) "self", NULL
18853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
18854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18863 Py_INCREF(Py_None
); resultobj
= Py_None
;
18870 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
;
18872 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18874 PyObject
* obj0
= 0 ;
18875 char *kwnames
[] = {
18876 (char *) "self", NULL
18879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
18880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18889 resultobj
= SWIG_FromInt((int)result
);
18896 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
;
18898 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18900 PyObject
* obj0
= 0 ;
18901 char *kwnames
[] = {
18902 (char *) "self", NULL
18905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
18906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18915 resultobj
= SWIG_FromInt((int)result
);
18922 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18923 PyObject
*resultobj
;
18924 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18926 PyObject
* obj0
= 0 ;
18927 char *kwnames
[] = {
18928 (char *) "self", NULL
18931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
18932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 resultobj
= SWIG_FromInt((int)result
);
18948 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18952 PyObject
* obj0
= 0 ;
18953 char *kwnames
[] = {
18954 (char *) "self", NULL
18957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
18958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
18964 wxPyEndAllowThreads(__tstate
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18967 resultobj
= SWIG_FromInt((int)result
);
18974 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
;
18976 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18978 PyObject
* obj0
= 0 ;
18979 char *kwnames
[] = {
18980 (char *) "self", NULL
18983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18988 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
18990 wxPyEndAllowThreads(__tstate
);
18991 if (PyErr_Occurred()) SWIG_fail
;
18993 resultobj
= SWIG_FromInt((int)result
);
19000 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19001 PyObject
*resultobj
;
19002 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19004 PyObject
* obj0
= 0 ;
19005 char *kwnames
[] = {
19006 (char *) "self", NULL
19009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
19010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19014 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
19016 wxPyEndAllowThreads(__tstate
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19028 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
;
19030 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19032 PyObject
* obj0
= 0 ;
19033 char *kwnames
[] = {
19034 (char *) "self", NULL
19037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
19038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19042 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
19044 wxPyEndAllowThreads(__tstate
);
19045 if (PyErr_Occurred()) SWIG_fail
;
19048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19056 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19057 PyObject
*resultobj
;
19058 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19060 PyObject
* obj0
= 0 ;
19061 char *kwnames
[] = {
19062 (char *) "self", NULL
19065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
19066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19070 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
19072 wxPyEndAllowThreads(__tstate
);
19073 if (PyErr_Occurred()) SWIG_fail
;
19076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19084 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19085 PyObject
*resultobj
;
19086 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19088 PyObject
* obj0
= 0 ;
19089 char *kwnames
[] = {
19090 (char *) "self", NULL
19093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
19094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19098 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
19100 wxPyEndAllowThreads(__tstate
);
19101 if (PyErr_Occurred()) SWIG_fail
;
19104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19112 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19113 PyObject
*resultobj
;
19114 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19116 PyObject
* obj0
= 0 ;
19117 char *kwnames
[] = {
19118 (char *) "self", NULL
19121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
19122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19126 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
19128 wxPyEndAllowThreads(__tstate
);
19129 if (PyErr_Occurred()) SWIG_fail
;
19132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19140 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
;
19142 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19144 PyObject
* obj0
= 0 ;
19145 PyObject
* obj1
= 0 ;
19146 char *kwnames
[] = {
19147 (char *) "self",(char *) "v", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19153 arg2
= (int) SWIG_AsInt(obj1
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19157 (arg1
)->SetFromPage(arg2
);
19159 wxPyEndAllowThreads(__tstate
);
19160 if (PyErr_Occurred()) SWIG_fail
;
19162 Py_INCREF(Py_None
); resultobj
= Py_None
;
19169 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19170 PyObject
*resultobj
;
19171 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19173 PyObject
* obj0
= 0 ;
19174 PyObject
* obj1
= 0 ;
19175 char *kwnames
[] = {
19176 (char *) "self",(char *) "v", NULL
19179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19182 arg2
= (int) SWIG_AsInt(obj1
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 (arg1
)->SetToPage(arg2
);
19188 wxPyEndAllowThreads(__tstate
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19191 Py_INCREF(Py_None
); resultobj
= Py_None
;
19198 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
;
19200 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19202 PyObject
* obj0
= 0 ;
19203 PyObject
* obj1
= 0 ;
19204 char *kwnames
[] = {
19205 (char *) "self",(char *) "v", NULL
19208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19211 arg2
= (int) SWIG_AsInt(obj1
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 (arg1
)->SetMinPage(arg2
);
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19220 Py_INCREF(Py_None
); resultobj
= Py_None
;
19227 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19228 PyObject
*resultobj
;
19229 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19231 PyObject
* obj0
= 0 ;
19232 PyObject
* obj1
= 0 ;
19233 char *kwnames
[] = {
19234 (char *) "self",(char *) "v", NULL
19237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19240 arg2
= (int) SWIG_AsInt(obj1
);
19241 if (PyErr_Occurred()) SWIG_fail
;
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 (arg1
)->SetMaxPage(arg2
);
19246 wxPyEndAllowThreads(__tstate
);
19247 if (PyErr_Occurred()) SWIG_fail
;
19249 Py_INCREF(Py_None
); resultobj
= Py_None
;
19256 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19257 PyObject
*resultobj
;
19258 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19260 PyObject
* obj0
= 0 ;
19261 PyObject
* obj1
= 0 ;
19262 char *kwnames
[] = {
19263 (char *) "self",(char *) "v", NULL
19266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
19267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19269 arg2
= (int) SWIG_AsInt(obj1
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19273 (arg1
)->SetNoCopies(arg2
);
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19278 Py_INCREF(Py_None
); resultobj
= Py_None
;
19285 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
;
19287 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19289 PyObject
* obj0
= 0 ;
19290 PyObject
* obj1
= 0 ;
19291 char *kwnames
[] = {
19292 (char *) "self",(char *) "flag", NULL
19295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
19296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19298 arg2
= (bool) SWIG_AsBool(obj1
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 (arg1
)->SetAllPages(arg2
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19307 Py_INCREF(Py_None
); resultobj
= Py_None
;
19314 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
;
19316 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19318 PyObject
* obj0
= 0 ;
19319 PyObject
* obj1
= 0 ;
19320 char *kwnames
[] = {
19321 (char *) "self",(char *) "flag", NULL
19324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19327 arg2
= (bool) SWIG_AsBool(obj1
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19331 (arg1
)->SetSelection(arg2
);
19333 wxPyEndAllowThreads(__tstate
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19336 Py_INCREF(Py_None
); resultobj
= Py_None
;
19343 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19344 PyObject
*resultobj
;
19345 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19347 PyObject
* obj0
= 0 ;
19348 PyObject
* obj1
= 0 ;
19349 char *kwnames
[] = {
19350 (char *) "self",(char *) "flag", NULL
19353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
19354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19356 arg2
= (bool) SWIG_AsBool(obj1
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19360 (arg1
)->SetCollate(arg2
);
19362 wxPyEndAllowThreads(__tstate
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19365 Py_INCREF(Py_None
); resultobj
= Py_None
;
19372 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19373 PyObject
*resultobj
;
19374 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19376 PyObject
* obj0
= 0 ;
19377 PyObject
* obj1
= 0 ;
19378 char *kwnames
[] = {
19379 (char *) "self",(char *) "flag", NULL
19382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19385 arg2
= (bool) SWIG_AsBool(obj1
);
19386 if (PyErr_Occurred()) SWIG_fail
;
19388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19389 (arg1
)->SetPrintToFile(arg2
);
19391 wxPyEndAllowThreads(__tstate
);
19392 if (PyErr_Occurred()) SWIG_fail
;
19394 Py_INCREF(Py_None
); resultobj
= Py_None
;
19401 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19402 PyObject
*resultobj
;
19403 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19405 PyObject
* obj0
= 0 ;
19406 PyObject
* obj1
= 0 ;
19407 char *kwnames
[] = {
19408 (char *) "self",(char *) "flag", NULL
19411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19414 arg2
= (bool) SWIG_AsBool(obj1
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 (arg1
)->SetSetupDialog(arg2
);
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19423 Py_INCREF(Py_None
); resultobj
= Py_None
;
19430 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
;
19432 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19434 PyObject
* obj0
= 0 ;
19435 PyObject
* obj1
= 0 ;
19436 char *kwnames
[] = {
19437 (char *) "self",(char *) "flag", NULL
19440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19443 arg2
= (bool) SWIG_AsBool(obj1
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19447 (arg1
)->EnablePrintToFile(arg2
);
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19452 Py_INCREF(Py_None
); resultobj
= Py_None
;
19459 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
;
19461 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19463 PyObject
* obj0
= 0 ;
19464 PyObject
* obj1
= 0 ;
19465 char *kwnames
[] = {
19466 (char *) "self",(char *) "flag", NULL
19469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19472 arg2
= (bool) SWIG_AsBool(obj1
);
19473 if (PyErr_Occurred()) SWIG_fail
;
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19476 (arg1
)->EnableSelection(arg2
);
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19481 Py_INCREF(Py_None
); resultobj
= Py_None
;
19488 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
;
19490 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19492 PyObject
* obj0
= 0 ;
19493 PyObject
* obj1
= 0 ;
19494 char *kwnames
[] = {
19495 (char *) "self",(char *) "flag", NULL
19498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
19499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19501 arg2
= (bool) SWIG_AsBool(obj1
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19505 (arg1
)->EnablePageNumbers(arg2
);
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 Py_INCREF(Py_None
); resultobj
= Py_None
;
19517 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19518 PyObject
*resultobj
;
19519 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19521 PyObject
* obj0
= 0 ;
19522 PyObject
* obj1
= 0 ;
19523 char *kwnames
[] = {
19524 (char *) "self",(char *) "flag", NULL
19527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19530 arg2
= (bool) SWIG_AsBool(obj1
);
19531 if (PyErr_Occurred()) SWIG_fail
;
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 (arg1
)->EnableHelp(arg2
);
19536 wxPyEndAllowThreads(__tstate
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19539 Py_INCREF(Py_None
); resultobj
= Py_None
;
19546 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19547 PyObject
*resultobj
;
19548 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19550 PyObject
* obj0
= 0 ;
19551 char *kwnames
[] = {
19552 (char *) "self", NULL
19555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
19556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19560 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
19562 wxPyEndAllowThreads(__tstate
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19574 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19575 PyObject
*resultobj
;
19576 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19578 PyObject
* obj0
= 0 ;
19579 char *kwnames
[] = {
19580 (char *) "self", NULL
19583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
19584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19588 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
19590 wxPyEndAllowThreads(__tstate
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19602 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
;
19604 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19606 PyObject
* obj0
= 0 ;
19607 char *kwnames
[] = {
19608 (char *) "self", NULL
19611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
19612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19616 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
19618 wxPyEndAllowThreads(__tstate
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19630 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19631 PyObject
*resultobj
;
19632 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19634 PyObject
* obj0
= 0 ;
19635 char *kwnames
[] = {
19636 (char *) "self", NULL
19639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19644 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19658 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
;
19660 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19662 PyObject
* obj0
= 0 ;
19663 char *kwnames
[] = {
19664 (char *) "self", NULL
19667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
19674 wxPyEndAllowThreads(__tstate
);
19675 if (PyErr_Occurred()) SWIG_fail
;
19678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19686 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
;
19688 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19689 wxPrintData
*result
;
19690 PyObject
* obj0
= 0 ;
19691 char *kwnames
[] = {
19692 (char *) "self", NULL
19695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19701 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19702 result
= (wxPrintData
*) &_result_ref
;
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19715 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19716 PyObject
*resultobj
;
19717 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19718 wxPrintData
*arg2
= 0 ;
19719 PyObject
* obj0
= 0 ;
19720 PyObject
* obj1
= 0 ;
19721 char *kwnames
[] = {
19722 (char *) "self",(char *) "printData", NULL
19725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19731 if (arg2
== NULL
) {
19732 PyErr_SetString(PyExc_TypeError
,"null reference");
19736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19739 wxPyEndAllowThreads(__tstate
);
19740 if (PyErr_Occurred()) SWIG_fail
;
19742 Py_INCREF(Py_None
); resultobj
= Py_None
;
19749 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19752 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
19754 return Py_BuildValue((char *)"");
19756 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19757 PyObject
*resultobj
;
19758 wxWindow
*arg1
= (wxWindow
*) 0 ;
19759 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
19760 wxPrintDialog
*result
;
19761 PyObject
* obj0
= 0 ;
19762 PyObject
* obj1
= 0 ;
19763 char *kwnames
[] = {
19764 (char *) "parent",(char *) "data", NULL
19767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
19772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19776 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
19778 wxPyEndAllowThreads(__tstate
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
19788 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19789 PyObject
*resultobj
;
19790 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19791 wxPrintDialogData
*result
;
19792 PyObject
* obj0
= 0 ;
19793 char *kwnames
[] = {
19794 (char *) "self", NULL
19797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19803 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19804 result
= (wxPrintDialogData
*) &_result_ref
;
19807 wxPyEndAllowThreads(__tstate
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
19817 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19818 PyObject
*resultobj
;
19819 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19821 PyObject
* obj0
= 0 ;
19822 char *kwnames
[] = {
19823 (char *) "self", NULL
19826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
19827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 result
= (wxDC
*)(arg1
)->GetPrintDC();
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19837 resultobj
= wxPyMake_wxObject(result
);
19845 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
;
19847 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19849 PyObject
* obj0
= 0 ;
19850 char *kwnames
[] = {
19851 (char *) "self", NULL
19854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19859 result
= (int)(arg1
)->ShowModal();
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19864 resultobj
= SWIG_FromInt((int)result
);
19871 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19874 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
19876 return Py_BuildValue((char *)"");
19878 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19879 PyObject
*resultobj
;
19880 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
19882 PyObject
* obj0
= 0 ;
19883 char *kwnames
[] = {
19884 (char *) "data", NULL
19887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
19889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 result
= (wxPrinter
*)new wxPrinter(arg1
);
19896 wxPyEndAllowThreads(__tstate
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
19906 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19907 PyObject
*resultobj
;
19908 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19909 PyObject
* obj0
= 0 ;
19910 char *kwnames
[] = {
19911 (char *) "self", NULL
19914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
19915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19924 Py_INCREF(Py_None
); resultobj
= Py_None
;
19931 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19932 PyObject
*resultobj
;
19933 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19934 wxWindow
*arg2
= (wxWindow
*) 0 ;
19935 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19936 PyObject
* obj0
= 0 ;
19937 PyObject
* obj1
= 0 ;
19938 PyObject
* obj2
= 0 ;
19939 char *kwnames
[] = {
19940 (char *) "self",(char *) "parent",(char *) "printout", NULL
19943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19948 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
19949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 (arg1
)->CreateAbortWindow(arg2
,arg3
);
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19957 Py_INCREF(Py_None
); resultobj
= Py_None
;
19964 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19965 PyObject
*resultobj
;
19966 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19967 wxPrintDialogData
*result
;
19968 PyObject
* obj0
= 0 ;
19969 char *kwnames
[] = {
19970 (char *) "self", NULL
19973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19979 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19980 result
= (wxPrintDialogData
*) &_result_ref
;
19983 wxPyEndAllowThreads(__tstate
);
19984 if (PyErr_Occurred()) SWIG_fail
;
19986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
19993 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19994 PyObject
*resultobj
;
19995 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19996 wxWindow
*arg2
= (wxWindow
*) 0 ;
19997 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19998 int arg4
= (int) True
;
20000 PyObject
* obj0
= 0 ;
20001 PyObject
* obj1
= 0 ;
20002 PyObject
* obj2
= 0 ;
20003 PyObject
* obj3
= 0 ;
20004 char *kwnames
[] = {
20005 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
20008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20013 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20016 arg4
= (int) SWIG_AsInt(obj3
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20021 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
20023 wxPyEndAllowThreads(__tstate
);
20024 if (PyErr_Occurred()) SWIG_fail
;
20027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20035 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
;
20037 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20038 wxWindow
*arg2
= (wxWindow
*) 0 ;
20040 PyObject
* obj0
= 0 ;
20041 PyObject
* obj1
= 0 ;
20042 char *kwnames
[] = {
20043 (char *) "self",(char *) "parent", NULL
20046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20053 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
20055 wxPyEndAllowThreads(__tstate
);
20056 if (PyErr_Occurred()) SWIG_fail
;
20059 resultobj
= wxPyMake_wxObject(result
);
20067 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20068 PyObject
*resultobj
;
20069 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20070 wxWindow
*arg2
= (wxWindow
*) 0 ;
20071 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20072 wxString
*arg4
= 0 ;
20073 bool temp4
= False
;
20074 PyObject
* obj0
= 0 ;
20075 PyObject
* obj1
= 0 ;
20076 PyObject
* obj2
= 0 ;
20077 PyObject
* obj3
= 0 ;
20078 char *kwnames
[] = {
20079 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
20082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20087 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20090 arg4
= wxString_in_helper(obj3
);
20091 if (arg4
== NULL
) SWIG_fail
;
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 Py_INCREF(Py_None
); resultobj
= Py_None
;
20116 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
;
20118 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20119 wxWindow
*arg2
= (wxWindow
*) 0 ;
20121 PyObject
* obj0
= 0 ;
20122 PyObject
* obj1
= 0 ;
20123 char *kwnames
[] = {
20124 (char *) "self",(char *) "parent", NULL
20127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
20128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 result
= (bool)(arg1
)->Setup(arg2
);
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20148 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
;
20150 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20152 PyObject
* obj0
= 0 ;
20153 char *kwnames
[] = {
20154 (char *) "self", NULL
20157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
20158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= (bool)(arg1
)->GetAbort();
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20176 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
;
20179 char *kwnames
[] = {
20183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
20185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20186 result
= (int)wxPrinter::GetLastError();
20188 wxPyEndAllowThreads(__tstate
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20191 resultobj
= SWIG_FromInt((int)result
);
20198 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
20200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20201 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
20203 return Py_BuildValue((char *)"");
20205 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20206 PyObject
*resultobj
;
20207 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
20208 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
20209 wxPyPrintout
*result
;
20210 bool temp1
= False
;
20211 PyObject
* obj0
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "title", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
20219 arg1
= wxString_in_helper(obj0
);
20220 if (arg1
== NULL
) SWIG_fail
;
20225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20226 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= wxPyMake_wxObject(result
);
20248 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20249 PyObject
*resultobj
;
20250 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20251 PyObject
*arg2
= (PyObject
*) 0 ;
20252 PyObject
*arg3
= (PyObject
*) 0 ;
20253 PyObject
* obj0
= 0 ;
20254 PyObject
* obj1
= 0 ;
20255 PyObject
* obj2
= 0 ;
20256 char *kwnames
[] = {
20257 (char *) "self",(char *) "self",(char *) "_class", NULL
20260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20267 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20269 wxPyEndAllowThreads(__tstate
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20272 Py_INCREF(Py_None
); resultobj
= Py_None
;
20279 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20281 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20283 PyObject
* obj0
= 0 ;
20284 char *kwnames
[] = {
20285 (char *) "self", NULL
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
20289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20293 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
20295 wxPyEndAllowThreads(__tstate
);
20296 if (PyErr_Occurred()) SWIG_fail
;
20300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20311 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
;
20313 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20315 PyObject
* obj0
= 0 ;
20316 char *kwnames
[] = {
20317 (char *) "self", NULL
20320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
20321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20325 result
= (wxDC
*)(arg1
)->GetDC();
20327 wxPyEndAllowThreads(__tstate
);
20328 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= wxPyMake_wxObject(result
);
20339 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20340 PyObject
*resultobj
;
20341 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20342 wxDC
*arg2
= (wxDC
*) 0 ;
20343 PyObject
* obj0
= 0 ;
20344 PyObject
* obj1
= 0 ;
20345 char *kwnames
[] = {
20346 (char *) "self",(char *) "dc", NULL
20349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
20350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
20353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20356 (arg1
)->SetDC(arg2
);
20358 wxPyEndAllowThreads(__tstate
);
20359 if (PyErr_Occurred()) SWIG_fail
;
20361 Py_INCREF(Py_None
); resultobj
= Py_None
;
20368 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20369 PyObject
*resultobj
;
20370 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20373 PyObject
* obj0
= 0 ;
20374 PyObject
* obj1
= 0 ;
20375 PyObject
* obj2
= 0 ;
20376 char *kwnames
[] = {
20377 (char *) "self",(char *) "w",(char *) "h", NULL
20380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20383 arg2
= (int) SWIG_AsInt(obj1
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20385 arg3
= (int) SWIG_AsInt(obj2
);
20386 if (PyErr_Occurred()) SWIG_fail
;
20388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20389 (arg1
)->SetPageSizePixels(arg2
,arg3
);
20391 wxPyEndAllowThreads(__tstate
);
20392 if (PyErr_Occurred()) SWIG_fail
;
20394 Py_INCREF(Py_None
); resultobj
= Py_None
;
20401 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20402 PyObject
*resultobj
;
20403 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20404 int *arg2
= (int *) 0 ;
20405 int *arg3
= (int *) 0 ;
20408 PyObject
* obj0
= 0 ;
20409 char *kwnames
[] = {
20410 (char *) "self", NULL
20415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
20416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 (arg1
)->GetPageSizePixels(arg2
,arg3
);
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20425 Py_INCREF(Py_None
); resultobj
= Py_None
;
20427 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20428 resultobj
= t_output_helper(resultobj
,o
);
20431 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20432 resultobj
= t_output_helper(resultobj
,o
);
20440 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20441 PyObject
*resultobj
;
20442 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20445 PyObject
* obj0
= 0 ;
20446 PyObject
* obj1
= 0 ;
20447 PyObject
* obj2
= 0 ;
20448 char *kwnames
[] = {
20449 (char *) "self",(char *) "w",(char *) "h", NULL
20452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20455 arg2
= (int) SWIG_AsInt(obj1
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20457 arg3
= (int) SWIG_AsInt(obj2
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20461 (arg1
)->SetPageSizeMM(arg2
,arg3
);
20463 wxPyEndAllowThreads(__tstate
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20466 Py_INCREF(Py_None
); resultobj
= Py_None
;
20473 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20474 PyObject
*resultobj
;
20475 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20476 int *arg2
= (int *) 0 ;
20477 int *arg3
= (int *) 0 ;
20480 PyObject
* obj0
= 0 ;
20481 char *kwnames
[] = {
20482 (char *) "self", NULL
20487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
20488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 (arg1
)->GetPageSizeMM(arg2
,arg3
);
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 Py_INCREF(Py_None
); resultobj
= Py_None
;
20499 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20500 resultobj
= t_output_helper(resultobj
,o
);
20503 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20504 resultobj
= t_output_helper(resultobj
,o
);
20512 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
;
20514 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20517 PyObject
* obj0
= 0 ;
20518 PyObject
* obj1
= 0 ;
20519 PyObject
* obj2
= 0 ;
20520 char *kwnames
[] = {
20521 (char *) "self",(char *) "x",(char *) "y", NULL
20524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20527 arg2
= (int) SWIG_AsInt(obj1
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20529 arg3
= (int) SWIG_AsInt(obj2
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 (arg1
)->SetPPIScreen(arg2
,arg3
);
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 Py_INCREF(Py_None
); resultobj
= Py_None
;
20545 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
;
20547 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20548 int *arg2
= (int *) 0 ;
20549 int *arg3
= (int *) 0 ;
20552 PyObject
* obj0
= 0 ;
20553 char *kwnames
[] = {
20554 (char *) "self", NULL
20559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
20560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20564 (arg1
)->GetPPIScreen(arg2
,arg3
);
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20569 Py_INCREF(Py_None
); resultobj
= Py_None
;
20571 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20572 resultobj
= t_output_helper(resultobj
,o
);
20575 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20576 resultobj
= t_output_helper(resultobj
,o
);
20584 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
;
20586 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20589 PyObject
* obj0
= 0 ;
20590 PyObject
* obj1
= 0 ;
20591 PyObject
* obj2
= 0 ;
20592 char *kwnames
[] = {
20593 (char *) "self",(char *) "x",(char *) "y", NULL
20596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20599 arg2
= (int) SWIG_AsInt(obj1
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20601 arg3
= (int) SWIG_AsInt(obj2
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 (arg1
)->SetPPIPrinter(arg2
,arg3
);
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20610 Py_INCREF(Py_None
); resultobj
= Py_None
;
20617 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20618 PyObject
*resultobj
;
20619 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20620 int *arg2
= (int *) 0 ;
20621 int *arg3
= (int *) 0 ;
20624 PyObject
* obj0
= 0 ;
20625 char *kwnames
[] = {
20626 (char *) "self", NULL
20631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
20632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20636 (arg1
)->GetPPIPrinter(arg2
,arg3
);
20638 wxPyEndAllowThreads(__tstate
);
20639 if (PyErr_Occurred()) SWIG_fail
;
20641 Py_INCREF(Py_None
); resultobj
= Py_None
;
20643 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20644 resultobj
= t_output_helper(resultobj
,o
);
20647 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20648 resultobj
= t_output_helper(resultobj
,o
);
20656 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20657 PyObject
*resultobj
;
20658 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20660 PyObject
* obj0
= 0 ;
20661 char *kwnames
[] = {
20662 (char *) "self", NULL
20665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
20666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 result
= (bool)(arg1
)->IsPreview();
20672 wxPyEndAllowThreads(__tstate
);
20673 if (PyErr_Occurred()) SWIG_fail
;
20676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20684 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20685 PyObject
*resultobj
;
20686 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20688 PyObject
* obj0
= 0 ;
20689 PyObject
* obj1
= 0 ;
20690 char *kwnames
[] = {
20691 (char *) "self",(char *) "p", NULL
20694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20697 arg2
= (bool) SWIG_AsBool(obj1
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 (arg1
)->SetIsPreview(arg2
);
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 Py_INCREF(Py_None
); resultobj
= Py_None
;
20713 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
;
20715 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20719 PyObject
* obj0
= 0 ;
20720 PyObject
* obj1
= 0 ;
20721 PyObject
* obj2
= 0 ;
20722 char *kwnames
[] = {
20723 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20729 arg2
= (int) SWIG_AsInt(obj1
);
20730 if (PyErr_Occurred()) SWIG_fail
;
20731 arg3
= (int) SWIG_AsInt(obj2
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20735 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
20737 wxPyEndAllowThreads(__tstate
);
20738 if (PyErr_Occurred()) SWIG_fail
;
20741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20749 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20750 PyObject
*resultobj
;
20751 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20752 PyObject
* obj0
= 0 ;
20753 char *kwnames
[] = {
20754 (char *) "self", NULL
20757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
20758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 (arg1
)->base_OnEndDocument();
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 Py_INCREF(Py_None
); resultobj
= Py_None
;
20774 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
;
20776 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20777 PyObject
* obj0
= 0 ;
20778 char *kwnames
[] = {
20779 (char *) "self", NULL
20782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
20783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 (arg1
)->base_OnBeginPrinting();
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20792 Py_INCREF(Py_None
); resultobj
= Py_None
;
20799 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20800 PyObject
*resultobj
;
20801 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20802 PyObject
* obj0
= 0 ;
20803 char *kwnames
[] = {
20804 (char *) "self", NULL
20807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
20808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20812 (arg1
)->base_OnEndPrinting();
20814 wxPyEndAllowThreads(__tstate
);
20815 if (PyErr_Occurred()) SWIG_fail
;
20817 Py_INCREF(Py_None
); resultobj
= Py_None
;
20824 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20825 PyObject
*resultobj
;
20826 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20827 PyObject
* obj0
= 0 ;
20828 char *kwnames
[] = {
20829 (char *) "self", NULL
20832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
20833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20837 (arg1
)->base_OnPreparePrinting();
20839 wxPyEndAllowThreads(__tstate
);
20840 if (PyErr_Occurred()) SWIG_fail
;
20842 Py_INCREF(Py_None
); resultobj
= Py_None
;
20849 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20850 PyObject
*resultobj
;
20851 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20854 PyObject
* obj0
= 0 ;
20855 PyObject
* obj1
= 0 ;
20856 char *kwnames
[] = {
20857 (char *) "self",(char *) "page", NULL
20860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20863 arg2
= (int) SWIG_AsInt(obj1
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 result
= (bool)(arg1
)->base_HasPage(arg2
);
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20881 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20882 PyObject
*resultobj
;
20883 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20884 int *arg2
= (int *) 0 ;
20885 int *arg3
= (int *) 0 ;
20886 int *arg4
= (int *) 0 ;
20887 int *arg5
= (int *) 0 ;
20892 PyObject
* obj0
= 0 ;
20893 char *kwnames
[] = {
20894 (char *) "self", NULL
20901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
20902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20906 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
20908 wxPyEndAllowThreads(__tstate
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20911 Py_INCREF(Py_None
); resultobj
= Py_None
;
20913 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20914 resultobj
= t_output_helper(resultobj
,o
);
20917 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20918 resultobj
= t_output_helper(resultobj
,o
);
20921 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
20922 resultobj
= t_output_helper(resultobj
,o
);
20925 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
20926 resultobj
= t_output_helper(resultobj
,o
);
20934 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
20936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20937 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
20939 return Py_BuildValue((char *)"");
20941 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20942 PyObject
*resultobj
;
20943 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20944 wxWindow
*arg2
= (wxWindow
*) 0 ;
20945 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20946 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20947 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20948 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20949 long arg5
= (long) 0 ;
20950 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
20951 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20952 wxPreviewCanvas
*result
;
20955 bool temp6
= False
;
20956 PyObject
* obj0
= 0 ;
20957 PyObject
* obj1
= 0 ;
20958 PyObject
* obj2
= 0 ;
20959 PyObject
* obj3
= 0 ;
20960 PyObject
* obj4
= 0 ;
20961 PyObject
* obj5
= 0 ;
20962 char *kwnames
[] = {
20963 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
20968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20974 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20980 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20984 arg5
= (long) SWIG_AsLong(obj4
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20989 arg6
= wxString_in_helper(obj5
);
20990 if (arg6
== NULL
) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
21016 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
21018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21019 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
21021 return Py_BuildValue((char *)"");
21023 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21025 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21026 wxFrame
*arg2
= (wxFrame
*) 0 ;
21027 wxString
*arg3
= 0 ;
21028 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21029 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21030 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21031 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21032 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21033 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21034 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21035 wxPreviewFrame
*result
;
21036 bool temp3
= False
;
21039 bool temp7
= False
;
21040 PyObject
* obj0
= 0 ;
21041 PyObject
* obj1
= 0 ;
21042 PyObject
* obj2
= 0 ;
21043 PyObject
* obj3
= 0 ;
21044 PyObject
* obj4
= 0 ;
21045 PyObject
* obj5
= 0 ;
21046 PyObject
* obj6
= 0 ;
21047 char *kwnames
[] = {
21048 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
21055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21057 arg3
= wxString_in_helper(obj2
);
21058 if (arg3
== NULL
) SWIG_fail
;
21064 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21070 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21074 arg6
= (long) SWIG_AsLong(obj5
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21079 arg7
= wxString_in_helper(obj6
);
21080 if (arg7
== NULL
) SWIG_fail
;
21085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21086 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
21114 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21115 PyObject
*resultobj
;
21116 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21117 PyObject
* obj0
= 0 ;
21118 char *kwnames
[] = {
21119 (char *) "self", NULL
21122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
21123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 (arg1
)->Initialize();
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 Py_INCREF(Py_None
); resultobj
= Py_None
;
21139 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21140 PyObject
*resultobj
;
21141 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21142 PyObject
* obj0
= 0 ;
21143 char *kwnames
[] = {
21144 (char *) "self", NULL
21147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
21148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 (arg1
)->CreateControlBar();
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21157 Py_INCREF(Py_None
); resultobj
= Py_None
;
21164 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21165 PyObject
*resultobj
;
21166 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21167 PyObject
* obj0
= 0 ;
21168 char *kwnames
[] = {
21169 (char *) "self", NULL
21172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
21173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 (arg1
)->CreateCanvas();
21179 wxPyEndAllowThreads(__tstate
);
21180 if (PyErr_Occurred()) SWIG_fail
;
21182 Py_INCREF(Py_None
); resultobj
= Py_None
;
21189 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
;
21191 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21192 wxPreviewControlBar
*result
;
21193 PyObject
* obj0
= 0 ;
21194 char *kwnames
[] = {
21195 (char *) "self", NULL
21198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
21199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
21215 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
21217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21218 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
21220 return Py_BuildValue((char *)"");
21222 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21223 PyObject
*resultobj
;
21224 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21226 wxWindow
*arg3
= (wxWindow
*) 0 ;
21227 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21228 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21229 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21230 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21231 long arg6
= (long) wxTAB_TRAVERSAL
;
21232 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21233 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21234 wxPreviewControlBar
*result
;
21237 bool temp7
= False
;
21238 PyObject
* obj0
= 0 ;
21239 PyObject
* obj1
= 0 ;
21240 PyObject
* obj2
= 0 ;
21241 PyObject
* obj3
= 0 ;
21242 PyObject
* obj4
= 0 ;
21243 PyObject
* obj5
= 0 ;
21244 PyObject
* obj6
= 0 ;
21245 char *kwnames
[] = {
21246 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21252 arg2
= (long) SWIG_AsLong(obj1
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21254 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
21255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21259 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21265 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21269 arg6
= (long) SWIG_AsLong(obj5
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21274 arg7
= wxString_in_helper(obj6
);
21275 if (arg7
== NULL
) SWIG_fail
;
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
21301 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21302 PyObject
*resultobj
;
21303 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21305 PyObject
* obj0
= 0 ;
21306 char *kwnames
[] = {
21307 (char *) "self", NULL
21310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
21311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21315 result
= (int)(arg1
)->GetZoomControl();
21317 wxPyEndAllowThreads(__tstate
);
21318 if (PyErr_Occurred()) SWIG_fail
;
21320 resultobj
= SWIG_FromInt((int)result
);
21327 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21328 PyObject
*resultobj
;
21329 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21331 PyObject
* obj0
= 0 ;
21332 PyObject
* obj1
= 0 ;
21333 char *kwnames
[] = {
21334 (char *) "self",(char *) "zoom", NULL
21337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
21338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21340 arg2
= (int) SWIG_AsInt(obj1
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21344 (arg1
)->SetZoomControl(arg2
);
21346 wxPyEndAllowThreads(__tstate
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21349 Py_INCREF(Py_None
); resultobj
= Py_None
;
21356 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21357 PyObject
*resultobj
;
21358 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21359 wxPrintPreview
*result
;
21360 PyObject
* obj0
= 0 ;
21361 char *kwnames
[] = {
21362 (char *) "self", NULL
21365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
21366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
21382 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21383 PyObject
*resultobj
;
21384 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21385 PyObject
* obj0
= 0 ;
21386 char *kwnames
[] = {
21387 (char *) "self", NULL
21390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
21391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 wxPyEndAllowThreads(__tstate
);
21398 if (PyErr_Occurred()) SWIG_fail
;
21400 Py_INCREF(Py_None
); resultobj
= Py_None
;
21407 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21408 PyObject
*resultobj
;
21409 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21410 PyObject
* obj0
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "self", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
21416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 (arg1
)->OnPrevious();
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21425 Py_INCREF(Py_None
); resultobj
= Py_None
;
21432 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21433 PyObject
*resultobj
;
21434 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21435 PyObject
* obj0
= 0 ;
21436 char *kwnames
[] = {
21437 (char *) "self", NULL
21440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
21441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21447 wxPyEndAllowThreads(__tstate
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21450 Py_INCREF(Py_None
); resultobj
= Py_None
;
21457 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21458 PyObject
*resultobj
;
21459 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21460 PyObject
* obj0
= 0 ;
21461 char *kwnames
[] = {
21462 (char *) "self", NULL
21465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
21466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21472 wxPyEndAllowThreads(__tstate
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21475 Py_INCREF(Py_None
); resultobj
= Py_None
;
21482 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
;
21484 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21485 PyObject
* obj0
= 0 ;
21486 char *kwnames
[] = {
21487 (char *) "self", NULL
21490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
21491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 Py_INCREF(Py_None
); resultobj
= Py_None
;
21507 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
21509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21510 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
21512 return Py_BuildValue((char *)"");
21514 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
21515 PyObject
*resultobj
;
21516 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21517 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21518 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
21519 wxPrintPreview
*result
;
21520 PyObject
* obj0
= 0 ;
21521 PyObject
* obj1
= 0 ;
21522 PyObject
* obj2
= 0 ;
21524 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
21525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21530 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
21531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21535 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
21537 wxPyEndAllowThreads(__tstate
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
21547 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
21548 PyObject
*resultobj
;
21549 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21550 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21551 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
21552 wxPrintPreview
*result
;
21553 PyObject
* obj0
= 0 ;
21554 PyObject
* obj1
= 0 ;
21555 PyObject
* obj2
= 0 ;
21557 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
21558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21562 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
21563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
21578 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
21583 argc
= PyObject_Length(args
);
21584 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
21585 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21587 if ((argc
>= 2) && (argc
<= 3)) {
21591 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21601 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21610 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
21614 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
21622 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
21631 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21641 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21651 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21659 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
21665 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
21670 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21671 PyObject
*resultobj
;
21672 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21675 PyObject
* obj0
= 0 ;
21676 PyObject
* obj1
= 0 ;
21677 char *kwnames
[] = {
21678 (char *) "self",(char *) "pageNum", NULL
21681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21684 arg2
= (int) SWIG_AsInt(obj1
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21702 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21703 PyObject
*resultobj
;
21704 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21706 PyObject
* obj0
= 0 ;
21707 char *kwnames
[] = {
21708 (char *) "self", NULL
21711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
21712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21716 result
= (int)(arg1
)->GetCurrentPage();
21718 wxPyEndAllowThreads(__tstate
);
21719 if (PyErr_Occurred()) SWIG_fail
;
21721 resultobj
= SWIG_FromInt((int)result
);
21728 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21729 PyObject
*resultobj
;
21730 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21731 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21732 PyObject
* obj0
= 0 ;
21733 PyObject
* obj1
= 0 ;
21734 char *kwnames
[] = {
21735 (char *) "self",(char *) "printout", NULL
21738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
21739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 (arg1
)->SetPrintout(arg2
);
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21750 Py_INCREF(Py_None
); resultobj
= Py_None
;
21757 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21758 PyObject
*resultobj
;
21759 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21760 wxPyPrintout
*result
;
21761 PyObject
* obj0
= 0 ;
21762 char *kwnames
[] = {
21763 (char *) "self", NULL
21766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
21767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
21773 wxPyEndAllowThreads(__tstate
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21777 resultobj
= wxPyMake_wxObject(result
);
21785 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21786 PyObject
*resultobj
;
21787 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21788 wxPyPrintout
*result
;
21789 PyObject
* obj0
= 0 ;
21790 char *kwnames
[] = {
21791 (char *) "self", NULL
21794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
21795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21799 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
21801 wxPyEndAllowThreads(__tstate
);
21802 if (PyErr_Occurred()) SWIG_fail
;
21805 resultobj
= wxPyMake_wxObject(result
);
21813 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21814 PyObject
*resultobj
;
21815 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21816 wxFrame
*arg2
= (wxFrame
*) 0 ;
21817 PyObject
* obj0
= 0 ;
21818 PyObject
* obj1
= 0 ;
21819 char *kwnames
[] = {
21820 (char *) "self",(char *) "frame", NULL
21823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
21824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
21827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 (arg1
)->SetFrame(arg2
);
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21835 Py_INCREF(Py_None
); resultobj
= Py_None
;
21842 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21845 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21846 PyObject
* obj0
= 0 ;
21847 PyObject
* obj1
= 0 ;
21848 char *kwnames
[] = {
21849 (char *) "self",(char *) "canvas", NULL
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
21853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 (arg1
)->SetCanvas(arg2
);
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 Py_INCREF(Py_None
); resultobj
= Py_None
;
21871 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21872 PyObject
*resultobj
;
21873 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21875 PyObject
* obj0
= 0 ;
21876 char *kwnames
[] = {
21877 (char *) "self", NULL
21880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
21881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 result
= (wxFrame
*)(arg1
)->GetFrame();
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21891 resultobj
= wxPyMake_wxObject(result
);
21899 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
;
21901 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21902 wxPreviewCanvas
*result
;
21903 PyObject
* obj0
= 0 ;
21904 char *kwnames
[] = {
21905 (char *) "self", NULL
21908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
21909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
21925 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21926 PyObject
*resultobj
;
21927 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21928 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21931 PyObject
* obj0
= 0 ;
21932 PyObject
* obj1
= 0 ;
21933 PyObject
* obj2
= 0 ;
21934 char *kwnames
[] = {
21935 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21941 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21943 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
21944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21946 if (arg3
== NULL
) {
21947 PyErr_SetString(PyExc_TypeError
,"null reference");
21951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21966 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
;
21968 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21969 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21972 PyObject
* obj0
= 0 ;
21973 PyObject
* obj1
= 0 ;
21974 PyObject
* obj2
= 0 ;
21975 char *kwnames
[] = {
21976 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21984 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
21985 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21987 if (arg3
== NULL
) {
21988 PyErr_SetString(PyExc_TypeError
,"null reference");
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
21995 wxPyEndAllowThreads(__tstate
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22007 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22008 PyObject
*resultobj
;
22009 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22012 PyObject
* obj0
= 0 ;
22013 PyObject
* obj1
= 0 ;
22014 char *kwnames
[] = {
22015 (char *) "self",(char *) "pageNum", NULL
22018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22021 arg2
= (int) SWIG_AsInt(obj1
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22025 result
= (bool)(arg1
)->RenderPage(arg2
);
22027 wxPyEndAllowThreads(__tstate
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22039 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22040 PyObject
*resultobj
;
22041 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22042 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22043 PyObject
* obj0
= 0 ;
22044 PyObject
* obj1
= 0 ;
22045 char *kwnames
[] = {
22046 (char *) "self",(char *) "canvas", NULL
22049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
22050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 (arg1
)->AdjustScrollbars(arg2
);
22058 wxPyEndAllowThreads(__tstate
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22061 Py_INCREF(Py_None
); resultobj
= Py_None
;
22068 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22069 PyObject
*resultobj
;
22070 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22071 wxPrintDialogData
*result
;
22072 PyObject
* obj0
= 0 ;
22073 char *kwnames
[] = {
22074 (char *) "self", NULL
22077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
22084 result
= (wxPrintDialogData
*) &_result_ref
;
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22097 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
;
22099 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22101 PyObject
* obj0
= 0 ;
22102 PyObject
* obj1
= 0 ;
22103 char *kwnames
[] = {
22104 (char *) "self",(char *) "percent", NULL
22107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
22108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22110 arg2
= (int) SWIG_AsInt(obj1
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 (arg1
)->SetZoom(arg2
);
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 Py_INCREF(Py_None
); resultobj
= Py_None
;
22126 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22127 PyObject
*resultobj
;
22128 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22130 PyObject
* obj0
= 0 ;
22131 char *kwnames
[] = {
22132 (char *) "self", NULL
22135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
22136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22140 result
= (int)(arg1
)->GetZoom();
22142 wxPyEndAllowThreads(__tstate
);
22143 if (PyErr_Occurred()) SWIG_fail
;
22145 resultobj
= SWIG_FromInt((int)result
);
22152 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22153 PyObject
*resultobj
;
22154 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22156 PyObject
* obj0
= 0 ;
22157 char *kwnames
[] = {
22158 (char *) "self", NULL
22161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
22162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 result
= (int)(arg1
)->GetMaxPage();
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 resultobj
= SWIG_FromInt((int)result
);
22178 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22180 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22182 PyObject
* obj0
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "self", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
22188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= (int)(arg1
)->GetMinPage();
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22197 resultobj
= SWIG_FromInt((int)result
);
22204 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22205 PyObject
*resultobj
;
22206 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22208 PyObject
* obj0
= 0 ;
22209 char *kwnames
[] = {
22210 (char *) "self", NULL
22213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
22214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 result
= (bool)(arg1
)->Ok();
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22232 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22236 PyObject
* obj0
= 0 ;
22237 PyObject
* obj1
= 0 ;
22238 char *kwnames
[] = {
22239 (char *) "self",(char *) "ok", NULL
22242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
22243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22245 arg2
= (bool) SWIG_AsBool(obj1
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22249 (arg1
)->SetOk(arg2
);
22251 wxPyEndAllowThreads(__tstate
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22254 Py_INCREF(Py_None
); resultobj
= Py_None
;
22261 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22262 PyObject
*resultobj
;
22263 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22266 PyObject
* obj0
= 0 ;
22267 PyObject
* obj1
= 0 ;
22268 char *kwnames
[] = {
22269 (char *) "self",(char *) "interactive", NULL
22272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
22273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22275 arg2
= (bool) SWIG_AsBool(obj1
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22279 result
= (bool)(arg1
)->Print(arg2
);
22281 wxPyEndAllowThreads(__tstate
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22293 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22294 PyObject
*resultobj
;
22295 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22296 PyObject
* obj0
= 0 ;
22297 char *kwnames
[] = {
22298 (char *) "self", NULL
22301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
22302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22306 (arg1
)->DetermineScaling();
22308 wxPyEndAllowThreads(__tstate
);
22309 if (PyErr_Occurred()) SWIG_fail
;
22311 Py_INCREF(Py_None
); resultobj
= Py_None
;
22318 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
22320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22321 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
22323 return Py_BuildValue((char *)"");
22325 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
22326 PyObject
*resultobj
;
22327 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22328 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22329 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22330 wxPyPrintPreview
*result
;
22331 PyObject
* obj0
= 0 ;
22332 PyObject
* obj1
= 0 ;
22333 PyObject
* obj2
= 0 ;
22335 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22341 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
22358 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
22359 PyObject
*resultobj
;
22360 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22361 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22362 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22363 wxPyPrintPreview
*result
;
22364 PyObject
* obj0
= 0 ;
22365 PyObject
* obj1
= 0 ;
22366 PyObject
* obj2
= 0 ;
22368 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22373 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
22389 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
22394 argc
= PyObject_Length(args
);
22395 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22396 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22398 if ((argc
>= 2) && (argc
<= 3)) {
22402 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22412 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22421 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
22425 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22433 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
22442 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22452 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22462 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22470 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
22476 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
22481 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22482 PyObject
*resultobj
;
22483 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22484 PyObject
*arg2
= (PyObject
*) 0 ;
22485 PyObject
*arg3
= (PyObject
*) 0 ;
22486 PyObject
* obj0
= 0 ;
22487 PyObject
* obj1
= 0 ;
22488 PyObject
* obj2
= 0 ;
22489 char *kwnames
[] = {
22490 (char *) "self",(char *) "self",(char *) "_class", NULL
22493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22500 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22505 Py_INCREF(Py_None
); resultobj
= Py_None
;
22512 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
;
22514 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22517 PyObject
* obj0
= 0 ;
22518 PyObject
* obj1
= 0 ;
22519 char *kwnames
[] = {
22520 (char *) "self",(char *) "pageNum", NULL
22523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22526 arg2
= (int) SWIG_AsInt(obj1
);
22527 if (PyErr_Occurred()) SWIG_fail
;
22529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
22532 wxPyEndAllowThreads(__tstate
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22544 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22545 PyObject
*resultobj
;
22546 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22547 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22550 PyObject
* obj0
= 0 ;
22551 PyObject
* obj1
= 0 ;
22552 PyObject
* obj2
= 0 ;
22553 char *kwnames
[] = {
22554 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22562 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22565 if (arg3
== NULL
) {
22566 PyErr_SetString(PyExc_TypeError
,"null reference");
22570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22571 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22585 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22586 PyObject
*resultobj
;
22587 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22588 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22591 PyObject
* obj0
= 0 ;
22592 PyObject
* obj1
= 0 ;
22593 PyObject
* obj2
= 0 ;
22594 char *kwnames
[] = {
22595 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22603 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22604 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22606 if (arg3
== NULL
) {
22607 PyErr_SetString(PyExc_TypeError
,"null reference");
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
22614 wxPyEndAllowThreads(__tstate
);
22615 if (PyErr_Occurred()) SWIG_fail
;
22618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22626 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22627 PyObject
*resultobj
;
22628 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22631 PyObject
* obj0
= 0 ;
22632 PyObject
* obj1
= 0 ;
22633 char *kwnames
[] = {
22634 (char *) "self",(char *) "pageNum", NULL
22637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22640 arg2
= (int) SWIG_AsInt(obj1
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22644 result
= (bool)(arg1
)->base_RenderPage(arg2
);
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22658 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
;
22660 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22662 PyObject
* obj0
= 0 ;
22663 PyObject
* obj1
= 0 ;
22664 char *kwnames
[] = {
22665 (char *) "self",(char *) "percent", NULL
22668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
22669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22671 arg2
= (int) SWIG_AsInt(obj1
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 (arg1
)->base_SetZoom(arg2
);
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22680 Py_INCREF(Py_None
); resultobj
= Py_None
;
22687 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22688 PyObject
*resultobj
;
22689 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22692 PyObject
* obj0
= 0 ;
22693 PyObject
* obj1
= 0 ;
22694 char *kwnames
[] = {
22695 (char *) "self",(char *) "interactive", NULL
22698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
22699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22701 arg2
= (bool) SWIG_AsBool(obj1
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 result
= (bool)(arg1
)->base_Print(arg2
);
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22719 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
;
22721 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22722 PyObject
* obj0
= 0 ;
22723 char *kwnames
[] = {
22724 (char *) "self", NULL
22727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
22728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 (arg1
)->base_DetermineScaling();
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 Py_INCREF(Py_None
); resultobj
= Py_None
;
22744 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
22746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22747 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
22749 return Py_BuildValue((char *)"");
22751 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
;
22753 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22754 wxFrame
*arg2
= (wxFrame
*) 0 ;
22755 wxString
*arg3
= 0 ;
22756 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22757 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22758 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22759 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22760 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22761 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22762 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22763 wxPyPreviewFrame
*result
;
22764 bool temp3
= False
;
22767 bool temp7
= False
;
22768 PyObject
* obj0
= 0 ;
22769 PyObject
* obj1
= 0 ;
22770 PyObject
* obj2
= 0 ;
22771 PyObject
* obj3
= 0 ;
22772 PyObject
* obj4
= 0 ;
22773 PyObject
* obj5
= 0 ;
22774 PyObject
* obj6
= 0 ;
22775 char *kwnames
[] = {
22776 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22785 arg3
= wxString_in_helper(obj2
);
22786 if (arg3
== NULL
) SWIG_fail
;
22792 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22798 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22802 arg6
= (long) SWIG_AsLong(obj5
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22807 arg7
= wxString_in_helper(obj6
);
22808 if (arg7
== NULL
) SWIG_fail
;
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22816 wxPyEndAllowThreads(__tstate
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
22842 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22843 PyObject
*resultobj
;
22844 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22845 PyObject
*arg2
= (PyObject
*) 0 ;
22846 PyObject
*arg3
= (PyObject
*) 0 ;
22847 PyObject
* obj0
= 0 ;
22848 PyObject
* obj1
= 0 ;
22849 PyObject
* obj2
= 0 ;
22850 char *kwnames
[] = {
22851 (char *) "self",(char *) "self",(char *) "_class", NULL
22854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22861 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22863 wxPyEndAllowThreads(__tstate
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22866 Py_INCREF(Py_None
); resultobj
= Py_None
;
22873 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22874 PyObject
*resultobj
;
22875 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22876 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22877 PyObject
* obj0
= 0 ;
22878 PyObject
* obj1
= 0 ;
22879 char *kwnames
[] = {
22880 (char *) "self",(char *) "canvas", NULL
22883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22890 (arg1
)->SetPreviewCanvas(arg2
);
22892 wxPyEndAllowThreads(__tstate
);
22893 if (PyErr_Occurred()) SWIG_fail
;
22895 Py_INCREF(Py_None
); resultobj
= Py_None
;
22902 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
;
22904 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22905 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
22906 PyObject
* obj0
= 0 ;
22907 PyObject
* obj1
= 0 ;
22908 char *kwnames
[] = {
22909 (char *) "self",(char *) "bar", NULL
22912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
22913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
22916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22919 (arg1
)->SetControlBar(arg2
);
22921 wxPyEndAllowThreads(__tstate
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22924 Py_INCREF(Py_None
); resultobj
= Py_None
;
22931 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22932 PyObject
*resultobj
;
22933 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22934 PyObject
* obj0
= 0 ;
22935 char *kwnames
[] = {
22936 (char *) "self", NULL
22939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
22940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22944 (arg1
)->base_Initialize();
22946 wxPyEndAllowThreads(__tstate
);
22947 if (PyErr_Occurred()) SWIG_fail
;
22949 Py_INCREF(Py_None
); resultobj
= Py_None
;
22956 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22957 PyObject
*resultobj
;
22958 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22959 PyObject
* obj0
= 0 ;
22960 char *kwnames
[] = {
22961 (char *) "self", NULL
22964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 (arg1
)->base_CreateCanvas();
22971 wxPyEndAllowThreads(__tstate
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22974 Py_INCREF(Py_None
); resultobj
= Py_None
;
22981 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22982 PyObject
*resultobj
;
22983 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22984 PyObject
* obj0
= 0 ;
22985 char *kwnames
[] = {
22986 (char *) "self", NULL
22989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22994 (arg1
)->base_CreateControlBar();
22996 wxPyEndAllowThreads(__tstate
);
22997 if (PyErr_Occurred()) SWIG_fail
;
22999 Py_INCREF(Py_None
); resultobj
= Py_None
;
23006 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
23008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23009 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
23011 return Py_BuildValue((char *)"");
23013 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23014 PyObject
*resultobj
;
23015 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23017 wxWindow
*arg3
= (wxWindow
*) 0 ;
23018 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23019 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23020 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23021 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23022 long arg6
= (long) 0 ;
23023 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23024 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23025 wxPyPreviewControlBar
*result
;
23028 bool temp7
= False
;
23029 PyObject
* obj0
= 0 ;
23030 PyObject
* obj1
= 0 ;
23031 PyObject
* obj2
= 0 ;
23032 PyObject
* obj3
= 0 ;
23033 PyObject
* obj4
= 0 ;
23034 PyObject
* obj5
= 0 ;
23035 PyObject
* obj6
= 0 ;
23036 char *kwnames
[] = {
23037 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23043 arg2
= (long) SWIG_AsLong(obj1
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23045 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23050 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23056 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23060 arg6
= (long) SWIG_AsLong(obj5
);
23061 if (PyErr_Occurred()) SWIG_fail
;
23065 arg7
= wxString_in_helper(obj6
);
23066 if (arg7
== NULL
) SWIG_fail
;
23071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23074 wxPyEndAllowThreads(__tstate
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
23092 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23093 PyObject
*resultobj
;
23094 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23095 PyObject
*arg2
= (PyObject
*) 0 ;
23096 PyObject
*arg3
= (PyObject
*) 0 ;
23097 PyObject
* obj0
= 0 ;
23098 PyObject
* obj1
= 0 ;
23099 PyObject
* obj2
= 0 ;
23100 char *kwnames
[] = {
23101 (char *) "self",(char *) "self",(char *) "_class", NULL
23104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23111 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23113 wxPyEndAllowThreads(__tstate
);
23114 if (PyErr_Occurred()) SWIG_fail
;
23116 Py_INCREF(Py_None
); resultobj
= Py_None
;
23123 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23124 PyObject
*resultobj
;
23125 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23126 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
23127 PyObject
* obj0
= 0 ;
23128 PyObject
* obj1
= 0 ;
23129 char *kwnames
[] = {
23130 (char *) "self",(char *) "preview", NULL
23133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
23134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
23137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23140 (arg1
)->SetPrintPreview(arg2
);
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 Py_INCREF(Py_None
); resultobj
= Py_None
;
23152 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
;
23154 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23155 PyObject
* obj0
= 0 ;
23156 char *kwnames
[] = {
23157 (char *) "self", NULL
23160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
23161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23165 (arg1
)->base_CreateButtons();
23167 wxPyEndAllowThreads(__tstate
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23170 Py_INCREF(Py_None
); resultobj
= Py_None
;
23177 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23178 PyObject
*resultobj
;
23179 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23181 PyObject
* obj0
= 0 ;
23182 PyObject
* obj1
= 0 ;
23183 char *kwnames
[] = {
23184 (char *) "self",(char *) "zoom", NULL
23187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23190 arg2
= (int) SWIG_AsInt(obj1
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23194 (arg1
)->base_SetZoomControl(arg2
);
23196 wxPyEndAllowThreads(__tstate
);
23197 if (PyErr_Occurred()) SWIG_fail
;
23199 Py_INCREF(Py_None
); resultobj
= Py_None
;
23206 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
23208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23209 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
23211 return Py_BuildValue((char *)"");
23213 static PyMethodDef SwigMethods
[] = {
23214 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
23215 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
23216 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
23217 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23218 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
23219 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
23220 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
23221 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23222 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
23223 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
23224 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
23225 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
23226 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
23227 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
23228 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
23229 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
23230 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
23231 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23232 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23233 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
23234 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
23235 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
23236 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
23237 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
23238 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
23239 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
23240 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
23241 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
23242 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
23243 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
23244 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
23245 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
23246 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
23247 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
23248 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
23249 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
23250 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
23251 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
23252 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
23253 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
23254 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
23255 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
23256 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23257 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
23258 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
23259 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
23260 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
23261 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
23262 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23263 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23264 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23265 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23266 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
23267 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23268 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23269 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
23270 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
23271 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23272 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23273 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23274 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
23275 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
23276 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
23277 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
23278 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
23279 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
23280 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
23281 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
23282 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
23283 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
23284 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
23285 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23286 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
23287 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
23288 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
23289 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
23290 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
23291 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23292 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
23293 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
23294 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
23295 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
23296 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
23297 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
23298 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
23299 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
23300 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
23301 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
23302 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23303 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23304 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
23305 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
23306 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
23307 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23308 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23309 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23310 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23311 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
23312 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
23313 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
23314 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
23315 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
23316 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
23317 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
23318 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
23319 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23320 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
23321 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
23322 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
23323 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
23324 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23325 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
23326 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
23327 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
23328 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
23329 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
23330 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
23331 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
23332 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23333 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
23334 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23335 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
23336 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
23337 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
23338 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
23339 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
23340 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
23341 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
23342 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
23343 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
23344 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
23345 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
23346 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
23347 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
23348 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
23349 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
23350 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
23351 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
23352 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
23353 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23354 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
23355 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
23356 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
23357 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
23358 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
23359 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23360 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23361 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23362 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23363 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
23364 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
23365 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
23366 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
23367 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
23368 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
23369 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
23370 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
23371 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
23372 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
23373 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
23374 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
23375 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
23376 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
23377 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
23378 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
23379 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
23380 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
23381 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
23382 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
23383 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
23384 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
23385 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23386 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23387 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
23388 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
23389 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23390 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23391 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
23392 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
23393 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
23394 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
23395 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23396 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23397 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
23398 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
23399 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
23400 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
23401 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
23402 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23403 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
23404 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23405 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
23406 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
23407 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23408 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
23409 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
23410 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
23411 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
23412 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
23413 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
23414 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
23415 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
23416 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
23417 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23418 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
23419 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
23420 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23421 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23422 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23423 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
23424 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
23425 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
23426 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
23427 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
23428 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
23429 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
23430 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
23431 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
23432 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23433 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23434 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
23435 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
23436 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
23437 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
23438 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
23439 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
23440 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
23441 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
23442 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
23443 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
23444 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
23445 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
23446 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
23447 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
23448 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
23449 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
23450 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23451 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
23452 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
23453 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
23454 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23455 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
23456 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
23457 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
23458 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
23459 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
23460 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
23461 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
23462 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
23463 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
23464 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23465 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
23466 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
23467 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
23468 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
23469 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
23470 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
23471 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
23472 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
23473 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
23474 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
23475 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
23476 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23477 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
23478 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
23479 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
23480 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
23481 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
23482 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
23483 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
23484 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
23485 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
23486 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
23487 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
23488 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
23489 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
23490 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
23491 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
23492 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
23493 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
23494 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23495 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
23496 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
23497 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23498 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
23499 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
23500 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
23501 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
23502 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
23503 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
23504 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
23505 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23506 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
23507 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23508 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
23509 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
23510 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
23511 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23512 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
23513 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
23514 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23515 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
23516 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
23517 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
23518 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23519 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
23520 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
23521 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23522 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
23523 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
23524 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
23525 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
23526 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
23527 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
23528 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23529 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
23530 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
23531 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
23532 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23533 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23534 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
23535 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23536 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
23537 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
23538 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
23539 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
23540 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
23541 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
23542 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
23543 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
23544 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
23545 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23546 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
23547 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
23548 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
23549 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
23550 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
23551 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
23552 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23553 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
23554 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
23555 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
23556 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
23557 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
23558 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
23559 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
23560 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
23561 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
23562 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
23563 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
23564 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
23565 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
23566 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
23567 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23568 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23569 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23570 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
23571 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23572 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23573 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23574 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
23575 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
23576 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
23577 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23578 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23579 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23580 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23581 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23582 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23583 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
23584 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23585 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23586 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
23587 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
23588 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
23589 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
23590 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
23591 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
23592 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23593 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
23594 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
23595 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
23596 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
23597 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
23598 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23599 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23600 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
23601 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
23602 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23603 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23604 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23605 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
23606 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
23607 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
23608 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
23609 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23610 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23611 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23612 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
23613 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
23614 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23615 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23616 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23617 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23618 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23619 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23620 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23621 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23622 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23623 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23624 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23625 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23626 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23627 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23628 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23629 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23630 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23631 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23632 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23633 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
23634 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
23635 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23636 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23637 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23638 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23639 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23640 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23641 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23642 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23643 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23644 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23645 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23646 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23647 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23648 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23649 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23650 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23651 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23652 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23653 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23654 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
23655 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23656 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23657 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23658 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23659 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23660 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23661 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23662 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23663 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23664 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23665 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23666 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23667 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23668 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23669 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23670 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23671 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23672 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23673 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23674 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23675 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23676 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23677 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23678 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23679 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23680 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23681 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23682 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23683 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23684 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23685 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23686 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23687 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23688 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23689 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23690 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23691 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23692 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23693 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
23694 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23695 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23696 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
23697 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23698 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
23699 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
23700 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
23701 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23702 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23703 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23704 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23705 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23706 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23707 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23708 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23709 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23710 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23711 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23712 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23713 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23714 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23715 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23716 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23717 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23718 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23719 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23720 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23721 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23722 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23723 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23724 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23725 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23726 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23727 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23728 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23729 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23730 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23731 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23732 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
23733 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23734 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
23735 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23736 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
23737 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
23738 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23739 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23740 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23741 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23742 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23743 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23744 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23745 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23746 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23747 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23748 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23749 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23750 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23751 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23752 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23753 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23754 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23755 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23756 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23757 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23758 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23759 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23760 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23761 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23762 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23763 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23764 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23765 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23766 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23767 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23768 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23769 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23770 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
23771 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23772 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23773 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
23774 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23775 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
23776 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23777 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23778 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
23779 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23780 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
23781 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23782 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
23783 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
23784 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
23785 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
23786 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
23787 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
23788 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23789 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
23790 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
23791 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
23792 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23793 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23794 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23795 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23796 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23797 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23798 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23799 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23800 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23801 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23802 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
23803 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
23804 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23805 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23806 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
23807 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
23808 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
23809 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
23810 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23811 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
23812 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23813 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23814 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23815 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23816 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23817 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
23818 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23819 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23820 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23821 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23822 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
23823 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
23824 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
23825 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
23826 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
23827 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
23828 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
23829 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23830 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23831 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23832 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23833 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23834 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23835 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23836 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23837 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23838 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23839 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23840 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23841 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
23842 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23843 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23844 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23845 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23846 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23847 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23848 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
23849 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
23850 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23851 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
23852 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
23853 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23854 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23855 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23856 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23857 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23858 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23859 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
23860 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23861 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
23862 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23863 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23864 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23865 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23866 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23867 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23868 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23869 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
23870 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23871 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23872 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23873 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
23874 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23875 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
23880 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23882 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
23883 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23885 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
23886 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23888 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
23889 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
23891 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
23892 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
23894 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
23895 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
23897 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
23898 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
23900 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
23901 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
23903 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
23904 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23906 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
23907 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
23909 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
23910 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
23912 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
23913 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23915 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
23916 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
23918 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
23919 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23921 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
23922 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23924 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
23925 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
23927 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
23928 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23930 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
23931 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23933 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
23934 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
23936 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
23937 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
23939 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
23940 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
23942 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
23943 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
23945 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
23946 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
23948 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
23949 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
23951 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
23952 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
23954 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
23955 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23957 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
23958 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23960 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
23961 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23963 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
23964 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23966 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
23967 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23969 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
23970 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
23972 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
23973 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
23975 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
23976 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23978 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
23979 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
23981 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
23982 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23984 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
23985 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
23987 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
23988 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
23990 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
23991 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23993 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
23994 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23996 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
23997 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23999 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
24000 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
24002 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
24003 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
24005 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
24006 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
24008 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
24009 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24011 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
24012 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24014 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
24015 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24017 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
24018 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
24020 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
24021 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
24023 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
24024 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
24026 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
24027 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
24029 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
24030 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
24032 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
24033 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24035 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
24036 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24038 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
24039 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24041 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
24042 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24044 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
24045 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24047 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
24048 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24050 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
24051 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24053 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
24054 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
24056 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
24057 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
24059 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
24060 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24062 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
24063 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24065 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
24066 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24068 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
24069 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
24071 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
24072 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24074 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
24075 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
24077 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
24078 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
24080 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
24081 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
24083 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
24084 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
24086 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
24087 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
24089 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
24090 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
24092 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
24093 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
24095 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
24096 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
24098 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
24099 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24101 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
24102 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24104 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
24105 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24107 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
24108 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
24110 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
24111 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
24113 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
24114 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
24116 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
24117 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24119 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
24120 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24122 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
24123 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24125 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
24126 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
24128 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
24129 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24131 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
24132 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
24134 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
24135 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
24137 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
24138 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24140 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
24141 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24143 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
24144 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24146 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
24147 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
24149 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
24150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24152 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
24153 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24155 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
24156 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24158 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
24159 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24161 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
24162 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
24164 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
24165 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
24167 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
24168 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
24170 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
24171 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24173 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
24174 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
24176 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
24177 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
24179 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
24180 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
24182 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
24183 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
24185 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
24186 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
24188 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
24189 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24191 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
24192 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24194 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
24195 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
24197 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
24198 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
24200 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
24201 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
24203 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
24204 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
24206 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
24207 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
24209 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
24210 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
24212 static void *_p_wxSizerTo_p_wxObject(void *x
) {
24213 return (void *)((wxObject
*) ((wxSizer
*) x
));
24215 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
24216 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
24218 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
24219 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24221 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
24222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
24224 static void *_p_wxEventTo_p_wxObject(void *x
) {
24225 return (void *)((wxObject
*) ((wxEvent
*) x
));
24227 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
24228 return (void *)((wxObject
*) ((wxFontData
*) x
));
24230 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
24231 return (void *)((wxObject
*) ((wxPrintData
*) x
));
24233 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
24234 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
24236 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
24237 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
24239 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
24240 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
24242 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
24243 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
24245 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
24246 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
24248 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
24249 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24251 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
24252 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
24254 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
24255 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
24257 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
24258 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
24260 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
24261 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
24263 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
24264 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
24266 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
24267 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
24269 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
24270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24272 static void *_p_wxControlTo_p_wxObject(void *x
) {
24273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
24275 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
24276 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
24278 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
24279 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24281 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
24282 return (void *)((wxObject
*) ((wxFSFile
*) x
));
24284 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
24285 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
24287 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
24288 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
24290 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
24291 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24293 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
24294 return (void *)((wxObject
*) ((wxColourData
*) x
));
24296 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
24297 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
24299 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
24300 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24302 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
24303 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
24305 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
24306 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24308 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
24309 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24311 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
24312 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24314 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
24315 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24317 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
24318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24320 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
24321 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24323 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
24324 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24326 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
24327 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24329 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
24330 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
24332 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
24333 return (void *)((wxObject
*) ((wxPrinter
*) x
));
24335 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
24336 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
24338 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
24339 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
24341 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
24342 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24344 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
24345 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
24347 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
24348 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
24350 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
24351 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
24353 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
24354 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
24356 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
24357 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
24359 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
24360 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
24362 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
24363 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
24365 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
24366 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
24368 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
24369 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
24371 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
24372 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
24374 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
24375 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
24377 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
24378 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
24380 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
24381 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
24383 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
24384 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
24386 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
24387 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
24389 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
24390 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
24392 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
24393 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
24395 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
24396 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
24398 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
24399 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
24401 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
24402 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
24404 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
24405 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24407 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
24408 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24410 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
24411 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
24413 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
24414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24416 static void *_p_wxImageTo_p_wxObject(void *x
) {
24417 return (void *)((wxObject
*) ((wxImage
*) x
));
24419 static void *_p_wxFrameTo_p_wxObject(void *x
) {
24420 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
24422 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
24423 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
24425 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
24426 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
24428 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
24429 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
24431 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
24432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
24434 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
24435 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24437 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
24438 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24440 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
24441 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
24443 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
24444 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
24446 static void *_p_wxWindowTo_p_wxObject(void *x
) {
24447 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
24449 static void *_p_wxMenuTo_p_wxObject(void *x
) {
24450 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
24452 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
24453 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
24455 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
24456 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
24458 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
24459 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
24461 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
24462 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
24464 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
24465 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
24467 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
24468 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
24470 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
24471 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24473 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
24474 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
24476 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
24477 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24479 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
24480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24482 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
24483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24485 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
24486 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
24488 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
24489 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
24491 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
24492 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
24494 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
24495 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
24497 static void *_p_wxPanelTo_p_wxObject(void *x
) {
24498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
24500 static void *_p_wxDialogTo_p_wxObject(void *x
) {
24501 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
24503 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
24504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24506 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
24507 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24509 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
24510 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24512 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
24513 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24515 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
24516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24518 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
24519 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
24521 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
24522 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24524 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
24525 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
24527 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
24528 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
24530 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
24531 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
24533 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
24534 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
24536 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
24537 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
24539 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
24540 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24542 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
24543 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
24545 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
24546 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
24548 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
24549 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24551 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
24552 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
24554 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
24555 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
24557 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
24558 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24560 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
24561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
24563 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
24564 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
24566 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
24567 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
24569 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
24570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
24572 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
24573 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
24575 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24576 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24578 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24579 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24581 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
24582 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24584 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
24585 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24587 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
24588 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24590 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
24591 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24593 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
24594 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
24596 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
24597 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
24599 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
24600 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
24602 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
24603 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
24605 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
24606 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
24608 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
24609 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
24611 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
24612 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
24614 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
24615 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
24617 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
24618 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
24620 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
24621 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
24623 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
24624 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
24626 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
24627 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
24629 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
24630 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
24632 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
24633 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
24635 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
24636 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
24638 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24639 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24641 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24642 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24644 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
24645 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
24647 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24648 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
24650 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24651 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24653 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
24654 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24656 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
24657 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24659 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
24660 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
24662 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
24663 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
24665 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
24666 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24668 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
24669 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24671 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
24672 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24674 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
24675 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24677 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
24678 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24680 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
24681 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24683 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
24684 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24686 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
24687 return (void *)((wxWindow
*) ((wxPanel
*) x
));
24689 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
24690 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
24692 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
24693 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
24695 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
24696 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24698 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
24699 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24701 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
24702 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24704 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
24705 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
24707 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
24708 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24710 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
24711 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
24713 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
24714 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
24716 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
24717 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
24719 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
24720 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
24722 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
24723 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
24725 static void *_p_wxControlTo_p_wxWindow(void *x
) {
24726 return (void *)((wxWindow
*) ((wxControl
*) x
));
24728 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
24729 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24731 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
24732 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24734 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
24735 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24737 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
24738 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
24740 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
24741 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
24743 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
24744 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24746 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
24747 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24749 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
24750 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24752 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
24753 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
24755 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
24756 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24758 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
24759 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
24761 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
24762 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24764 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
24765 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24767 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
24768 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24770 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
24771 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
24773 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
24774 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24776 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
24777 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24779 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
24780 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24782 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
24783 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24785 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
24786 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
24788 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
24789 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
24791 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
24792 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
24794 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
24795 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
24797 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
24798 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
24800 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
24801 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
24803 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
24804 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
24806 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
24807 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24809 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
24810 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24812 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
24813 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
24815 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
24816 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
24818 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
24819 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
24821 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
24822 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
24824 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
24825 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24827 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
24828 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24830 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
24831 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24833 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
24834 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
24836 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
24837 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24839 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
24840 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
24842 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
24843 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24845 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
24846 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24848 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
24849 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
24851 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
24852 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24854 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
24855 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24857 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
24858 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24860 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
24861 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24863 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
24864 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24866 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
24867 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24869 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
24870 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24872 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
24873 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24875 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
24876 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
24878 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
24879 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24881 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}};
24882 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}};
24883 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}};
24884 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}};
24885 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}};
24886 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}};
24887 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}};
24888 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}};
24889 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}};
24890 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}};
24891 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}};
24892 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}};
24893 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}};
24894 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}};
24895 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}};
24896 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}};
24897 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}};
24898 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}};
24899 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}};
24900 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}};
24901 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}};
24902 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}};
24903 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}};
24904 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}};
24905 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}};
24906 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}};
24907 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}};
24908 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}};
24909 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}};
24910 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}};
24911 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}};
24912 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}};
24913 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}};
24914 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}};
24915 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}};
24916 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}};
24917 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}};
24918 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}};
24919 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}};
24920 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}};
24921 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}};
24922 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}};
24923 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}};
24924 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}};
24925 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}};
24926 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}};
24927 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}};
24928 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}};
24929 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}};
24930 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}};
24931 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}};
24932 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}};
24933 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}};
24934 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}};
24935 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}};
24936 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}};
24937 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}};
24938 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}};
24939 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}};
24940 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}};
24941 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}};
24942 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}};
24943 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}};
24944 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}};
24945 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}};
24946 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}};
24947 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}};
24948 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}};
24949 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}};
24950 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}};
24951 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}};
24952 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}};
24953 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}};
24954 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}};
24955 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}};
24956 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}};
24957 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}};
24958 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}};
24959 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}};
24960 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}};
24961 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}};
24962 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}};
24963 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}};
24964 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}};
24966 static swig_type_info
*swig_types_initial
[] = {
24967 _swigt__p_wxQueryLayoutInfoEvent
,
24968 _swigt__p_wxPreviewFrame
,
24969 _swigt__p_wxPyPreviewFrame
,
24970 _swigt__p_wxPyPanel
,
24972 _swigt__p_wxPrintData
,
24973 _swigt__p_wxFontData
,
24975 _swigt__p_wxTaskBarIcon
,
24976 _swigt__p_wxIconBundle
,
24977 _swigt__p_wxLayoutAlgorithm
,
24978 _swigt__p_wxFindDialogEvent
,
24979 _swigt__p_wxPreviewCanvas
,
24981 _swigt__p_wxSplitterEvent
,
24982 _swigt__p_wxRegion
,
24983 _swigt__p_wxFindReplaceData
,
24988 _swigt__p_wxMDIChildFrame
,
24989 _swigt__p_wxColourData
,
24990 _swigt__p_wxNotifyEvent
,
24991 _swigt__p_wxPyWindow
,
24992 _swigt__p_wxSplashScreen
,
24993 _swigt__p_wxFindReplaceDialog
,
24994 _swigt__p_wxProgressDialog
,
24995 _swigt__p_wxMessageDialog
,
24996 _swigt__p_wxTextEntryDialog
,
24997 _swigt__p_wxSingleChoiceDialog
,
24998 _swigt__p_wxMultiChoiceDialog
,
24999 _swigt__p_wxFileDialog
,
25000 _swigt__p_wxPrinter
,
25001 _swigt__p_wxArrayInt
,
25002 _swigt__p_wxEvtHandler
,
25003 _swigt__p_wxCalculateLayoutEvent
,
25004 _swigt__p_wxPyHtmlListBox
,
25005 _swigt__p_wxPyVListBox
,
25008 _swigt__p_wxMiniFrame
,
25010 _swigt__p_wxPyPrintout
,
25011 _swigt__p_wxTaskBarIconEvent
,
25012 _swigt__p_wxScrollWinEvent
,
25013 _swigt__p_wxStatusBar
,
25014 _swigt__p_wxMDIParentFrame
,
25016 _swigt__p_wxObject
,
25017 _swigt__p_wxOutputStream
,
25018 _swigt__p_unsigned_long
,
25019 _swigt__p_wxMDIClientWindow
,
25020 _swigt__p_wxTipWindow
,
25021 _swigt__p_wxSashLayoutWindow
,
25022 _swigt__p_wxSplitterWindow
,
25023 _swigt__p_wxPyVScrolledWindow
,
25024 _swigt__p_wxPyPopupTransientWindow
,
25025 _swigt__p_wxPopupWindow
,
25026 _swigt__p_wxSashWindow
,
25027 _swigt__p_wxTopLevelWindow
,
25028 _swigt__p_wxWindow
,
25029 _swigt__p_wxScrolledWindow
,
25030 _swigt__p_wxSplashScreenWindow
,
25031 _swigt__p_wxMenuBar
,
25032 _swigt__p_wxPrintPreview
,
25033 _swigt__p_wxSashEvent
,
25034 _swigt__p_wxString
,
25035 _swigt__p_wxPyPrintPreview
,
25036 _swigt__p_wxFontDialog
,
25037 _swigt__p_wxDirDialog
,
25038 _swigt__p_wxColourDialog
,
25039 _swigt__p_wxDialog
,
25041 _swigt__p_wxPageSetupDialog
,
25042 _swigt__p_wxPrintDialog
,
25043 _swigt__p_wxBitmap
,
25044 _swigt__p_wxCommandEvent
,
25045 _swigt__p_wxPreviewControlBar
,
25046 _swigt__p_wxPyPreviewControlBar
,
25047 _swigt__p_wxColour
,
25048 _swigt__p_wxToolBar
,
25049 _swigt__p_wxPageSetupDialogData
,
25050 _swigt__p_wxPrintDialogData
,
25055 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25057 static swig_const_info swig_const_table
[] = {
25067 SWIGEXPORT(void) SWIG_init(void) {
25068 static PyObject
*SWIG_globals
= 0;
25069 static int typeinit
= 0;
25072 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
25073 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
25074 d
= PyModule_GetDict(m
);
25077 for (i
= 0; swig_types_initial
[i
]; i
++) {
25078 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
25082 SWIG_InstallConstants(d
,swig_const_table
);
25084 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
25085 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
25086 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
25087 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
25088 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
25089 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
25090 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
25091 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
25092 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
25093 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
25094 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
25095 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
25096 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
25097 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
25098 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
25099 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
25100 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
25101 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
25102 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
25103 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
25104 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
25105 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
25106 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
25107 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
25108 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
25109 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
25110 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
25111 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
25112 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
25113 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
25114 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
25115 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
25116 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
25117 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
25118 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
25119 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
25120 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
25121 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
25122 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
25123 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
25124 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
25125 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
25126 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
25127 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
25128 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
25129 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
25130 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
25131 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
25132 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
25133 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
25134 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
25135 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
25136 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
25137 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
25138 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
25139 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
25140 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
25141 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
25142 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
25143 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
25144 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
25145 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
25146 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
25147 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
25148 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
25149 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
25150 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
25151 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
25153 // Map renamed classes back to their common name for OOR
25154 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
25155 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
25156 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
25158 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
25159 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
25160 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
25161 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
25162 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
25163 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
25164 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
25165 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
25166 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
25167 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
25168 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
25169 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
25170 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
25171 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
25172 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
25173 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
25174 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
25175 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
25176 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
25177 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
25178 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
25179 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
25180 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
25181 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
25182 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
25183 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
25184 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
25185 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
25186 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
25187 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
25188 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
25189 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
25190 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
25191 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
25192 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
25193 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
25194 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
25195 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
25196 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
25197 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
25198 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
25199 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
25200 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
25201 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
25202 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
25203 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
25204 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
25205 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
25206 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
25207 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
25208 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
25209 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
25210 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
25211 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
25212 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
25213 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
25214 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
25215 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
25216 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
25217 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
25219 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");