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_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxBitmap swig_types[77]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[79]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[83]
293 #define SWIGTYPE_p_wxPrintDialogData swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows
304 #define SWIG_name "_windows"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
353 static const wxString
wxPyEmptyString(wxEmptyString
);
354 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value
, const char* type
,
363 long min_value
, long max_value
)
365 if (!PyErr_Occurred()) {
366 if (value
< min_value
) {
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value
, type
, min_value
);
371 PyErr_SetObject(PyExc_OverflowError
, err
);
373 } else if (value
> max_value
) {
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value
, type
, max_value
);
377 PyErr_SetObject(PyExc_OverflowError
, err
);
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject
* obj
)
388 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
392 #if INT_MAX != LONG_MAX
393 SWIGSTATICINLINE(int)
394 SWIG_AsInt(PyObject
*obj
)
396 return swig_numeric_cast(int,
397 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
398 "int", INT_MIN
, INT_MAX
));
401 #define SWIG_AsInt SWIG_AsLong
405 SWIGSTATICINLINE(int)
406 SWIG_CheckInt(PyObject
* obj
)
409 if (PyErr_Occurred()) {
418 SWIGSTATICINLINE(int)
419 SWIG_CheckLong(PyObject
* obj
)
422 if (PyErr_Occurred()) {
431 SWIGSTATICINLINE(bool)
432 SWIG_AsBool(PyObject
*obj
)
434 return PyObject_IsTrue(obj
) ? true : false;
438 SWIGSTATICINLINE(int)
439 SWIG_CheckBool(PyObject
* obj
)
442 if (PyErr_Occurred()) {
451 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
457 } else if (target
== Py_None
) {
461 if (!PyTuple_Check(target
)) {
463 target
= PyTuple_New(1);
464 PyTuple_SetItem(target
, 0, o2
);
467 PyTuple_SetItem(o3
, 0, o
);
470 target
= PySequence_Concat(o2
, o3
);
478 SWIGSTATICINLINE(double)
479 SWIG_AsDouble(PyObject
*obj
)
481 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
483 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
485 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
487 if (PyErr_Occurred()) {
489 PyErr_SetString(PyExc_TypeError
, "a double is expected");
495 SWIGSTATICINLINE(int)
496 SWIG_CheckDouble(PyObject
* obj
)
499 if (PyErr_Occurred()) {
507 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
508 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
509 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
510 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
511 bool wxDialog_IsModalShowing(wxDialog
*self
){
515 return self
->IsModalShowing();
520 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
522 self
->GetFieldRect(i
, r
);
525 static const wxString
wxPySplitterNameStr(wxT("splitter"));
526 static const wxString
wxPySashNameStr(wxT("sashWindow"));
527 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
529 #include <wx/popupwin.h>
532 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
535 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
536 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
537 : wxPopupTransientWindow(parent
, style
) {}
539 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
540 DEC_PYCALLBACK__(OnDismiss
);
541 DEC_PYCALLBACK_BOOL_(CanDismiss
);
546 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
547 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
548 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
551 #include <wx/tipwin.h>
553 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
554 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
557 #include <wx/tipwin.h>
560 #include <wx/vscroll.h>
563 class wxPyVScrolledWindow
: public wxVScrolledWindow
565 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
567 wxPyVScrolledWindow() : wxVScrolledWindow() {}
569 wxPyVScrolledWindow(wxWindow
*parent
,
570 wxWindowID id
= wxID_ANY
,
571 const wxPoint
& pos
= wxDefaultPosition
,
572 const wxSize
& size
= wxDefaultSize
,
574 const wxString
& name
= wxPyPanelNameStr
)
575 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
578 // Overridable virtuals
580 // this function must be overridden in the derived class and it should
581 // return the height of the given line in pixels
582 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
585 // this function doesn't have to be overridden but it may be useful to do
586 // it if calculating the lines heights is a relatively expensive operation
587 // as it gives the user code a possibility to calculate several of them at
590 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
591 // shouldn't rely on the latter being called for all lines in the interval
592 // specified here. It is also possible that OnGetLineHeight() will be
593 // called for the lines outside of this interval, so this is really just a
594 // hint, not a promise.
596 // finally note that lineMin is inclusive, while lineMax is exclusive, as
598 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
601 // when the number of lines changes, we try to estimate the total height
602 // of all lines which is a rather expensive operation in terms of lines
603 // access, so if the user code may estimate the average height
604 // better/faster than we do, it should override this function to implement
607 // this function should return the best guess for the total height it may
609 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
612 // Also expose some other interesting protected methods
615 // find the index of the line we need to show at the top of the window such
616 // that the last (fully or partially) visible line is the given one
617 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
618 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
620 // get the total height of the lines between lineMin (inclusive) and
621 // lineMax (exclusive)
622 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
623 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
629 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
631 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
632 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
633 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
636 SWIGSTATICINLINE(unsigned long)
637 SWIG_AsUnsignedLong(PyObject
* obj
)
639 if (PyLong_Check(obj
)) {
640 return PyLong_AsUnsignedLong(obj
);
642 long i
= PyInt_AsLong(obj
);
643 if ( !PyErr_Occurred() && (i
< 0)) {
644 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
651 SWIGSTATICINLINE(int)
652 SWIG_CheckUnsignedLong(PyObject
* obj
)
654 SWIG_AsUnsignedLong(obj
);
655 if (PyErr_Occurred()) {
664 SWIGSTATICINLINE(PyObject
* )
665 SWIG_FromUnsignedLong(unsigned long value
)
667 return (value
> LONG_MAX
) ?
668 PyLong_FromUnsignedLong(value
)
669 : PyInt_FromLong(swig_numeric_cast(long,value
));
673 #include <wx/vlbox.h>
675 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
677 class wxPyVListBox
: public wxVListBox
679 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
681 wxPyVListBox() : wxVListBox() {}
683 wxPyVListBox(wxWindow
*parent
,
684 wxWindowID id
= wxID_ANY
,
685 const wxPoint
& pos
= wxDefaultPosition
,
686 const wxSize
& size
= wxDefaultSize
,
688 const wxString
& name
= wxPyVListBoxNameStr
)
689 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
692 // Overridable virtuals
694 // the derived class must implement this function to actually draw the item
695 // with the given index on the provided DC
696 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
697 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
700 // the derived class must implement this method to return the height of the
702 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
703 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
706 // this method may be used to draw separators between the lines; note that
707 // the rectangle may be modified, typically to deflate it a bit before
708 // passing to OnDrawItem()
710 // the base class version doesn't do anything
711 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
712 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
715 // this method is used to draw the items background and, maybe, a border
718 // the base class version implements a reasonable default behaviour which
719 // consists in drawing the selected item with the standard background
720 // colour and drawing a border around the item if it is either selected or
722 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
723 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
729 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
731 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
732 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
733 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
734 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
738 #include <wx/htmllbox.h>
741 class wxPyHtmlListBox
: public wxHtmlListBox
743 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
745 wxPyHtmlListBox() : wxHtmlListBox() {}
747 wxPyHtmlListBox(wxWindow
*parent
,
748 wxWindowID id
= wxID_ANY
,
749 const wxPoint
& pos
= wxDefaultPosition
,
750 const wxSize
& size
= wxDefaultSize
,
752 const wxString
& name
= wxPyVListBoxNameStr
)
753 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
756 // Overridable virtuals
758 // this method must be implemented in the derived class and should return
759 // the body (i.e. without <html>) of the HTML for the given item
760 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
762 // this function may be overridden to decorate HTML returned by OnGetItem()
763 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
766 // // this method allows to customize the selection appearance: it may be used
767 // // to specify the colour of the text which normally has the given colour
768 // // colFg when it is inside the selection
770 // // by default, the original colour is not used at all and all text has the
771 // // same (default for this system) colour inside selection
772 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
774 // // this is the same as GetSelectedTextColour() but allows to customize the
775 // // background colour -- this is even more rarely used as you can change it
776 // // globally using SetSelectionBackground()
777 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
784 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
786 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
787 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
794 // implement dummy classes and such for wxMac
796 class wxTaskBarIcon
: public wxEvtHandler
799 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
803 class wxTaskBarIconEvent
: public wxEvent
806 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
807 { wxPyRaiseNotImplemented(); }
808 virtual wxEvent
* Clone() const { return NULL
; }
812 wxEVT_TASKBAR_MOVE
= 0,
813 wxEVT_TASKBAR_LEFT_DOWN
= 0,
814 wxEVT_TASKBAR_LEFT_UP
= 0,
815 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
816 wxEVT_TASKBAR_RIGHT_UP
= 0,
817 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
818 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
822 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
823 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
824 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
825 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
826 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
827 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
828 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
830 self
->GetFilenames(arr
);
831 return wxArrayString2PyList_helper(arr
);
833 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
836 return wxArrayString2PyList_helper(arr
);
838 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
839 return wxArrayInt2PyList_helper(self
->GetSelections());
841 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
842 return new wxSingleChoiceDialog(parent
, message
, caption
,
843 choices
, choices_array
, NULL
, style
, pos
);
848 // C++ version of Python aware wxWindow
849 class wxPyWindow
: public wxWindow
851 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
853 wxPyWindow() : wxWindow() {}
854 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
855 const wxPoint
& pos
= wxDefaultPosition
,
856 const wxSize
& size
= wxDefaultSize
,
858 const wxString
& name
= wxPyPanelNameStr
)
859 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
862 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
863 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
864 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
865 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
867 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
868 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
869 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
871 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
872 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
874 DEC_PYCALLBACK__(InitDialog
);
875 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
876 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
877 DEC_PYCALLBACK_BOOL_(Validate
);
879 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
880 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
881 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
883 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
884 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
886 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
887 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
892 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
894 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
895 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
896 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
897 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
899 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
900 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
901 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
903 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
904 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
906 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
907 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
908 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
909 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
911 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
912 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
913 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
915 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
916 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
918 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, ShouldInheritColours
);
919 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
922 // C++ version of Python aware wxPanel
923 class wxPyPanel
: public wxPanel
925 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
927 wxPyPanel() : wxPanel() {}
928 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
929 const wxPoint
& pos
= wxDefaultPosition
,
930 const wxSize
& size
= wxDefaultSize
,
932 const wxString
& name
= wxPyPanelNameStr
)
933 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
936 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
937 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
938 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
939 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
941 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
942 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
943 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
945 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
946 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
948 DEC_PYCALLBACK__(InitDialog
);
949 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
950 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
951 DEC_PYCALLBACK_BOOL_(Validate
);
953 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
954 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
955 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
957 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
958 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
960 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
961 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
966 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
968 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
969 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
970 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
971 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
973 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
974 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
975 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
977 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
978 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
980 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
981 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
982 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
983 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
985 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
986 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
987 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
989 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
990 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
992 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, ShouldInheritColours
);
993 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
995 // C++ version of Python aware wxScrolledWindow
996 class wxPyScrolledWindow
: public wxScrolledWindow
998 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1000 wxPyScrolledWindow() : wxScrolledWindow() {}
1001 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1002 const wxPoint
& pos
= wxDefaultPosition
,
1003 const wxSize
& size
= wxDefaultSize
,
1005 const wxString
& name
= wxPyPanelNameStr
)
1006 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1009 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1010 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1011 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1012 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1014 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1015 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1016 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1018 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1019 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1021 DEC_PYCALLBACK__(InitDialog
);
1022 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1023 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1024 DEC_PYCALLBACK_BOOL_(Validate
);
1026 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1027 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1028 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1030 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1031 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1033 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
1034 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1039 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1041 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1042 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1043 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1044 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1046 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1047 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1048 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1050 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1051 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1053 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1054 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1055 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1056 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1058 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1059 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1060 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1062 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1063 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1065 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1066 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1069 #include "wx/wxPython/printfw.h"
1072 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1073 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1077 // Since this one would be tough and ugly to do with the Macros...
1078 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1079 bool hadErr
= False
;
1082 bool blocked
= wxPyBeginBlockThreads();
1083 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1084 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1085 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1088 val
= PyTuple_GetItem(result
, 0);
1089 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1092 val
= PyTuple_GetItem(result
, 1);
1093 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1096 val
= PyTuple_GetItem(result
, 2);
1097 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1100 val
= PyTuple_GetItem(result
, 3);
1101 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1108 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1113 wxPyEndBlockThreads(blocked
);
1115 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1118 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1119 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1123 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1124 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1125 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1126 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1127 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1128 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1129 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1135 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1136 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1137 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1140 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1141 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1144 bool blocked = wxPyBeginBlockThreads(); \
1145 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1146 PyObject* win = wxPyMake_wxObject(a); \
1147 PyObject* dc = wxPyMake_wxObject(&b); \
1148 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1152 wxPyEndBlockThreads(blocked); \
1154 rval = PCLASS::CBNAME(a, b); \
1157 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1158 return PCLASS::CBNAME(a, b); \
1164 class wxPyPrintPreview
: public wxPrintPreview
1166 DECLARE_CLASS(wxPyPrintPreview
)
1168 wxPyPrintPreview(wxPyPrintout
* printout
,
1169 wxPyPrintout
* printoutForPrinting
,
1170 wxPrintDialogData
* data
=NULL
)
1171 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1173 wxPyPrintPreview(wxPyPrintout
* printout
,
1174 wxPyPrintout
* printoutForPrinting
,
1175 wxPrintData
* data
=NULL
)
1176 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1179 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1180 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1181 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1182 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1183 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1184 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1185 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1190 // Stupid renamed classes... Fix this in 2.5...
1191 #if defined(__WXMSW__)
1192 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1193 #elif defined(__WXMAC__)
1194 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1196 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1199 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1200 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1201 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1202 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1203 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1204 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1205 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1208 class wxPyPreviewFrame
: public wxPreviewFrame
1210 DECLARE_CLASS(wxPyPreviewFrame
);
1212 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1213 const wxString
& title
,
1214 const wxPoint
& pos
= wxDefaultPosition
,
1215 const wxSize
& size
= wxDefaultSize
,
1216 long style
= wxDEFAULT_FRAME_STYLE
,
1217 const wxString
& name
= wxPyFrameNameStr
)
1218 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1221 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1222 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1224 DEC_PYCALLBACK_VOID_(Initialize
);
1225 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1226 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1231 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1233 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1234 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1235 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1238 class wxPyPreviewControlBar
: public wxPreviewControlBar
1240 DECLARE_CLASS(wxPyPreviewControlBar
);
1242 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1245 const wxPoint
& pos
= wxDefaultPosition
,
1246 const wxSize
& size
= wxDefaultSize
,
1248 const wxString
& name
= wxPyPanelNameStr
)
1249 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1252 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1254 DEC_PYCALLBACK_VOID_(CreateButtons
);
1255 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1260 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1261 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1262 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1267 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1268 PyObject
*resultobj
;
1269 wxWindow
*arg1
= (wxWindow
*) 0 ;
1270 int arg2
= (int) (int)-1 ;
1271 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1272 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1273 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1274 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1275 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1276 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1277 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1281 bool temp6
= False
;
1282 PyObject
* obj0
= 0 ;
1283 PyObject
* obj1
= 0 ;
1284 PyObject
* obj2
= 0 ;
1285 PyObject
* obj3
= 0 ;
1286 PyObject
* obj4
= 0 ;
1287 PyObject
* obj5
= 0 ;
1289 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1296 arg2
= (int const) SWIG_AsInt(obj1
);
1297 if (PyErr_Occurred()) SWIG_fail
;
1302 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1308 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1312 arg5
= (long) SWIG_AsLong(obj4
);
1313 if (PyErr_Occurred()) SWIG_fail
;
1317 arg6
= wxString_in_helper(obj5
);
1318 if (arg6
== NULL
) SWIG_fail
;
1323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1324 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) SWIG_fail
;
1329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1344 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
*resultobj
;
1351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1354 result
= (wxPanel
*)new wxPanel();
1356 wxPyEndAllowThreads(__tstate
);
1357 if (PyErr_Occurred()) SWIG_fail
;
1359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1366 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
*resultobj
;
1368 wxPanel
*arg1
= (wxPanel
*) 0 ;
1369 wxWindow
*arg2
= (wxWindow
*) 0 ;
1371 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1372 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1373 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1374 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1375 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1376 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1377 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1381 bool temp7
= False
;
1382 PyObject
* obj0
= 0 ;
1383 PyObject
* obj1
= 0 ;
1384 PyObject
* obj2
= 0 ;
1385 PyObject
* obj3
= 0 ;
1386 PyObject
* obj4
= 0 ;
1387 PyObject
* obj5
= 0 ;
1388 PyObject
* obj6
= 0 ;
1390 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1398 arg3
= (int const) SWIG_AsInt(obj2
);
1399 if (PyErr_Occurred()) SWIG_fail
;
1403 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1409 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1413 arg6
= (long) SWIG_AsLong(obj5
);
1414 if (PyErr_Occurred()) SWIG_fail
;
1418 arg7
= wxString_in_helper(obj6
);
1419 if (arg7
== NULL
) SWIG_fail
;
1424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1425 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1427 wxPyEndAllowThreads(__tstate
);
1428 if (PyErr_Occurred()) SWIG_fail
;
1431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1447 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
*resultobj
;
1449 wxPanel
*arg1
= (wxPanel
*) 0 ;
1450 PyObject
* obj0
= 0 ;
1452 (char *) "self", NULL
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1460 (arg1
)->InitDialog();
1462 wxPyEndAllowThreads(__tstate
);
1463 if (PyErr_Occurred()) SWIG_fail
;
1465 Py_INCREF(Py_None
); resultobj
= Py_None
;
1472 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1475 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1477 return Py_BuildValue((char *)"");
1479 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
*resultobj
;
1481 wxWindow
*arg1
= (wxWindow
*) 0 ;
1482 int arg2
= (int) (int)-1 ;
1483 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1484 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1485 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1486 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1487 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1488 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1489 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1490 wxScrolledWindow
*result
;
1493 bool temp6
= False
;
1494 PyObject
* obj0
= 0 ;
1495 PyObject
* obj1
= 0 ;
1496 PyObject
* obj2
= 0 ;
1497 PyObject
* obj3
= 0 ;
1498 PyObject
* obj4
= 0 ;
1499 PyObject
* obj5
= 0 ;
1501 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1508 arg2
= (int const) SWIG_AsInt(obj1
);
1509 if (PyErr_Occurred()) SWIG_fail
;
1514 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1520 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1524 arg5
= (long) SWIG_AsLong(obj4
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1529 arg6
= wxString_in_helper(obj5
);
1530 if (arg6
== NULL
) SWIG_fail
;
1535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1536 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1538 wxPyEndAllowThreads(__tstate
);
1539 if (PyErr_Occurred()) SWIG_fail
;
1541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1556 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
*resultobj
;
1558 wxScrolledWindow
*result
;
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1568 wxPyEndAllowThreads(__tstate
);
1569 if (PyErr_Occurred()) SWIG_fail
;
1571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1578 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
*resultobj
;
1580 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1581 wxWindow
*arg2
= (wxWindow
*) 0 ;
1582 int arg3
= (int) (int)-1 ;
1583 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1584 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1585 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1586 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1587 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1588 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1589 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1593 bool temp7
= False
;
1594 PyObject
* obj0
= 0 ;
1595 PyObject
* obj1
= 0 ;
1596 PyObject
* obj2
= 0 ;
1597 PyObject
* obj3
= 0 ;
1598 PyObject
* obj4
= 0 ;
1599 PyObject
* obj5
= 0 ;
1600 PyObject
* obj6
= 0 ;
1602 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1611 arg3
= (int const) SWIG_AsInt(obj2
);
1612 if (PyErr_Occurred()) SWIG_fail
;
1617 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1623 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1627 arg6
= (long) SWIG_AsLong(obj5
);
1628 if (PyErr_Occurred()) SWIG_fail
;
1632 arg7
= wxString_in_helper(obj6
);
1633 if (arg7
== NULL
) SWIG_fail
;
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) SWIG_fail
;
1645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1661 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
*resultobj
;
1663 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1668 int arg6
= (int) 0 ;
1669 int arg7
= (int) 0 ;
1670 bool arg8
= (bool) False
;
1671 PyObject
* obj0
= 0 ;
1672 PyObject
* obj1
= 0 ;
1673 PyObject
* obj2
= 0 ;
1674 PyObject
* obj3
= 0 ;
1675 PyObject
* obj4
= 0 ;
1676 PyObject
* obj5
= 0 ;
1677 PyObject
* obj6
= 0 ;
1678 PyObject
* obj7
= 0 ;
1680 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1686 arg2
= (int) SWIG_AsInt(obj1
);
1687 if (PyErr_Occurred()) SWIG_fail
;
1688 arg3
= (int) SWIG_AsInt(obj2
);
1689 if (PyErr_Occurred()) SWIG_fail
;
1690 arg4
= (int) SWIG_AsInt(obj3
);
1691 if (PyErr_Occurred()) SWIG_fail
;
1692 arg5
= (int) SWIG_AsInt(obj4
);
1693 if (PyErr_Occurred()) SWIG_fail
;
1695 arg6
= (int) SWIG_AsInt(obj5
);
1696 if (PyErr_Occurred()) SWIG_fail
;
1699 arg7
= (int) SWIG_AsInt(obj6
);
1700 if (PyErr_Occurred()) SWIG_fail
;
1703 arg8
= (bool) SWIG_AsBool(obj7
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1708 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1710 wxPyEndAllowThreads(__tstate
);
1711 if (PyErr_Occurred()) SWIG_fail
;
1713 Py_INCREF(Py_None
); resultobj
= Py_None
;
1720 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1721 PyObject
*resultobj
;
1722 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1725 PyObject
* obj0
= 0 ;
1726 PyObject
* obj1
= 0 ;
1727 PyObject
* obj2
= 0 ;
1729 (char *) "self",(char *) "x",(char *) "y", NULL
1732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1735 arg2
= (int) SWIG_AsInt(obj1
);
1736 if (PyErr_Occurred()) SWIG_fail
;
1737 arg3
= (int) SWIG_AsInt(obj2
);
1738 if (PyErr_Occurred()) SWIG_fail
;
1740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1741 (arg1
)->Scroll(arg2
,arg3
);
1743 wxPyEndAllowThreads(__tstate
);
1744 if (PyErr_Occurred()) SWIG_fail
;
1746 Py_INCREF(Py_None
); resultobj
= Py_None
;
1753 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1754 PyObject
*resultobj
;
1755 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1758 PyObject
* obj0
= 0 ;
1759 PyObject
* obj1
= 0 ;
1761 (char *) "self",(char *) "orient", NULL
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1767 arg2
= (int) SWIG_AsInt(obj1
);
1768 if (PyErr_Occurred()) SWIG_fail
;
1770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1771 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1773 wxPyEndAllowThreads(__tstate
);
1774 if (PyErr_Occurred()) SWIG_fail
;
1776 resultobj
= SWIG_FromInt((int)result
);
1783 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
*resultobj
;
1785 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1788 PyObject
* obj0
= 0 ;
1789 PyObject
* obj1
= 0 ;
1790 PyObject
* obj2
= 0 ;
1792 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1798 arg2
= (int) SWIG_AsInt(obj1
);
1799 if (PyErr_Occurred()) SWIG_fail
;
1800 arg3
= (int) SWIG_AsInt(obj2
);
1801 if (PyErr_Occurred()) SWIG_fail
;
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1809 Py_INCREF(Py_None
); resultobj
= Py_None
;
1816 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
*resultobj
;
1818 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1821 PyObject
* obj0
= 0 ;
1822 PyObject
* obj1
= 0 ;
1823 PyObject
* obj2
= 0 ;
1825 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1831 arg2
= (int) SWIG_AsInt(obj1
);
1832 if (PyErr_Occurred()) SWIG_fail
;
1833 arg3
= (int) SWIG_AsInt(obj2
);
1834 if (PyErr_Occurred()) SWIG_fail
;
1836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1837 (arg1
)->SetScrollRate(arg2
,arg3
);
1839 wxPyEndAllowThreads(__tstate
);
1840 if (PyErr_Occurred()) SWIG_fail
;
1842 Py_INCREF(Py_None
); resultobj
= Py_None
;
1849 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
*resultobj
;
1851 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1852 int *arg2
= (int *) 0 ;
1853 int *arg3
= (int *) 0 ;
1856 PyObject
* obj0
= 0 ;
1858 (char *) "self", NULL
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1868 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1870 wxPyEndAllowThreads(__tstate
);
1871 if (PyErr_Occurred()) SWIG_fail
;
1873 Py_INCREF(Py_None
); resultobj
= Py_None
;
1875 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1876 resultobj
= t_output_helper(resultobj
,o
);
1879 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1880 resultobj
= t_output_helper(resultobj
,o
);
1888 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
*resultobj
;
1890 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1893 PyObject
* obj0
= 0 ;
1894 PyObject
* obj1
= 0 ;
1895 PyObject
* obj2
= 0 ;
1897 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1903 arg2
= (bool) SWIG_AsBool(obj1
);
1904 if (PyErr_Occurred()) SWIG_fail
;
1905 arg3
= (bool) SWIG_AsBool(obj2
);
1906 if (PyErr_Occurred()) SWIG_fail
;
1908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1909 (arg1
)->EnableScrolling(arg2
,arg3
);
1911 wxPyEndAllowThreads(__tstate
);
1912 if (PyErr_Occurred()) SWIG_fail
;
1914 Py_INCREF(Py_None
); resultobj
= Py_None
;
1921 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
*resultobj
;
1923 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1924 int *arg2
= (int *) 0 ;
1925 int *arg3
= (int *) 0 ;
1928 PyObject
* obj0
= 0 ;
1930 (char *) "self", NULL
1935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1940 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1942 wxPyEndAllowThreads(__tstate
);
1943 if (PyErr_Occurred()) SWIG_fail
;
1945 Py_INCREF(Py_None
); resultobj
= Py_None
;
1947 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1948 resultobj
= t_output_helper(resultobj
,o
);
1951 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1952 resultobj
= t_output_helper(resultobj
,o
);
1960 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
*resultobj
;
1962 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1965 PyObject
* obj0
= 0 ;
1966 PyObject
* obj1
= 0 ;
1967 PyObject
* obj2
= 0 ;
1969 (char *) "self",(char *) "xs",(char *) "ys", NULL
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1975 arg2
= (double) SWIG_AsDouble(obj1
);
1976 if (PyErr_Occurred()) SWIG_fail
;
1977 arg3
= (double) SWIG_AsDouble(obj2
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1981 (arg1
)->SetScale(arg2
,arg3
);
1983 wxPyEndAllowThreads(__tstate
);
1984 if (PyErr_Occurred()) SWIG_fail
;
1986 Py_INCREF(Py_None
); resultobj
= Py_None
;
1993 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1994 PyObject
*resultobj
;
1995 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1997 PyObject
* obj0
= 0 ;
1999 (char *) "self", NULL
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2009 wxPyEndAllowThreads(__tstate
);
2010 if (PyErr_Occurred()) SWIG_fail
;
2012 resultobj
= SWIG_FromDouble((double)result
);
2019 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
*resultobj
;
2021 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2023 PyObject
* obj0
= 0 ;
2025 (char *) "self", NULL
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2033 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) SWIG_fail
;
2038 resultobj
= SWIG_FromDouble((double)result
);
2045 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2046 PyObject
*resultobj
;
2047 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2051 PyObject
* obj0
= 0 ;
2052 PyObject
* obj1
= 0 ;
2054 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2059 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2063 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2065 wxPyEndAllowThreads(__tstate
);
2066 if (PyErr_Occurred()) SWIG_fail
;
2069 wxPoint
* resultptr
;
2070 resultptr
= new wxPoint((wxPoint
&) result
);
2071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2079 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2080 PyObject
*resultobj
;
2081 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2084 int *arg4
= (int *) 0 ;
2085 int *arg5
= (int *) 0 ;
2088 PyObject
* obj0
= 0 ;
2089 PyObject
* obj1
= 0 ;
2090 PyObject
* obj2
= 0 ;
2094 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2097 arg2
= (int) SWIG_AsInt(obj1
);
2098 if (PyErr_Occurred()) SWIG_fail
;
2099 arg3
= (int) SWIG_AsInt(obj2
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) SWIG_fail
;
2108 Py_INCREF(Py_None
); resultobj
= Py_None
;
2110 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2111 resultobj
= t_output_helper(resultobj
,o
);
2114 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2115 resultobj
= t_output_helper(resultobj
,o
);
2123 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2128 argc
= PyObject_Length(args
);
2129 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2130 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2136 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2145 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2148 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2156 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2164 _v
= SWIG_CheckInt(argv
[1]);
2166 _v
= SWIG_CheckInt(argv
[2]);
2168 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2174 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2179 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2180 PyObject
*resultobj
;
2181 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2185 PyObject
* obj0
= 0 ;
2186 PyObject
* obj1
= 0 ;
2188 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2193 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2203 wxPoint
* resultptr
;
2204 resultptr
= new wxPoint((wxPoint
&) result
);
2205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2213 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2214 PyObject
*resultobj
;
2215 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2218 int *arg4
= (int *) 0 ;
2219 int *arg5
= (int *) 0 ;
2222 PyObject
* obj0
= 0 ;
2223 PyObject
* obj1
= 0 ;
2224 PyObject
* obj2
= 0 ;
2228 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2231 arg2
= (int) SWIG_AsInt(obj1
);
2232 if (PyErr_Occurred()) SWIG_fail
;
2233 arg3
= (int) SWIG_AsInt(obj2
);
2234 if (PyErr_Occurred()) SWIG_fail
;
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2242 Py_INCREF(Py_None
); resultobj
= Py_None
;
2244 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2245 resultobj
= t_output_helper(resultobj
,o
);
2248 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2249 resultobj
= t_output_helper(resultobj
,o
);
2257 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2262 argc
= PyObject_Length(args
);
2263 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2264 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2270 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2279 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2282 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2290 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2298 _v
= SWIG_CheckInt(argv
[1]);
2300 _v
= SWIG_CheckInt(argv
[2]);
2302 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2308 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2313 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
*resultobj
;
2315 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2316 PyObject
* obj0
= 0 ;
2318 (char *) "self", NULL
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 (arg1
)->AdjustScrollbars();
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2331 Py_INCREF(Py_None
); resultobj
= Py_None
;
2338 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
*resultobj
;
2340 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2341 wxScrollWinEvent
*arg2
= 0 ;
2343 PyObject
* obj0
= 0 ;
2344 PyObject
* obj1
= 0 ;
2346 (char *) "self",(char *) "event", NULL
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2356 PyErr_SetString(PyExc_TypeError
,"null reference");
2360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2361 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2363 wxPyEndAllowThreads(__tstate
);
2364 if (PyErr_Occurred()) SWIG_fail
;
2366 resultobj
= SWIG_FromInt((int)result
);
2373 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
*resultobj
;
2375 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2376 wxWindow
*arg2
= (wxWindow
*) 0 ;
2377 PyObject
* obj0
= 0 ;
2378 PyObject
* obj1
= 0 ;
2380 (char *) "self",(char *) "target", NULL
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2390 (arg1
)->SetTargetWindow(arg2
);
2392 wxPyEndAllowThreads(__tstate
);
2393 if (PyErr_Occurred()) SWIG_fail
;
2395 Py_INCREF(Py_None
); resultobj
= Py_None
;
2402 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
*resultobj
;
2404 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2406 PyObject
* obj0
= 0 ;
2408 (char *) "self", NULL
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2416 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2418 wxPyEndAllowThreads(__tstate
);
2419 if (PyErr_Occurred()) SWIG_fail
;
2422 resultobj
= wxPyMake_wxObject(result
);
2430 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
*resultobj
;
2432 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2435 PyObject
* obj0
= 0 ;
2436 PyObject
* obj1
= 0 ;
2438 (char *) "self",(char *) "rect", NULL
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2446 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2450 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2452 wxPyEndAllowThreads(__tstate
);
2453 if (PyErr_Occurred()) SWIG_fail
;
2455 Py_INCREF(Py_None
); resultobj
= Py_None
;
2462 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2463 PyObject
*resultobj
;
2464 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2466 PyObject
* obj0
= 0 ;
2468 (char *) "self", NULL
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) SWIG_fail
;
2483 resultptr
= new wxRect((wxRect
&) result
);
2484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2492 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2495 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2497 return Py_BuildValue((char *)"");
2499 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2500 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2505 static PyObject
*_wrap_FrameNameStr_get() {
2510 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2512 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2519 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2520 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2525 static PyObject
*_wrap_DialogNameStr_get() {
2530 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2532 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2539 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2540 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2545 static PyObject
*_wrap_StatusLineNameStr_get() {
2550 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2552 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2559 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2560 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2565 static PyObject
*_wrap_ToolBarNameStr_get() {
2570 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2572 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2579 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
*resultobj
;
2581 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2582 bool arg2
= (bool) True
;
2583 PyObject
* obj0
= 0 ;
2584 PyObject
* obj1
= 0 ;
2586 (char *) "self",(char *) "maximize", NULL
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2593 arg2
= (bool) SWIG_AsBool(obj1
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 (arg1
)->Maximize(arg2
);
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2603 Py_INCREF(Py_None
); resultobj
= Py_None
;
2610 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2612 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2613 PyObject
* obj0
= 0 ;
2615 (char *) "self", NULL
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2628 Py_INCREF(Py_None
); resultobj
= Py_None
;
2635 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
*resultobj
;
2637 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2638 bool arg2
= (bool) True
;
2639 PyObject
* obj0
= 0 ;
2640 PyObject
* obj1
= 0 ;
2642 (char *) "self",(char *) "iconize", NULL
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2649 arg2
= (bool) SWIG_AsBool(obj1
);
2650 if (PyErr_Occurred()) SWIG_fail
;
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 (arg1
)->Iconize(arg2
);
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2659 Py_INCREF(Py_None
); resultobj
= Py_None
;
2666 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2668 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2670 PyObject
* obj0
= 0 ;
2672 (char *) "self", NULL
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2680 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2682 wxPyEndAllowThreads(__tstate
);
2683 if (PyErr_Occurred()) SWIG_fail
;
2686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2694 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
*resultobj
;
2696 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2698 PyObject
* obj0
= 0 ;
2700 (char *) "self", NULL
2703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) SWIG_fail
;
2714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2722 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
*resultobj
;
2724 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2726 PyObject
* obj0
= 0 ;
2728 (char *) "self", NULL
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) SWIG_fail
;
2743 resultptr
= new wxIcon((wxIcon
&) result
);
2744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2752 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
*resultobj
;
2754 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2756 PyObject
* obj0
= 0 ;
2757 PyObject
* obj1
= 0 ;
2759 (char *) "self",(char *) "icon", NULL
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2769 PyErr_SetString(PyExc_TypeError
,"null reference");
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2779 Py_INCREF(Py_None
); resultobj
= Py_None
;
2786 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
*resultobj
;
2788 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2789 wxIconBundle
*arg2
= 0 ;
2790 PyObject
* obj0
= 0 ;
2791 PyObject
* obj1
= 0 ;
2793 (char *) "self",(char *) "icons", NULL
2796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2800 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2803 PyErr_SetString(PyExc_TypeError
,"null reference");
2807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2808 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2810 wxPyEndAllowThreads(__tstate
);
2811 if (PyErr_Occurred()) SWIG_fail
;
2813 Py_INCREF(Py_None
); resultobj
= Py_None
;
2820 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
*resultobj
;
2822 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2824 long arg3
= (long) wxFULLSCREEN_ALL
;
2826 PyObject
* obj0
= 0 ;
2827 PyObject
* obj1
= 0 ;
2828 PyObject
* obj2
= 0 ;
2830 (char *) "self",(char *) "show",(char *) "style", NULL
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2836 arg2
= (bool) SWIG_AsBool(obj1
);
2837 if (PyErr_Occurred()) SWIG_fail
;
2839 arg3
= (long) SWIG_AsLong(obj2
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2858 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
*resultobj
;
2860 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2862 PyObject
* obj0
= 0 ;
2864 (char *) "self", NULL
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2872 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2874 wxPyEndAllowThreads(__tstate
);
2875 if (PyErr_Occurred()) SWIG_fail
;
2878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2886 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
*resultobj
;
2888 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2889 wxString
*arg2
= 0 ;
2890 bool temp2
= False
;
2891 PyObject
* obj0
= 0 ;
2892 PyObject
* obj1
= 0 ;
2894 (char *) "self",(char *) "title", NULL
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2901 arg2
= wxString_in_helper(obj1
);
2902 if (arg2
== NULL
) SWIG_fail
;
2906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2907 (arg1
)->SetTitle((wxString
const &)*arg2
);
2909 wxPyEndAllowThreads(__tstate
);
2910 if (PyErr_Occurred()) SWIG_fail
;
2912 Py_INCREF(Py_None
); resultobj
= Py_None
;
2927 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2928 PyObject
*resultobj
;
2929 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2931 PyObject
* obj0
= 0 ;
2933 (char *) "self", NULL
2936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2941 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) SWIG_fail
;
2948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2959 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
*resultobj
;
2961 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2962 wxRegion
*arg2
= 0 ;
2964 PyObject
* obj0
= 0 ;
2965 PyObject
* obj1
= 0 ;
2967 (char *) "self",(char *) "region", NULL
2970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2977 PyErr_SetString(PyExc_TypeError
,"null reference");
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2996 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2999 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3001 return Py_BuildValue((char *)"");
3003 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
*resultobj
;
3005 wxWindow
*arg1
= (wxWindow
*) 0 ;
3007 wxString
*arg3
= 0 ;
3008 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3009 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3010 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3011 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3012 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3013 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3014 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3016 bool temp3
= False
;
3019 bool temp7
= False
;
3020 PyObject
* obj0
= 0 ;
3021 PyObject
* obj1
= 0 ;
3022 PyObject
* obj2
= 0 ;
3023 PyObject
* obj3
= 0 ;
3024 PyObject
* obj4
= 0 ;
3025 PyObject
* obj5
= 0 ;
3026 PyObject
* obj6
= 0 ;
3028 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3034 arg2
= (int const) SWIG_AsInt(obj1
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3037 arg3
= wxString_in_helper(obj2
);
3038 if (arg3
== NULL
) SWIG_fail
;
3044 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3050 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3054 arg6
= (long) SWIG_AsLong(obj5
);
3055 if (PyErr_Occurred()) SWIG_fail
;
3059 arg7
= wxString_in_helper(obj6
);
3060 if (arg7
== NULL
) SWIG_fail
;
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) SWIG_fail
;
3072 resultobj
= wxPyMake_wxObject(result
);
3096 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
*resultobj
;
3103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3106 result
= (wxFrame
*)new wxFrame();
3108 wxPyEndAllowThreads(__tstate
);
3109 if (PyErr_Occurred()) SWIG_fail
;
3112 resultobj
= wxPyMake_wxObject(result
);
3120 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3121 PyObject
*resultobj
;
3122 wxFrame
*arg1
= (wxFrame
*) 0 ;
3123 wxWindow
*arg2
= (wxWindow
*) 0 ;
3125 wxString
*arg4
= 0 ;
3126 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3127 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3128 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3129 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3130 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3131 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3132 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3134 bool temp4
= False
;
3137 bool temp8
= False
;
3138 PyObject
* obj0
= 0 ;
3139 PyObject
* obj1
= 0 ;
3140 PyObject
* obj2
= 0 ;
3141 PyObject
* obj3
= 0 ;
3142 PyObject
* obj4
= 0 ;
3143 PyObject
* obj5
= 0 ;
3144 PyObject
* obj6
= 0 ;
3145 PyObject
* obj7
= 0 ;
3147 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3155 arg3
= (int const) SWIG_AsInt(obj2
);
3156 if (PyErr_Occurred()) SWIG_fail
;
3158 arg4
= wxString_in_helper(obj3
);
3159 if (arg4
== NULL
) SWIG_fail
;
3165 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3171 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3175 arg7
= (long) SWIG_AsLong(obj6
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3180 arg8
= wxString_in_helper(obj7
);
3181 if (arg8
== NULL
) SWIG_fail
;
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3217 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
*resultobj
;
3219 wxFrame
*arg1
= (wxFrame
*) 0 ;
3221 PyObject
* obj0
= 0 ;
3223 (char *) "self", NULL
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3231 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3233 wxPyEndAllowThreads(__tstate
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3237 wxPoint
* resultptr
;
3238 resultptr
= new wxPoint((wxPoint
&) result
);
3239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3247 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
*resultobj
;
3249 wxFrame
*arg1
= (wxFrame
*) 0 ;
3250 PyObject
* obj0
= 0 ;
3252 (char *) "self", NULL
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 (arg1
)->SendSizeEvent();
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3265 Py_INCREF(Py_None
); resultobj
= Py_None
;
3272 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3273 PyObject
*resultobj
;
3274 wxFrame
*arg1
= (wxFrame
*) 0 ;
3275 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3276 PyObject
* obj0
= 0 ;
3277 PyObject
* obj1
= 0 ;
3279 (char *) "self",(char *) "menubar", NULL
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 (arg1
)->SetMenuBar(arg2
);
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3294 Py_INCREF(Py_None
); resultobj
= Py_None
;
3301 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
*resultobj
;
3303 wxFrame
*arg1
= (wxFrame
*) 0 ;
3305 PyObject
* obj0
= 0 ;
3307 (char *) "self", NULL
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3317 wxPyEndAllowThreads(__tstate
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3321 resultobj
= wxPyMake_wxObject(result
);
3329 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
*resultobj
;
3331 wxFrame
*arg1
= (wxFrame
*) 0 ;
3334 PyObject
* obj0
= 0 ;
3335 PyObject
* obj1
= 0 ;
3337 (char *) "self",(char *) "winid", NULL
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3343 arg2
= (int) SWIG_AsInt(obj1
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3347 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3349 wxPyEndAllowThreads(__tstate
);
3350 if (PyErr_Occurred()) SWIG_fail
;
3353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3361 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
;
3363 wxFrame
*arg1
= (wxFrame
*) 0 ;
3364 int arg2
= (int) 1 ;
3365 long arg3
= (long) wxST_SIZEGRIP
;
3366 int arg4
= (int) 0 ;
3367 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3368 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3369 wxStatusBar
*result
;
3370 bool temp5
= False
;
3371 PyObject
* obj0
= 0 ;
3372 PyObject
* obj1
= 0 ;
3373 PyObject
* obj2
= 0 ;
3374 PyObject
* obj3
= 0 ;
3375 PyObject
* obj4
= 0 ;
3377 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3384 arg2
= (int) SWIG_AsInt(obj1
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3388 arg3
= (long) SWIG_AsLong(obj2
);
3389 if (PyErr_Occurred()) SWIG_fail
;
3392 arg4
= (int) SWIG_AsInt(obj3
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3397 arg5
= wxString_in_helper(obj4
);
3398 if (arg5
== NULL
) SWIG_fail
;
3403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3404 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3406 wxPyEndAllowThreads(__tstate
);
3407 if (PyErr_Occurred()) SWIG_fail
;
3410 resultobj
= wxPyMake_wxObject(result
);
3426 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
*resultobj
;
3428 wxFrame
*arg1
= (wxFrame
*) 0 ;
3429 wxStatusBar
*result
;
3430 PyObject
* obj0
= 0 ;
3432 (char *) "self", NULL
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3440 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3442 wxPyEndAllowThreads(__tstate
);
3443 if (PyErr_Occurred()) SWIG_fail
;
3446 resultobj
= wxPyMake_wxObject(result
);
3454 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
;
3456 wxFrame
*arg1
= (wxFrame
*) 0 ;
3457 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3458 PyObject
* obj0
= 0 ;
3459 PyObject
* obj1
= 0 ;
3461 (char *) "self",(char *) "statBar", NULL
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 (arg1
)->SetStatusBar(arg2
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3476 Py_INCREF(Py_None
); resultobj
= Py_None
;
3483 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
*resultobj
;
3485 wxFrame
*arg1
= (wxFrame
*) 0 ;
3486 wxString
*arg2
= 0 ;
3487 int arg3
= (int) 0 ;
3488 bool temp2
= False
;
3489 PyObject
* obj0
= 0 ;
3490 PyObject
* obj1
= 0 ;
3491 PyObject
* obj2
= 0 ;
3493 (char *) "self",(char *) "text",(char *) "number", NULL
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3500 arg2
= wxString_in_helper(obj1
);
3501 if (arg2
== NULL
) SWIG_fail
;
3505 arg3
= (int) SWIG_AsInt(obj2
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3510 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3512 wxPyEndAllowThreads(__tstate
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3515 Py_INCREF(Py_None
); resultobj
= Py_None
;
3530 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
*resultobj
;
3532 wxFrame
*arg1
= (wxFrame
*) 0 ;
3534 int *arg3
= (int *) 0 ;
3535 PyObject
* obj0
= 0 ;
3536 PyObject
* obj1
= 0 ;
3538 (char *) "self",(char *) "widths", NULL
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3545 arg2
= PyList_Size(obj1
);
3546 arg3
= int_LIST_helper(obj1
);
3547 if (arg3
== NULL
) SWIG_fail
;
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3556 Py_INCREF(Py_None
); resultobj
= Py_None
;
3558 if (arg3
) delete [] arg3
;
3563 if (arg3
) delete [] arg3
;
3569 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
*resultobj
;
3571 wxFrame
*arg1
= (wxFrame
*) 0 ;
3572 wxString
*arg2
= 0 ;
3573 int arg3
= (int) 0 ;
3574 bool temp2
= False
;
3575 PyObject
* obj0
= 0 ;
3576 PyObject
* obj1
= 0 ;
3577 PyObject
* obj2
= 0 ;
3579 (char *) "self",(char *) "text",(char *) "number", NULL
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3586 arg2
= wxString_in_helper(obj1
);
3587 if (arg2
== NULL
) SWIG_fail
;
3591 arg3
= (int) SWIG_AsInt(obj2
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3596 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3598 wxPyEndAllowThreads(__tstate
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3601 Py_INCREF(Py_None
); resultobj
= Py_None
;
3616 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
*resultobj
;
3618 wxFrame
*arg1
= (wxFrame
*) 0 ;
3619 int arg2
= (int) 0 ;
3620 PyObject
* obj0
= 0 ;
3621 PyObject
* obj1
= 0 ;
3623 (char *) "self",(char *) "number", NULL
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3630 arg2
= (int) SWIG_AsInt(obj1
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3635 (arg1
)->PopStatusText(arg2
);
3637 wxPyEndAllowThreads(__tstate
);
3638 if (PyErr_Occurred()) SWIG_fail
;
3640 Py_INCREF(Py_None
); resultobj
= Py_None
;
3647 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
*resultobj
;
3649 wxFrame
*arg1
= (wxFrame
*) 0 ;
3651 PyObject
* obj0
= 0 ;
3652 PyObject
* obj1
= 0 ;
3654 (char *) "self",(char *) "n", NULL
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3660 arg2
= (int) SWIG_AsInt(obj1
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 (arg1
)->SetStatusBarPane(arg2
);
3666 wxPyEndAllowThreads(__tstate
);
3667 if (PyErr_Occurred()) SWIG_fail
;
3669 Py_INCREF(Py_None
); resultobj
= Py_None
;
3676 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
*resultobj
;
3678 wxFrame
*arg1
= (wxFrame
*) 0 ;
3680 PyObject
* obj0
= 0 ;
3682 (char *) "self", NULL
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3695 resultobj
= SWIG_FromInt((int)result
);
3702 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
*resultobj
;
3704 wxFrame
*arg1
= (wxFrame
*) 0 ;
3705 long arg2
= (long) -1 ;
3706 int arg3
= (int) -1 ;
3707 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3708 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3710 bool temp4
= False
;
3711 PyObject
* obj0
= 0 ;
3712 PyObject
* obj1
= 0 ;
3713 PyObject
* obj2
= 0 ;
3714 PyObject
* obj3
= 0 ;
3716 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3723 arg2
= (long) SWIG_AsLong(obj1
);
3724 if (PyErr_Occurred()) SWIG_fail
;
3727 arg3
= (int) SWIG_AsInt(obj2
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3732 arg4
= wxString_in_helper(obj3
);
3733 if (arg4
== NULL
) SWIG_fail
;
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3745 resultobj
= wxPyMake_wxObject(result
);
3761 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
*resultobj
;
3763 wxFrame
*arg1
= (wxFrame
*) 0 ;
3765 PyObject
* obj0
= 0 ;
3767 (char *) "self", NULL
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3777 wxPyEndAllowThreads(__tstate
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3781 resultobj
= wxPyMake_wxObject(result
);
3789 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
*resultobj
;
3791 wxFrame
*arg1
= (wxFrame
*) 0 ;
3792 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3793 PyObject
* obj0
= 0 ;
3794 PyObject
* obj1
= 0 ;
3796 (char *) "self",(char *) "toolbar", NULL
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 (arg1
)->SetToolBar(arg2
);
3808 wxPyEndAllowThreads(__tstate
);
3809 if (PyErr_Occurred()) SWIG_fail
;
3811 Py_INCREF(Py_None
); resultobj
= Py_None
;
3818 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
*resultobj
;
3820 wxFrame
*arg1
= (wxFrame
*) 0 ;
3821 wxString
*arg2
= 0 ;
3823 bool temp2
= False
;
3824 PyObject
* obj0
= 0 ;
3825 PyObject
* obj1
= 0 ;
3826 PyObject
* obj2
= 0 ;
3828 (char *) "self",(char *) "text",(char *) "show", NULL
3831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3835 arg2
= wxString_in_helper(obj1
);
3836 if (arg2
== NULL
) SWIG_fail
;
3839 arg3
= (bool) SWIG_AsBool(obj2
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3848 Py_INCREF(Py_None
); resultobj
= Py_None
;
3863 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
;
3865 wxFrame
*arg1
= (wxFrame
*) 0 ;
3866 wxMenu
*arg2
= (wxMenu
*) NULL
;
3867 PyObject
* obj0
= 0 ;
3868 PyObject
* obj1
= 0 ;
3870 (char *) "self",(char *) "menu", NULL
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 (arg1
)->DoMenuUpdates(arg2
);
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 Py_INCREF(Py_None
); resultobj
= Py_None
;
3894 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3897 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3899 return Py_BuildValue((char *)"");
3901 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
;
3903 wxWindow
*arg1
= (wxWindow
*) 0 ;
3905 wxString
*arg3
= 0 ;
3906 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3907 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3908 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3909 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3910 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3911 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3912 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3914 bool temp3
= False
;
3917 bool temp7
= False
;
3918 PyObject
* obj0
= 0 ;
3919 PyObject
* obj1
= 0 ;
3920 PyObject
* obj2
= 0 ;
3921 PyObject
* obj3
= 0 ;
3922 PyObject
* obj4
= 0 ;
3923 PyObject
* obj5
= 0 ;
3924 PyObject
* obj6
= 0 ;
3926 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3932 arg2
= (int const) SWIG_AsInt(obj1
);
3933 if (PyErr_Occurred()) SWIG_fail
;
3935 arg3
= wxString_in_helper(obj2
);
3936 if (arg3
== NULL
) SWIG_fail
;
3942 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3948 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3952 arg6
= (long) SWIG_AsLong(obj5
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3957 arg7
= wxString_in_helper(obj6
);
3958 if (arg7
== NULL
) SWIG_fail
;
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3992 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 result
= (wxDialog
*)new wxDialog();
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4014 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4015 PyObject
*resultobj
;
4016 wxDialog
*arg1
= (wxDialog
*) 0 ;
4017 wxWindow
*arg2
= (wxWindow
*) 0 ;
4019 wxString
*arg4
= 0 ;
4020 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4021 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4022 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4023 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4024 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4025 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4026 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4028 bool temp4
= False
;
4031 bool temp8
= False
;
4032 PyObject
* obj0
= 0 ;
4033 PyObject
* obj1
= 0 ;
4034 PyObject
* obj2
= 0 ;
4035 PyObject
* obj3
= 0 ;
4036 PyObject
* obj4
= 0 ;
4037 PyObject
* obj5
= 0 ;
4038 PyObject
* obj6
= 0 ;
4039 PyObject
* obj7
= 0 ;
4041 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4049 arg3
= (int const) SWIG_AsInt(obj2
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4052 arg4
= wxString_in_helper(obj3
);
4053 if (arg4
== NULL
) SWIG_fail
;
4059 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4065 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4069 arg7
= (long) SWIG_AsLong(obj6
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4074 arg8
= wxString_in_helper(obj7
);
4075 if (arg8
== NULL
) SWIG_fail
;
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4111 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
*resultobj
;
4113 wxDialog
*arg1
= (wxDialog
*) 0 ;
4115 PyObject
* obj0
= 0 ;
4116 PyObject
* obj1
= 0 ;
4118 (char *) "self",(char *) "returnCode", NULL
4121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4124 arg2
= (int) SWIG_AsInt(obj1
);
4125 if (PyErr_Occurred()) SWIG_fail
;
4127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4128 (arg1
)->SetReturnCode(arg2
);
4130 wxPyEndAllowThreads(__tstate
);
4131 if (PyErr_Occurred()) SWIG_fail
;
4133 Py_INCREF(Py_None
); resultobj
= Py_None
;
4140 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
*resultobj
;
4142 wxDialog
*arg1
= (wxDialog
*) 0 ;
4144 PyObject
* obj0
= 0 ;
4146 (char *) "self", NULL
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4156 wxPyEndAllowThreads(__tstate
);
4157 if (PyErr_Occurred()) SWIG_fail
;
4159 resultobj
= SWIG_FromInt((int)result
);
4166 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
*resultobj
;
4168 wxDialog
*arg1
= (wxDialog
*) 0 ;
4169 wxString
*arg2
= 0 ;
4171 bool temp2
= False
;
4172 PyObject
* obj0
= 0 ;
4173 PyObject
* obj1
= 0 ;
4175 (char *) "self",(char *) "message", NULL
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4182 arg2
= wxString_in_helper(obj1
);
4183 if (arg2
== NULL
) SWIG_fail
;
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4194 resultobj
= wxPyMake_wxSizer(result
);
4210 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
;
4212 wxDialog
*arg1
= (wxDialog
*) 0 ;
4215 PyObject
* obj0
= 0 ;
4216 PyObject
* obj1
= 0 ;
4218 (char *) "self",(char *) "flags", NULL
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4224 arg2
= (long) SWIG_AsLong(obj1
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= wxPyMake_wxSizer(result
);
4242 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
*resultobj
;
4244 wxDialog
*arg1
= (wxDialog
*) 0 ;
4246 PyObject
* obj0
= 0 ;
4248 (char *) "self", NULL
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4270 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
*resultobj
;
4272 wxDialog
*arg1
= (wxDialog
*) 0 ;
4274 PyObject
* obj0
= 0 ;
4276 (char *) "self", NULL
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 result
= (int)(arg1
)->ShowModal();
4286 wxPyEndAllowThreads(__tstate
);
4287 if (PyErr_Occurred()) SWIG_fail
;
4289 resultobj
= SWIG_FromInt((int)result
);
4296 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
*resultobj
;
4298 wxDialog
*arg1
= (wxDialog
*) 0 ;
4300 PyObject
* obj0
= 0 ;
4301 PyObject
* obj1
= 0 ;
4303 (char *) "self",(char *) "retCode", NULL
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4309 arg2
= (int) SWIG_AsInt(obj1
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 (arg1
)->EndModal(arg2
);
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 Py_INCREF(Py_None
); resultobj
= Py_None
;
4325 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
*resultobj
;
4327 wxDialog
*arg1
= (wxDialog
*) 0 ;
4329 PyObject
* obj0
= 0 ;
4331 (char *) "self", NULL
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 result
= (bool)wxDialog_IsModalShowing(arg1
);
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4353 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4356 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4358 return Py_BuildValue((char *)"");
4360 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
;
4362 wxWindow
*arg1
= (wxWindow
*) 0 ;
4364 wxString
*arg3
= 0 ;
4365 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4366 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4367 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4368 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4369 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4370 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4371 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4372 wxMiniFrame
*result
;
4373 bool temp3
= False
;
4376 bool temp7
= False
;
4377 PyObject
* obj0
= 0 ;
4378 PyObject
* obj1
= 0 ;
4379 PyObject
* obj2
= 0 ;
4380 PyObject
* obj3
= 0 ;
4381 PyObject
* obj4
= 0 ;
4382 PyObject
* obj5
= 0 ;
4383 PyObject
* obj6
= 0 ;
4385 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4391 arg2
= (int const) SWIG_AsInt(obj1
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4394 arg3
= wxString_in_helper(obj2
);
4395 if (arg3
== NULL
) SWIG_fail
;
4401 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4407 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4411 arg6
= (long) SWIG_AsLong(obj5
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4416 arg7
= wxString_in_helper(obj6
);
4417 if (arg7
== NULL
) SWIG_fail
;
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4425 wxPyEndAllowThreads(__tstate
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4451 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
*resultobj
;
4453 wxMiniFrame
*result
;
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 result
= (wxMiniFrame
*)new wxMiniFrame();
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4473 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
*resultobj
;
4475 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4476 wxWindow
*arg2
= (wxWindow
*) 0 ;
4478 wxString
*arg4
= 0 ;
4479 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4480 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4481 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4482 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4483 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4484 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4485 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4487 bool temp4
= False
;
4490 bool temp8
= False
;
4491 PyObject
* obj0
= 0 ;
4492 PyObject
* obj1
= 0 ;
4493 PyObject
* obj2
= 0 ;
4494 PyObject
* obj3
= 0 ;
4495 PyObject
* obj4
= 0 ;
4496 PyObject
* obj5
= 0 ;
4497 PyObject
* obj6
= 0 ;
4498 PyObject
* obj7
= 0 ;
4500 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4508 arg3
= (int const) SWIG_AsInt(obj2
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4511 arg4
= wxString_in_helper(obj3
);
4512 if (arg4
== NULL
) SWIG_fail
;
4518 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4524 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4528 arg7
= (long) SWIG_AsLong(obj6
);
4529 if (PyErr_Occurred()) SWIG_fail
;
4533 arg8
= wxString_in_helper(obj7
);
4534 if (arg8
== NULL
) SWIG_fail
;
4539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4570 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4573 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4575 return Py_BuildValue((char *)"");
4577 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
*resultobj
;
4579 wxBitmap
*arg1
= 0 ;
4580 wxWindow
*arg2
= (wxWindow
*) 0 ;
4582 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4583 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4584 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4585 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4586 long arg6
= (long) wxNO_BORDER
;
4587 wxSplashScreenWindow
*result
;
4590 PyObject
* obj0
= 0 ;
4591 PyObject
* obj1
= 0 ;
4592 PyObject
* obj2
= 0 ;
4593 PyObject
* obj3
= 0 ;
4594 PyObject
* obj4
= 0 ;
4595 PyObject
* obj5
= 0 ;
4597 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4605 PyErr_SetString(PyExc_TypeError
,"null reference");
4608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4610 arg3
= (int) SWIG_AsInt(obj2
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4615 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4621 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4625 arg6
= (long) SWIG_AsLong(obj5
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4630 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4642 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
;
4644 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4645 wxBitmap
*arg2
= 0 ;
4646 PyObject
* obj0
= 0 ;
4647 PyObject
* obj1
= 0 ;
4649 (char *) "self",(char *) "bitmap", NULL
4652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4656 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4659 PyErr_SetString(PyExc_TypeError
,"null reference");
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4669 Py_INCREF(Py_None
); resultobj
= Py_None
;
4676 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
*resultobj
;
4678 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4680 PyObject
* obj0
= 0 ;
4682 (char *) "self", NULL
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4691 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4692 result
= (wxBitmap
*) &_result_ref
;
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4699 wxBitmap
* resultptr
= new wxBitmap(*result
);
4700 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4708 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4711 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4713 return Py_BuildValue((char *)"");
4715 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
;
4717 wxBitmap
*arg1
= 0 ;
4720 wxWindow
*arg4
= (wxWindow
*) 0 ;
4722 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4723 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4724 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4725 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4726 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4727 wxSplashScreen
*result
;
4730 PyObject
* obj0
= 0 ;
4731 PyObject
* obj1
= 0 ;
4732 PyObject
* obj2
= 0 ;
4733 PyObject
* obj3
= 0 ;
4734 PyObject
* obj4
= 0 ;
4735 PyObject
* obj5
= 0 ;
4736 PyObject
* obj6
= 0 ;
4737 PyObject
* obj7
= 0 ;
4739 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4747 PyErr_SetString(PyExc_TypeError
,"null reference");
4750 arg2
= (long) SWIG_AsLong(obj1
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4752 arg3
= (int) SWIG_AsInt(obj2
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4754 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4756 arg5
= (int) SWIG_AsInt(obj4
);
4757 if (PyErr_Occurred()) SWIG_fail
;
4761 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4767 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4771 arg8
= (long) SWIG_AsLong(obj7
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4776 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4778 wxPyEndAllowThreads(__tstate
);
4779 if (PyErr_Occurred()) SWIG_fail
;
4781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4788 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
*resultobj
;
4790 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4792 PyObject
* obj0
= 0 ;
4794 (char *) "self", NULL
4797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 resultobj
= SWIG_FromLong((long)result
);
4814 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
*resultobj
;
4816 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4817 wxSplashScreenWindow
*result
;
4818 PyObject
* obj0
= 0 ;
4820 (char *) "self", NULL
4823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4840 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
*resultobj
;
4842 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4844 PyObject
* obj0
= 0 ;
4846 (char *) "self", NULL
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4859 resultobj
= SWIG_FromInt((int)result
);
4866 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4869 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4871 return Py_BuildValue((char *)"");
4873 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
*resultobj
;
4875 wxWindow
*arg1
= (wxWindow
*) 0 ;
4876 int arg2
= (int) -1 ;
4877 long arg3
= (long) wxST_SIZEGRIP
;
4878 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4879 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4880 wxStatusBar
*result
;
4881 bool temp4
= False
;
4882 PyObject
* obj0
= 0 ;
4883 PyObject
* obj1
= 0 ;
4884 PyObject
* obj2
= 0 ;
4885 PyObject
* obj3
= 0 ;
4887 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4894 arg2
= (int) SWIG_AsInt(obj1
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4898 arg3
= (long) SWIG_AsLong(obj2
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4903 arg4
= wxString_in_helper(obj3
);
4904 if (arg4
== NULL
) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4916 resultobj
= wxPyMake_wxObject(result
);
4932 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
*resultobj
;
4934 wxStatusBar
*result
;
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 result
= (wxStatusBar
*)new wxStatusBar();
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) SWIG_fail
;
4948 resultobj
= wxPyMake_wxObject(result
);
4956 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
*resultobj
;
4958 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4959 wxWindow
*arg2
= (wxWindow
*) 0 ;
4961 long arg4
= (long) wxST_SIZEGRIP
;
4962 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4963 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4965 bool temp5
= False
;
4966 PyObject
* obj0
= 0 ;
4967 PyObject
* obj1
= 0 ;
4968 PyObject
* obj2
= 0 ;
4969 PyObject
* obj3
= 0 ;
4970 PyObject
* obj4
= 0 ;
4972 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4980 arg3
= (int) SWIG_AsInt(obj2
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 arg4
= (long) SWIG_AsLong(obj3
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4988 arg5
= wxString_in_helper(obj4
);
4989 if (arg5
== NULL
) SWIG_fail
;
4994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4995 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4997 wxPyEndAllowThreads(__tstate
);
4998 if (PyErr_Occurred()) SWIG_fail
;
5001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5017 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
;
5019 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5020 int arg2
= (int) 1 ;
5021 PyObject
* obj0
= 0 ;
5022 PyObject
* obj1
= 0 ;
5024 (char *) "self",(char *) "number", NULL
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5031 arg2
= (int) SWIG_AsInt(obj1
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 (arg1
)->SetFieldsCount(arg2
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5041 Py_INCREF(Py_None
); resultobj
= Py_None
;
5048 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
*resultobj
;
5050 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5052 PyObject
* obj0
= 0 ;
5054 (char *) "self", NULL
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 resultobj
= SWIG_FromInt((int)result
);
5074 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
*resultobj
;
5076 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5077 wxString
*arg2
= 0 ;
5078 int arg3
= (int) 0 ;
5079 bool temp2
= False
;
5080 PyObject
* obj0
= 0 ;
5081 PyObject
* obj1
= 0 ;
5082 PyObject
* obj2
= 0 ;
5084 (char *) "self",(char *) "text",(char *) "number", NULL
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5091 arg2
= wxString_in_helper(obj1
);
5092 if (arg2
== NULL
) SWIG_fail
;
5096 arg3
= (int) SWIG_AsInt(obj2
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 Py_INCREF(Py_None
); resultobj
= Py_None
;
5121 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
*resultobj
;
5123 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5124 int arg2
= (int) 0 ;
5126 PyObject
* obj0
= 0 ;
5127 PyObject
* obj1
= 0 ;
5129 (char *) "self",(char *) "number", NULL
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5136 arg2
= (int) SWIG_AsInt(obj1
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5148 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5150 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5159 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
*resultobj
;
5161 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5162 wxString
*arg2
= 0 ;
5163 int arg3
= (int) 0 ;
5164 bool temp2
= False
;
5165 PyObject
* obj0
= 0 ;
5166 PyObject
* obj1
= 0 ;
5167 PyObject
* obj2
= 0 ;
5169 (char *) "self",(char *) "text",(char *) "number", NULL
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5176 arg2
= wxString_in_helper(obj1
);
5177 if (arg2
== NULL
) SWIG_fail
;
5181 arg3
= (int) SWIG_AsInt(obj2
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5188 wxPyEndAllowThreads(__tstate
);
5189 if (PyErr_Occurred()) SWIG_fail
;
5191 Py_INCREF(Py_None
); resultobj
= Py_None
;
5206 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
;
5208 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5209 int arg2
= (int) 0 ;
5210 PyObject
* obj0
= 0 ;
5211 PyObject
* obj1
= 0 ;
5213 (char *) "self",(char *) "number", NULL
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5220 arg2
= (int) SWIG_AsInt(obj1
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 (arg1
)->PopStatusText(arg2
);
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5230 Py_INCREF(Py_None
); resultobj
= Py_None
;
5237 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
*resultobj
;
5239 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5241 int *arg3
= (int *) 0 ;
5242 PyObject
* obj0
= 0 ;
5243 PyObject
* obj1
= 0 ;
5245 (char *) "self",(char *) "widths", NULL
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5252 arg2
= PyList_Size(obj1
);
5253 arg3
= int_LIST_helper(obj1
);
5254 if (arg3
== NULL
) SWIG_fail
;
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5263 Py_INCREF(Py_None
); resultobj
= Py_None
;
5265 if (arg3
) delete [] arg3
;
5270 if (arg3
) delete [] arg3
;
5276 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
;
5278 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5281 PyObject
* obj0
= 0 ;
5282 PyObject
* obj1
= 0 ;
5284 (char *) "self",(char *) "i", NULL
5287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5290 arg2
= (int) SWIG_AsInt(obj1
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5301 resultptr
= new wxRect((wxRect
&) result
);
5302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5310 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
;
5312 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5314 PyObject
* obj0
= 0 ;
5315 PyObject
* obj1
= 0 ;
5317 (char *) "self",(char *) "height", NULL
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5323 arg2
= (int) SWIG_AsInt(obj1
);
5324 if (PyErr_Occurred()) SWIG_fail
;
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5327 (arg1
)->SetMinHeight(arg2
);
5329 wxPyEndAllowThreads(__tstate
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5332 Py_INCREF(Py_None
); resultobj
= Py_None
;
5339 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
*resultobj
;
5341 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5343 PyObject
* obj0
= 0 ;
5345 (char *) "self", NULL
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5358 resultobj
= SWIG_FromInt((int)result
);
5365 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
;
5367 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5369 PyObject
* obj0
= 0 ;
5371 (char *) "self", NULL
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5384 resultobj
= SWIG_FromInt((int)result
);
5391 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5394 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5396 return Py_BuildValue((char *)"");
5398 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5399 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5404 static PyObject
*_wrap_SplitterNameStr_get() {
5409 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5411 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5418 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
;
5420 wxWindow
*arg1
= (wxWindow
*) 0 ;
5422 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5423 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5424 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5425 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5426 long arg5
= (long) wxSP_3D
;
5427 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5428 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5429 wxSplitterWindow
*result
;
5432 bool temp6
= False
;
5433 PyObject
* obj0
= 0 ;
5434 PyObject
* obj1
= 0 ;
5435 PyObject
* obj2
= 0 ;
5436 PyObject
* obj3
= 0 ;
5437 PyObject
* obj4
= 0 ;
5438 PyObject
* obj5
= 0 ;
5440 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5446 arg2
= (int) SWIG_AsInt(obj1
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5451 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5457 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5461 arg5
= (long) SWIG_AsLong(obj4
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5466 arg6
= wxString_in_helper(obj5
);
5467 if (arg6
== NULL
) SWIG_fail
;
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5493 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
*resultobj
;
5495 wxSplitterWindow
*result
;
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5515 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
*resultobj
;
5517 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5518 wxWindow
*arg2
= (wxWindow
*) 0 ;
5520 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5521 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5522 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5523 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5524 long arg6
= (long) wxSP_3D
;
5525 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5526 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5530 bool temp7
= False
;
5531 PyObject
* obj0
= 0 ;
5532 PyObject
* obj1
= 0 ;
5533 PyObject
* obj2
= 0 ;
5534 PyObject
* obj3
= 0 ;
5535 PyObject
* obj4
= 0 ;
5536 PyObject
* obj5
= 0 ;
5537 PyObject
* obj6
= 0 ;
5539 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5547 arg3
= (int) SWIG_AsInt(obj2
);
5548 if (PyErr_Occurred()) SWIG_fail
;
5552 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5558 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5562 arg6
= (long) SWIG_AsLong(obj5
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5567 arg7
= wxString_in_helper(obj6
);
5568 if (arg7
== NULL
) SWIG_fail
;
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5596 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
*resultobj
;
5598 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5600 PyObject
* obj0
= 0 ;
5602 (char *) "self", NULL
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5616 resultobj
= wxPyMake_wxObject(result
);
5624 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
*resultobj
;
5626 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5628 PyObject
* obj0
= 0 ;
5630 (char *) "self", NULL
5633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5644 resultobj
= wxPyMake_wxObject(result
);
5652 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
;
5654 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5656 PyObject
* obj0
= 0 ;
5657 PyObject
* obj1
= 0 ;
5659 (char *) "self",(char *) "mode", NULL
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5665 arg2
= (int) SWIG_AsInt(obj1
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 (arg1
)->SetSplitMode(arg2
);
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5674 Py_INCREF(Py_None
); resultobj
= Py_None
;
5681 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5685 PyObject
* obj0
= 0 ;
5687 (char *) "self", NULL
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5700 resultobj
= SWIG_FromInt((int)result
);
5707 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
*resultobj
;
5709 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5710 wxWindow
*arg2
= (wxWindow
*) 0 ;
5711 PyObject
* obj0
= 0 ;
5712 PyObject
* obj1
= 0 ;
5714 (char *) "self",(char *) "window", NULL
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 (arg1
)->Initialize(arg2
);
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5729 Py_INCREF(Py_None
); resultobj
= Py_None
;
5736 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
;
5738 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5739 wxWindow
*arg2
= (wxWindow
*) 0 ;
5740 wxWindow
*arg3
= (wxWindow
*) 0 ;
5741 int arg4
= (int) 0 ;
5743 PyObject
* obj0
= 0 ;
5744 PyObject
* obj1
= 0 ;
5745 PyObject
* obj2
= 0 ;
5746 PyObject
* obj3
= 0 ;
5748 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5756 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5759 arg4
= (int) SWIG_AsInt(obj3
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5778 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
*resultobj
;
5780 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5781 wxWindow
*arg2
= (wxWindow
*) 0 ;
5782 wxWindow
*arg3
= (wxWindow
*) 0 ;
5783 int arg4
= (int) 0 ;
5785 PyObject
* obj0
= 0 ;
5786 PyObject
* obj1
= 0 ;
5787 PyObject
* obj2
= 0 ;
5788 PyObject
* obj3
= 0 ;
5790 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5798 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5801 arg4
= (int) SWIG_AsInt(obj3
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5820 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
*resultobj
;
5822 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5823 wxWindow
*arg2
= (wxWindow
*) NULL
;
5825 PyObject
* obj0
= 0 ;
5826 PyObject
* obj1
= 0 ;
5828 (char *) "self",(char *) "toRemove", NULL
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5840 result
= (bool)(arg1
)->Unsplit(arg2
);
5842 wxPyEndAllowThreads(__tstate
);
5843 if (PyErr_Occurred()) SWIG_fail
;
5846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5854 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
*resultobj
;
5856 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5857 wxWindow
*arg2
= (wxWindow
*) 0 ;
5858 wxWindow
*arg3
= (wxWindow
*) 0 ;
5860 PyObject
* obj0
= 0 ;
5861 PyObject
* obj1
= 0 ;
5862 PyObject
* obj2
= 0 ;
5864 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5872 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5890 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5893 PyObject
* obj0
= 0 ;
5895 (char *) "self", NULL
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
5899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 (arg1
)->UpdateSize();
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5908 Py_INCREF(Py_None
); resultobj
= Py_None
;
5915 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
*resultobj
;
5917 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5919 PyObject
* obj0
= 0 ;
5921 (char *) "self", NULL
5924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5943 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
*resultobj
;
5945 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5947 PyObject
* obj0
= 0 ;
5948 PyObject
* obj1
= 0 ;
5950 (char *) "self",(char *) "width", NULL
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5956 arg2
= (int) SWIG_AsInt(obj1
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 (arg1
)->SetSashSize(arg2
);
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5965 Py_INCREF(Py_None
); resultobj
= Py_None
;
5972 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
*resultobj
;
5974 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5976 PyObject
* obj0
= 0 ;
5977 PyObject
* obj1
= 0 ;
5979 (char *) "self",(char *) "width", NULL
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5985 arg2
= (int) SWIG_AsInt(obj1
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 (arg1
)->SetBorderSize(arg2
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5994 Py_INCREF(Py_None
); resultobj
= Py_None
;
6001 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
;
6003 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6005 PyObject
* obj0
= 0 ;
6007 (char *) "self", NULL
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= SWIG_FromInt((int)result
);
6027 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
*resultobj
;
6029 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6031 PyObject
* obj0
= 0 ;
6033 (char *) "self", NULL
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6046 resultobj
= SWIG_FromInt((int)result
);
6053 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
*resultobj
;
6055 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6057 bool arg3
= (bool) True
;
6058 PyObject
* obj0
= 0 ;
6059 PyObject
* obj1
= 0 ;
6060 PyObject
* obj2
= 0 ;
6062 (char *) "self",(char *) "position",(char *) "redraw", NULL
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6068 arg2
= (int) SWIG_AsInt(obj1
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6071 arg3
= (bool) SWIG_AsBool(obj2
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 (arg1
)->SetSashPosition(arg2
,arg3
);
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6081 Py_INCREF(Py_None
); resultobj
= Py_None
;
6088 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
*resultobj
;
6090 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6092 PyObject
* obj0
= 0 ;
6094 (char *) "self", NULL
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6107 resultobj
= SWIG_FromInt((int)result
);
6114 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
*resultobj
;
6116 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6118 PyObject
* obj0
= 0 ;
6119 PyObject
* obj1
= 0 ;
6121 (char *) "self",(char *) "min", NULL
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6127 arg2
= (int) SWIG_AsInt(obj1
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 (arg1
)->SetMinimumPaneSize(arg2
);
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 Py_INCREF(Py_None
); resultobj
= Py_None
;
6143 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
*resultobj
;
6145 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6147 PyObject
* obj0
= 0 ;
6149 (char *) "self", NULL
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= SWIG_FromInt((int)result
);
6169 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6174 int arg4
= (int) 5 ;
6176 PyObject
* obj0
= 0 ;
6177 PyObject
* obj1
= 0 ;
6178 PyObject
* obj2
= 0 ;
6179 PyObject
* obj3
= 0 ;
6181 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6187 arg2
= (int) SWIG_AsInt(obj1
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6189 arg3
= (int) SWIG_AsInt(obj2
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6192 arg4
= (int) SWIG_AsInt(obj3
);
6193 if (PyErr_Occurred()) SWIG_fail
;
6196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6197 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6199 wxPyEndAllowThreads(__tstate
);
6200 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6211 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
;
6213 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6214 PyObject
* obj0
= 0 ;
6216 (char *) "self", NULL
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 (arg1
)->SizeWindows();
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6229 Py_INCREF(Py_None
); resultobj
= Py_None
;
6236 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6240 PyObject
* obj0
= 0 ;
6241 PyObject
* obj1
= 0 ;
6243 (char *) "self",(char *) "needUpdating", NULL
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6249 arg2
= (bool) SWIG_AsBool(obj1
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 (arg1
)->SetNeedUpdating(arg2
);
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 Py_INCREF(Py_None
); resultobj
= Py_None
;
6265 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
;
6267 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6269 PyObject
* obj0
= 0 ;
6271 (char *) "self", NULL
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6279 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6281 wxPyEndAllowThreads(__tstate
);
6282 if (PyErr_Occurred()) SWIG_fail
;
6285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6293 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6296 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6298 return Py_BuildValue((char *)"");
6300 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
*resultobj
;
6302 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6303 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6304 wxSplitterEvent
*result
;
6305 PyObject
* obj0
= 0 ;
6306 PyObject
* obj1
= 0 ;
6308 (char *) "type",(char *) "splitter", NULL
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6313 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6334 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
*resultobj
;
6336 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6338 PyObject
* obj0
= 0 ;
6339 PyObject
* obj1
= 0 ;
6341 (char *) "self",(char *) "pos", NULL
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6347 arg2
= (int) SWIG_AsInt(obj1
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 (arg1
)->SetSashPosition(arg2
);
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 Py_INCREF(Py_None
); resultobj
= Py_None
;
6363 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6367 PyObject
* obj0
= 0 ;
6369 (char *) "self", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 resultobj
= SWIG_FromInt((int)result
);
6389 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6393 PyObject
* obj0
= 0 ;
6395 (char *) "self", NULL
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6409 resultobj
= wxPyMake_wxObject(result
);
6417 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
;
6419 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6421 PyObject
* obj0
= 0 ;
6423 (char *) "self", NULL
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= SWIG_FromInt((int)result
);
6443 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6445 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6447 PyObject
* obj0
= 0 ;
6449 (char *) "self", NULL
6452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6457 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6462 resultobj
= SWIG_FromInt((int)result
);
6469 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6472 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6474 return Py_BuildValue((char *)"");
6476 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6477 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6482 static PyObject
*_wrap_SashNameStr_get() {
6487 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6489 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6496 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6497 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6502 static PyObject
*_wrap_SashLayoutNameStr_get() {
6507 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6509 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6516 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
*resultobj
;
6518 wxWindow
*arg1
= (wxWindow
*) 0 ;
6520 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6521 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6522 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6523 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6524 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6525 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6526 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6527 wxSashWindow
*result
;
6530 bool temp6
= False
;
6531 PyObject
* obj0
= 0 ;
6532 PyObject
* obj1
= 0 ;
6533 PyObject
* obj2
= 0 ;
6534 PyObject
* obj3
= 0 ;
6535 PyObject
* obj4
= 0 ;
6536 PyObject
* obj5
= 0 ;
6538 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6544 arg2
= (int) SWIG_AsInt(obj1
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6549 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6555 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6559 arg5
= (long) SWIG_AsLong(obj4
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6564 arg6
= wxString_in_helper(obj5
);
6565 if (arg6
== NULL
) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6591 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
;
6593 wxSashWindow
*result
;
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 result
= (wxSashWindow
*)new wxSashWindow();
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6613 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
*resultobj
;
6615 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6616 wxWindow
*arg2
= (wxWindow
*) 0 ;
6618 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6619 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6620 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6621 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6622 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6623 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6624 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6628 bool temp7
= False
;
6629 PyObject
* obj0
= 0 ;
6630 PyObject
* obj1
= 0 ;
6631 PyObject
* obj2
= 0 ;
6632 PyObject
* obj3
= 0 ;
6633 PyObject
* obj4
= 0 ;
6634 PyObject
* obj5
= 0 ;
6635 PyObject
* obj6
= 0 ;
6637 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6645 arg3
= (int) SWIG_AsInt(obj2
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6650 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6656 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6660 arg6
= (long) SWIG_AsLong(obj5
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6665 arg7
= wxString_in_helper(obj6
);
6666 if (arg7
== NULL
) SWIG_fail
;
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6674 wxPyEndAllowThreads(__tstate
);
6675 if (PyErr_Occurred()) SWIG_fail
;
6678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6694 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
*resultobj
;
6696 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6699 PyObject
* obj0
= 0 ;
6700 PyObject
* obj1
= 0 ;
6701 PyObject
* obj2
= 0 ;
6703 (char *) "self",(char *) "edge",(char *) "sash", NULL
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6709 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6711 arg3
= (bool) SWIG_AsBool(obj2
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) SWIG_fail
;
6720 Py_INCREF(Py_None
); resultobj
= Py_None
;
6727 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
*resultobj
;
6729 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6732 PyObject
* obj0
= 0 ;
6733 PyObject
* obj1
= 0 ;
6735 (char *) "self",(char *) "edge", NULL
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6741 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6759 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
*resultobj
;
6761 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6764 PyObject
* obj0
= 0 ;
6765 PyObject
* obj1
= 0 ;
6766 PyObject
* obj2
= 0 ;
6768 (char *) "self",(char *) "edge",(char *) "border", NULL
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6774 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6776 arg3
= (bool) SWIG_AsBool(obj2
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 Py_INCREF(Py_None
); resultobj
= Py_None
;
6792 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
;
6794 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6797 PyObject
* obj0
= 0 ;
6798 PyObject
* obj1
= 0 ;
6800 (char *) "self",(char *) "edge", NULL
6803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6806 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6824 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
*resultobj
;
6826 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6829 PyObject
* obj0
= 0 ;
6830 PyObject
* obj1
= 0 ;
6832 (char *) "self",(char *) "edge", NULL
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6838 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= SWIG_FromInt((int)result
);
6854 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
;
6856 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6858 PyObject
* obj0
= 0 ;
6859 PyObject
* obj1
= 0 ;
6861 (char *) "self",(char *) "width", NULL
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6867 arg2
= (int) SWIG_AsInt(obj1
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 (arg1
)->SetDefaultBorderSize(arg2
);
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 Py_INCREF(Py_None
); resultobj
= Py_None
;
6883 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
;
6885 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6887 PyObject
* obj0
= 0 ;
6889 (char *) "self", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_FromInt((int)result
);
6909 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
;
6911 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6913 PyObject
* obj0
= 0 ;
6914 PyObject
* obj1
= 0 ;
6916 (char *) "self",(char *) "width", NULL
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6922 arg2
= (int) SWIG_AsInt(obj1
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 (arg1
)->SetExtraBorderSize(arg2
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6931 Py_INCREF(Py_None
); resultobj
= Py_None
;
6938 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
;
6940 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6942 PyObject
* obj0
= 0 ;
6944 (char *) "self", NULL
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= SWIG_FromInt((int)result
);
6964 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
;
6966 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6968 PyObject
* obj0
= 0 ;
6969 PyObject
* obj1
= 0 ;
6971 (char *) "self",(char *) "min", NULL
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6977 arg2
= (int) SWIG_AsInt(obj1
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 (arg1
)->SetMinimumSizeX(arg2
);
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6986 Py_INCREF(Py_None
); resultobj
= Py_None
;
6993 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
*resultobj
;
6995 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6997 PyObject
* obj0
= 0 ;
6998 PyObject
* obj1
= 0 ;
7000 (char *) "self",(char *) "min", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7006 arg2
= (int) SWIG_AsInt(obj1
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 (arg1
)->SetMinimumSizeY(arg2
);
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 Py_INCREF(Py_None
); resultobj
= Py_None
;
7022 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
;
7024 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7026 PyObject
* obj0
= 0 ;
7028 (char *) "self", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= SWIG_FromInt((int)result
);
7048 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
;
7050 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7052 PyObject
* obj0
= 0 ;
7054 (char *) "self", NULL
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= SWIG_FromInt((int)result
);
7074 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7078 PyObject
* obj0
= 0 ;
7079 PyObject
* obj1
= 0 ;
7081 (char *) "self",(char *) "max", NULL
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7087 arg2
= (int) SWIG_AsInt(obj1
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 (arg1
)->SetMaximumSizeX(arg2
);
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 Py_INCREF(Py_None
); resultobj
= Py_None
;
7103 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7105 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7107 PyObject
* obj0
= 0 ;
7108 PyObject
* obj1
= 0 ;
7110 (char *) "self",(char *) "max", NULL
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7116 arg2
= (int) SWIG_AsInt(obj1
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7120 (arg1
)->SetMaximumSizeY(arg2
);
7122 wxPyEndAllowThreads(__tstate
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7125 Py_INCREF(Py_None
); resultobj
= Py_None
;
7132 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
*resultobj
;
7134 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7136 PyObject
* obj0
= 0 ;
7138 (char *) "self", NULL
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7148 wxPyEndAllowThreads(__tstate
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7151 resultobj
= SWIG_FromInt((int)result
);
7158 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
*resultobj
;
7160 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7162 PyObject
* obj0
= 0 ;
7164 (char *) "self", NULL
7167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= SWIG_FromInt((int)result
);
7184 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
;
7186 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7189 int arg4
= (int) 2 ;
7191 PyObject
* obj0
= 0 ;
7192 PyObject
* obj1
= 0 ;
7193 PyObject
* obj2
= 0 ;
7194 PyObject
* obj3
= 0 ;
7196 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7202 arg2
= (int) SWIG_AsInt(obj1
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7204 arg3
= (int) SWIG_AsInt(obj2
);
7205 if (PyErr_Occurred()) SWIG_fail
;
7207 arg4
= (int) SWIG_AsInt(obj3
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= SWIG_FromInt((int)result
);
7224 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7227 PyObject
* obj0
= 0 ;
7229 (char *) "self", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 (arg1
)->SizeWindows();
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 Py_INCREF(Py_None
); resultobj
= Py_None
;
7249 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7252 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7254 return Py_BuildValue((char *)"");
7256 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7258 int arg1
= (int) 0 ;
7259 int arg2
= (int) wxSASH_NONE
;
7260 wxSashEvent
*result
;
7261 PyObject
* obj0
= 0 ;
7262 PyObject
* obj1
= 0 ;
7264 (char *) "id",(char *) "edge", NULL
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7269 arg1
= (int) SWIG_AsInt(obj0
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7273 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7290 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
*resultobj
;
7292 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7294 PyObject
* obj0
= 0 ;
7295 PyObject
* obj1
= 0 ;
7297 (char *) "self",(char *) "edge", NULL
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7303 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7312 Py_INCREF(Py_None
); resultobj
= Py_None
;
7319 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
;
7321 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7323 PyObject
* obj0
= 0 ;
7325 (char *) "self", NULL
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7338 resultobj
= SWIG_FromInt((int)result
);
7345 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7347 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7350 PyObject
* obj0
= 0 ;
7351 PyObject
* obj1
= 0 ;
7353 (char *) "self",(char *) "rect", NULL
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7361 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7365 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7367 wxPyEndAllowThreads(__tstate
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7370 Py_INCREF(Py_None
); resultobj
= Py_None
;
7377 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
;
7379 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7381 PyObject
* obj0
= 0 ;
7383 (char *) "self", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) SWIG_fail
;
7398 resultptr
= new wxRect((wxRect
&) result
);
7399 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7407 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
*resultobj
;
7409 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7411 PyObject
* obj0
= 0 ;
7412 PyObject
* obj1
= 0 ;
7414 (char *) "self",(char *) "status", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7420 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) SWIG_fail
;
7429 Py_INCREF(Py_None
); resultobj
= Py_None
;
7436 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7437 PyObject
*resultobj
;
7438 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7440 PyObject
* obj0
= 0 ;
7442 (char *) "self", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 resultobj
= SWIG_FromInt((int)result
);
7462 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7465 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7467 return Py_BuildValue((char *)"");
7469 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
;
7471 int arg1
= (int) 0 ;
7472 wxQueryLayoutInfoEvent
*result
;
7473 PyObject
* obj0
= 0 ;
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7480 arg1
= (int) SWIG_AsInt(obj0
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7497 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
;
7499 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7501 PyObject
* obj0
= 0 ;
7502 PyObject
* obj1
= 0 ;
7504 (char *) "self",(char *) "length", NULL
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7510 arg2
= (int) SWIG_AsInt(obj1
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 (arg1
)->SetRequestedLength(arg2
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 Py_INCREF(Py_None
); resultobj
= Py_None
;
7526 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7528 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7530 PyObject
* obj0
= 0 ;
7532 (char *) "self", NULL
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= SWIG_FromInt((int)result
);
7552 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7556 PyObject
* obj0
= 0 ;
7557 PyObject
* obj1
= 0 ;
7559 (char *) "self",(char *) "flags", NULL
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7565 arg2
= (int) SWIG_AsInt(obj1
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 (arg1
)->SetFlags(arg2
);
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7574 Py_INCREF(Py_None
); resultobj
= Py_None
;
7581 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
*resultobj
;
7583 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7585 PyObject
* obj0
= 0 ;
7587 (char *) "self", NULL
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= SWIG_FromInt((int)result
);
7607 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7612 PyObject
* obj0
= 0 ;
7613 PyObject
* obj1
= 0 ;
7615 (char *) "self",(char *) "size", NULL
7618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7623 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 (arg1
)->SetSize((wxSize
const &)*arg2
);
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7632 Py_INCREF(Py_None
); resultobj
= Py_None
;
7639 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
;
7641 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7643 PyObject
* obj0
= 0 ;
7645 (char *) "self", NULL
7648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7655 wxPyEndAllowThreads(__tstate
);
7656 if (PyErr_Occurred()) SWIG_fail
;
7660 resultptr
= new wxSize((wxSize
&) result
);
7661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7669 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
*resultobj
;
7671 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7673 PyObject
* obj0
= 0 ;
7674 PyObject
* obj1
= 0 ;
7676 (char *) "self",(char *) "orient", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7682 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 Py_INCREF(Py_None
); resultobj
= Py_None
;
7698 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
;
7700 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7702 PyObject
* obj0
= 0 ;
7704 (char *) "self", NULL
7707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7717 resultobj
= SWIG_FromInt((int)result
);
7724 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
*resultobj
;
7726 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7728 PyObject
* obj0
= 0 ;
7729 PyObject
* obj1
= 0 ;
7731 (char *) "self",(char *) "align", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7737 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 Py_INCREF(Py_None
); resultobj
= Py_None
;
7753 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7755 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7757 PyObject
* obj0
= 0 ;
7759 (char *) "self", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7772 resultobj
= SWIG_FromInt((int)result
);
7779 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7782 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7784 return Py_BuildValue((char *)"");
7786 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
;
7788 int arg1
= (int) 0 ;
7789 wxCalculateLayoutEvent
*result
;
7790 PyObject
* obj0
= 0 ;
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7797 arg1
= (int) SWIG_AsInt(obj0
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7814 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
;
7816 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7818 PyObject
* obj0
= 0 ;
7819 PyObject
* obj1
= 0 ;
7821 (char *) "self",(char *) "flags", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7827 arg2
= (int) SWIG_AsInt(obj1
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 (arg1
)->SetFlags(arg2
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 Py_INCREF(Py_None
); resultobj
= Py_None
;
7843 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7847 PyObject
* obj0
= 0 ;
7849 (char *) "self", NULL
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= SWIG_FromInt((int)result
);
7869 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7874 PyObject
* obj0
= 0 ;
7875 PyObject
* obj1
= 0 ;
7877 (char *) "self",(char *) "rect", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7885 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 (arg1
)->SetRect((wxRect
const &)*arg2
);
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7894 Py_INCREF(Py_None
); resultobj
= Py_None
;
7901 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
;
7903 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7905 PyObject
* obj0
= 0 ;
7907 (char *) "self", NULL
7910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7922 resultptr
= new wxRect((wxRect
&) result
);
7923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7931 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7934 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7936 return Py_BuildValue((char *)"");
7938 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
*resultobj
;
7940 wxWindow
*arg1
= (wxWindow
*) 0 ;
7942 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7943 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7944 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7945 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7946 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7947 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7948 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7949 wxSashLayoutWindow
*result
;
7952 bool temp6
= False
;
7953 PyObject
* obj0
= 0 ;
7954 PyObject
* obj1
= 0 ;
7955 PyObject
* obj2
= 0 ;
7956 PyObject
* obj3
= 0 ;
7957 PyObject
* obj4
= 0 ;
7958 PyObject
* obj5
= 0 ;
7960 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7966 arg2
= (int) SWIG_AsInt(obj1
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7971 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7977 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7981 arg5
= (long) SWIG_AsLong(obj4
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7986 arg6
= wxString_in_helper(obj5
);
7987 if (arg6
== NULL
) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8013 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8014 PyObject
*resultobj
;
8015 wxSashLayoutWindow
*result
;
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8035 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
;
8037 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8038 wxWindow
*arg2
= (wxWindow
*) 0 ;
8040 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8041 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8042 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8043 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8044 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8045 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8046 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8050 bool temp7
= False
;
8051 PyObject
* obj0
= 0 ;
8052 PyObject
* obj1
= 0 ;
8053 PyObject
* obj2
= 0 ;
8054 PyObject
* obj3
= 0 ;
8055 PyObject
* obj4
= 0 ;
8056 PyObject
* obj5
= 0 ;
8057 PyObject
* obj6
= 0 ;
8059 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8067 arg3
= (int) SWIG_AsInt(obj2
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8072 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8078 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8082 arg6
= (long) SWIG_AsLong(obj5
);
8083 if (PyErr_Occurred()) SWIG_fail
;
8087 arg7
= wxString_in_helper(obj6
);
8088 if (arg7
== NULL
) SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8116 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8117 PyObject
*resultobj
;
8118 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8120 PyObject
* obj0
= 0 ;
8122 (char *) "self", NULL
8125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8130 result
= (int)(arg1
)->GetAlignment();
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8135 resultobj
= SWIG_FromInt((int)result
);
8142 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8143 PyObject
*resultobj
;
8144 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8146 PyObject
* obj0
= 0 ;
8148 (char *) "self", NULL
8151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8156 result
= (int)(arg1
)->GetOrientation();
8158 wxPyEndAllowThreads(__tstate
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8161 resultobj
= SWIG_FromInt((int)result
);
8168 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8169 PyObject
*resultobj
;
8170 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8172 PyObject
* obj0
= 0 ;
8173 PyObject
* obj1
= 0 ;
8175 (char *) "self",(char *) "alignment", NULL
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8181 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8190 Py_INCREF(Py_None
); resultobj
= Py_None
;
8197 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8198 PyObject
*resultobj
;
8199 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8202 PyObject
* obj0
= 0 ;
8203 PyObject
* obj1
= 0 ;
8205 (char *) "self",(char *) "size", NULL
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8213 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8222 Py_INCREF(Py_None
); resultobj
= Py_None
;
8229 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
;
8231 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8233 PyObject
* obj0
= 0 ;
8234 PyObject
* obj1
= 0 ;
8236 (char *) "self",(char *) "orientation", NULL
8239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8242 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 Py_INCREF(Py_None
); resultobj
= Py_None
;
8258 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8261 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8263 return Py_BuildValue((char *)"");
8265 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
;
8267 wxLayoutAlgorithm
*result
;
8272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8275 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8277 wxPyEndAllowThreads(__tstate
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8287 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
*resultobj
;
8289 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8290 PyObject
* obj0
= 0 ;
8292 (char *) "self", NULL
8295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8305 Py_INCREF(Py_None
); resultobj
= Py_None
;
8312 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
*resultobj
;
8314 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8315 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8316 wxRect
*arg3
= (wxRect
*) NULL
;
8318 PyObject
* obj0
= 0 ;
8319 PyObject
* obj1
= 0 ;
8320 PyObject
* obj2
= 0 ;
8322 (char *) "self",(char *) "frame",(char *) "rect", NULL
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8331 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8336 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8350 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
*resultobj
;
8352 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8353 wxFrame
*arg2
= (wxFrame
*) 0 ;
8354 wxWindow
*arg3
= (wxWindow
*) NULL
;
8356 PyObject
* obj0
= 0 ;
8357 PyObject
* obj1
= 0 ;
8358 PyObject
* obj2
= 0 ;
8360 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8369 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8374 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8376 wxPyEndAllowThreads(__tstate
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8388 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8389 PyObject
*resultobj
;
8390 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8391 wxWindow
*arg2
= (wxWindow
*) 0 ;
8392 wxWindow
*arg3
= (wxWindow
*) NULL
;
8394 PyObject
* obj0
= 0 ;
8395 PyObject
* obj1
= 0 ;
8396 PyObject
* obj2
= 0 ;
8398 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8407 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8426 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8429 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8431 return Py_BuildValue((char *)"");
8433 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8434 PyObject
*resultobj
;
8435 wxWindow
*arg1
= (wxWindow
*) 0 ;
8436 int arg2
= (int) wxBORDER_NONE
;
8437 wxPopupWindow
*result
;
8438 PyObject
* obj0
= 0 ;
8439 PyObject
* obj1
= 0 ;
8441 (char *) "parent",(char *) "flags", NULL
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8448 arg2
= (int) SWIG_AsInt(obj1
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8453 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8455 wxPyEndAllowThreads(__tstate
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8465 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
*resultobj
;
8467 wxPopupWindow
*result
;
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 result
= (wxPopupWindow
*)new wxPopupWindow();
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8487 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
;
8489 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8490 wxWindow
*arg2
= (wxWindow
*) 0 ;
8491 int arg3
= (int) wxBORDER_NONE
;
8493 PyObject
* obj0
= 0 ;
8494 PyObject
* obj1
= 0 ;
8495 PyObject
* obj2
= 0 ;
8497 (char *) "self",(char *) "parent",(char *) "flags", NULL
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8506 arg3
= (int) SWIG_AsInt(obj2
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8525 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
;
8527 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8532 PyObject
* obj0
= 0 ;
8533 PyObject
* obj1
= 0 ;
8534 PyObject
* obj2
= 0 ;
8536 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8544 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8548 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8552 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8554 wxPyEndAllowThreads(__tstate
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8557 Py_INCREF(Py_None
); resultobj
= Py_None
;
8564 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8567 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8569 return Py_BuildValue((char *)"");
8571 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxWindow
*arg1
= (wxWindow
*) 0 ;
8574 int arg2
= (int) wxBORDER_NONE
;
8575 wxPyPopupTransientWindow
*result
;
8576 PyObject
* obj0
= 0 ;
8577 PyObject
* obj1
= 0 ;
8579 (char *) "parent",(char *) "style", NULL
8582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8586 arg2
= (int) SWIG_AsInt(obj1
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8603 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8604 PyObject
*resultobj
;
8605 wxPyPopupTransientWindow
*result
;
8610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8625 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
;
8627 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8628 PyObject
*arg2
= (PyObject
*) 0 ;
8629 PyObject
*arg3
= (PyObject
*) 0 ;
8630 PyObject
* obj0
= 0 ;
8631 PyObject
* obj1
= 0 ;
8632 PyObject
* obj2
= 0 ;
8634 (char *) "self",(char *) "self",(char *) "_class", NULL
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8644 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 Py_INCREF(Py_None
); resultobj
= Py_None
;
8656 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8657 PyObject
*resultobj
;
8658 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8659 wxWindow
*arg2
= (wxWindow
*) NULL
;
8660 PyObject
* obj0
= 0 ;
8661 PyObject
* obj1
= 0 ;
8663 (char *) "self",(char *) "focus", NULL
8666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8675 (arg1
)->Popup(arg2
);
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 Py_INCREF(Py_None
); resultobj
= Py_None
;
8687 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
;
8689 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8690 PyObject
* obj0
= 0 ;
8692 (char *) "self", NULL
8695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 Py_INCREF(Py_None
); resultobj
= Py_None
;
8712 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8715 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8717 return Py_BuildValue((char *)"");
8719 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8720 PyObject
*resultobj
;
8721 wxWindow
*arg1
= (wxWindow
*) 0 ;
8722 wxString
*arg2
= 0 ;
8723 int arg3
= (int) 100 ;
8724 wxRect
*arg4
= (wxRect
*) NULL
;
8725 wxTipWindow
*result
;
8726 bool temp2
= False
;
8727 PyObject
* obj0
= 0 ;
8728 PyObject
* obj1
= 0 ;
8729 PyObject
* obj2
= 0 ;
8730 PyObject
* obj3
= 0 ;
8732 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8739 arg2
= wxString_in_helper(obj1
);
8740 if (arg2
== NULL
) SWIG_fail
;
8744 arg3
= (int) SWIG_AsInt(obj2
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8748 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8773 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8774 PyObject
*resultobj
;
8775 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8778 PyObject
* obj0
= 0 ;
8779 PyObject
* obj1
= 0 ;
8781 (char *) "self",(char *) "rectBound", NULL
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8789 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 Py_INCREF(Py_None
); resultobj
= Py_None
;
8805 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
;
8807 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8808 PyObject
* obj0
= 0 ;
8810 (char *) "self", NULL
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 Py_INCREF(Py_None
); resultobj
= Py_None
;
8830 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8833 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8835 return Py_BuildValue((char *)"");
8837 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
;
8839 wxWindow
*arg1
= (wxWindow
*) 0 ;
8840 int arg2
= (int) wxID_ANY
;
8841 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8842 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8843 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8844 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8845 long arg5
= (long) 0 ;
8846 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8847 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8848 wxPyVScrolledWindow
*result
;
8851 bool temp6
= False
;
8852 PyObject
* obj0
= 0 ;
8853 PyObject
* obj1
= 0 ;
8854 PyObject
* obj2
= 0 ;
8855 PyObject
* obj3
= 0 ;
8856 PyObject
* obj4
= 0 ;
8857 PyObject
* obj5
= 0 ;
8859 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8866 arg2
= (int) SWIG_AsInt(obj1
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8872 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8878 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8882 arg5
= (long) SWIG_AsLong(obj4
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8887 arg6
= wxString_in_helper(obj5
);
8888 if (arg6
== NULL
) SWIG_fail
;
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8914 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxPyVScrolledWindow
*result
;
8921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8936 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8937 PyObject
*resultobj
;
8938 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8939 PyObject
*arg2
= (PyObject
*) 0 ;
8940 PyObject
*arg3
= (PyObject
*) 0 ;
8941 PyObject
* obj0
= 0 ;
8942 PyObject
* obj1
= 0 ;
8943 PyObject
* obj2
= 0 ;
8945 (char *) "self",(char *) "self",(char *) "_class", NULL
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 Py_INCREF(Py_None
); resultobj
= Py_None
;
8967 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
;
8969 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8970 wxWindow
*arg2
= (wxWindow
*) 0 ;
8971 int arg3
= (int) wxID_ANY
;
8972 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8973 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8974 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8975 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8976 long arg6
= (long) 0 ;
8977 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8978 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8982 bool temp7
= False
;
8983 PyObject
* obj0
= 0 ;
8984 PyObject
* obj1
= 0 ;
8985 PyObject
* obj2
= 0 ;
8986 PyObject
* obj3
= 0 ;
8987 PyObject
* obj4
= 0 ;
8988 PyObject
* obj5
= 0 ;
8989 PyObject
* obj6
= 0 ;
8991 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9000 arg3
= (int) SWIG_AsInt(obj2
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9006 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9012 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9016 arg6
= (long) SWIG_AsLong(obj5
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9021 arg7
= wxString_in_helper(obj6
);
9022 if (arg7
== NULL
) SWIG_fail
;
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9050 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
*resultobj
;
9052 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9054 PyObject
* obj0
= 0 ;
9055 PyObject
* obj1
= 0 ;
9057 (char *) "self",(char *) "count", NULL
9060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9063 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 (arg1
)->SetLineCount(arg2
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 Py_INCREF(Py_None
); resultobj
= Py_None
;
9079 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9080 PyObject
*resultobj
;
9081 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9084 PyObject
* obj0
= 0 ;
9085 PyObject
* obj1
= 0 ;
9087 (char *) "self",(char *) "line", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9093 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9111 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
;
9113 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9116 PyObject
* obj0
= 0 ;
9117 PyObject
* obj1
= 0 ;
9119 (char *) "self",(char *) "lines", NULL
9122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9125 arg2
= (int) SWIG_AsInt(obj1
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 result
= (bool)(arg1
)->ScrollLines(arg2
);
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9143 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
*resultobj
;
9145 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9148 PyObject
* obj0
= 0 ;
9149 PyObject
* obj1
= 0 ;
9151 (char *) "self",(char *) "pages", NULL
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9157 arg2
= (int) SWIG_AsInt(obj1
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= (bool)(arg1
)->ScrollPages(arg2
);
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9175 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
;
9177 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9179 PyObject
* obj0
= 0 ;
9180 PyObject
* obj1
= 0 ;
9182 (char *) "self",(char *) "line", NULL
9185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9188 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 (arg1
)->RefreshLine(arg2
);
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 Py_INCREF(Py_None
); resultobj
= Py_None
;
9204 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
*resultobj
;
9206 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9209 PyObject
* obj0
= 0 ;
9210 PyObject
* obj1
= 0 ;
9211 PyObject
* obj2
= 0 ;
9213 (char *) "self",(char *) "from",(char *) "to", NULL
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9219 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9221 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 (arg1
)->RefreshLines(arg2
,arg3
);
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9230 Py_INCREF(Py_None
); resultobj
= Py_None
;
9237 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
;
9239 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9243 PyObject
* obj0
= 0 ;
9244 PyObject
* obj1
= 0 ;
9245 PyObject
* obj2
= 0 ;
9247 (char *) "self",(char *) "x",(char *) "y", NULL
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9253 arg2
= (int) SWIG_AsInt(obj1
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9255 arg3
= (int) SWIG_AsInt(obj2
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 resultobj
= SWIG_FromInt((int)result
);
9271 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
;
9273 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9277 PyObject
* obj0
= 0 ;
9278 PyObject
* obj1
= 0 ;
9280 (char *) "self",(char *) "pt", NULL
9283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9288 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= SWIG_FromInt((int)result
);
9304 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
*resultobj
;
9306 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9307 PyObject
* obj0
= 0 ;
9309 (char *) "self", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 (arg1
)->RefreshAll();
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9322 Py_INCREF(Py_None
); resultobj
= Py_None
;
9329 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
;
9331 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9333 PyObject
* obj0
= 0 ;
9335 (char *) "self", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9355 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
;
9357 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9359 PyObject
* obj0
= 0 ;
9361 (char *) "self", NULL
9364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9381 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
;
9383 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9385 PyObject
* obj0
= 0 ;
9387 (char *) "self", NULL
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9400 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9407 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
*resultobj
;
9409 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9412 PyObject
* obj0
= 0 ;
9413 PyObject
* obj1
= 0 ;
9415 (char *) "self",(char *) "line", NULL
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9421 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9425 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9439 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9442 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9444 return Py_BuildValue((char *)"");
9446 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9447 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9452 static PyObject
*_wrap_VListBoxNameStr_get() {
9457 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9459 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9466 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
;
9468 wxWindow
*arg1
= (wxWindow
*) 0 ;
9469 int arg2
= (int) wxID_ANY
;
9470 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9471 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9472 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9473 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9474 long arg5
= (long) 0 ;
9475 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9476 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9477 wxPyVListBox
*result
;
9480 bool temp6
= False
;
9481 PyObject
* obj0
= 0 ;
9482 PyObject
* obj1
= 0 ;
9483 PyObject
* obj2
= 0 ;
9484 PyObject
* obj3
= 0 ;
9485 PyObject
* obj4
= 0 ;
9486 PyObject
* obj5
= 0 ;
9488 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9495 arg2
= (int) SWIG_AsInt(obj1
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9501 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9507 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9511 arg5
= (long) SWIG_AsLong(obj4
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9516 arg6
= wxString_in_helper(obj5
);
9517 if (arg6
== NULL
) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9543 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
;
9545 wxPyVListBox
*result
;
9550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (wxPyVListBox
*)new wxPyVListBox();
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9565 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
*resultobj
;
9567 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9568 PyObject
*arg2
= (PyObject
*) 0 ;
9569 PyObject
*arg3
= (PyObject
*) 0 ;
9570 PyObject
* obj0
= 0 ;
9571 PyObject
* obj1
= 0 ;
9572 PyObject
* obj2
= 0 ;
9574 (char *) "self",(char *) "self",(char *) "_class", NULL
9577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 Py_INCREF(Py_None
); resultobj
= Py_None
;
9596 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9599 wxWindow
*arg2
= (wxWindow
*) 0 ;
9600 int arg3
= (int) wxID_ANY
;
9601 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9602 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9603 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9604 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9605 long arg6
= (long) 0 ;
9606 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9607 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9611 bool temp7
= False
;
9612 PyObject
* obj0
= 0 ;
9613 PyObject
* obj1
= 0 ;
9614 PyObject
* obj2
= 0 ;
9615 PyObject
* obj3
= 0 ;
9616 PyObject
* obj4
= 0 ;
9617 PyObject
* obj5
= 0 ;
9618 PyObject
* obj6
= 0 ;
9620 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9629 arg3
= (int) SWIG_AsInt(obj2
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9635 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9641 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9645 arg6
= (long) SWIG_AsLong(obj5
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9650 arg7
= wxString_in_helper(obj6
);
9651 if (arg7
== NULL
) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9679 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
;
9681 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9683 PyObject
* obj0
= 0 ;
9685 (char *) "self", NULL
9688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9705 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
;
9707 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9709 PyObject
* obj0
= 0 ;
9711 (char *) "self", NULL
9714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9733 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
;
9735 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9737 PyObject
* obj0
= 0 ;
9739 (char *) "self", NULL
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= SWIG_FromInt((int)result
);
9759 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
;
9761 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9764 PyObject
* obj0
= 0 ;
9765 PyObject
* obj1
= 0 ;
9767 (char *) "self",(char *) "item", NULL
9770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9773 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9774 if (PyErr_Occurred()) SWIG_fail
;
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9791 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
*resultobj
;
9793 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9796 PyObject
* obj0
= 0 ;
9797 PyObject
* obj1
= 0 ;
9799 (char *) "self",(char *) "item", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9805 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9823 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9824 PyObject
*resultobj
;
9825 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9827 PyObject
* obj0
= 0 ;
9829 (char *) "self", NULL
9832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9849 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
;
9851 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9852 unsigned long *arg2
= 0 ;
9854 PyObject
* obj0
= 0 ;
9855 PyObject
* obj1
= 0 ;
9857 (char *) "self",(char *) "cookie", NULL
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9863 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9864 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9867 PyErr_SetString(PyExc_TypeError
,"null reference");
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= SWIG_FromInt((int)result
);
9884 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
;
9886 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9887 unsigned long *arg2
= 0 ;
9889 PyObject
* obj0
= 0 ;
9890 PyObject
* obj1
= 0 ;
9892 (char *) "self",(char *) "cookie", NULL
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9902 PyErr_SetString(PyExc_TypeError
,"null reference");
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9912 resultobj
= SWIG_FromInt((int)result
);
9919 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
;
9921 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9923 PyObject
* obj0
= 0 ;
9925 (char *) "self", NULL
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9939 wxPoint
* resultptr
;
9940 resultptr
= new wxPoint((wxPoint
&) result
);
9941 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9949 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9950 PyObject
*resultobj
;
9951 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9953 PyObject
* obj0
= 0 ;
9955 (char *) "self", NULL
9958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9965 result
= (wxColour
*) &_result_ref
;
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9978 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
;
9980 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9982 PyObject
* obj0
= 0 ;
9983 PyObject
* obj1
= 0 ;
9985 (char *) "self",(char *) "count", NULL
9988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9991 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 (arg1
)->SetItemCount(arg2
);
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 Py_INCREF(Py_None
); resultobj
= Py_None
;
10007 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
;
10009 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10010 PyObject
* obj0
= 0 ;
10011 char *kwnames
[] = {
10012 (char *) "self", NULL
10015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 Py_INCREF(Py_None
); resultobj
= Py_None
;
10032 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
;
10034 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10036 PyObject
* obj0
= 0 ;
10037 PyObject
* obj1
= 0 ;
10038 char *kwnames
[] = {
10039 (char *) "self",(char *) "selection", NULL
10042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10045 arg2
= (int) SWIG_AsInt(obj1
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10049 (arg1
)->SetSelection(arg2
);
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10054 Py_INCREF(Py_None
); resultobj
= Py_None
;
10061 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
*resultobj
;
10063 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10065 bool arg3
= (bool) True
;
10067 PyObject
* obj0
= 0 ;
10068 PyObject
* obj1
= 0 ;
10069 PyObject
* obj2
= 0 ;
10070 char *kwnames
[] = {
10071 (char *) "self",(char *) "item",(char *) "select", NULL
10074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10077 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10080 arg3
= (bool) SWIG_AsBool(obj2
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10099 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
*resultobj
;
10101 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10105 PyObject
* obj0
= 0 ;
10106 PyObject
* obj1
= 0 ;
10107 PyObject
* obj2
= 0 ;
10108 char *kwnames
[] = {
10109 (char *) "self",(char *) "from",(char *) "to", NULL
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10115 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10117 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10121 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10135 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10136 PyObject
*resultobj
;
10137 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10139 PyObject
* obj0
= 0 ;
10140 PyObject
* obj1
= 0 ;
10141 char *kwnames
[] = {
10142 (char *) "self",(char *) "item", NULL
10145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10148 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10152 (arg1
)->Toggle(arg2
);
10154 wxPyEndAllowThreads(__tstate
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10157 Py_INCREF(Py_None
); resultobj
= Py_None
;
10164 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10165 PyObject
*resultobj
;
10166 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10168 PyObject
* obj0
= 0 ;
10169 char *kwnames
[] = {
10170 (char *) "self", NULL
10173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 result
= (bool)(arg1
)->SelectAll();
10180 wxPyEndAllowThreads(__tstate
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10192 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10193 PyObject
*resultobj
;
10194 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10196 PyObject
* obj0
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "self", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 result
= (bool)(arg1
)->DeselectAll();
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10220 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
;
10222 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10223 wxPoint
*arg2
= 0 ;
10225 PyObject
* obj0
= 0 ;
10226 PyObject
* obj1
= 0 ;
10227 char *kwnames
[] = {
10228 (char *) "self",(char *) "pt", NULL
10231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10242 wxPyEndAllowThreads(__tstate
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10245 Py_INCREF(Py_None
); resultobj
= Py_None
;
10252 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
*resultobj
;
10254 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10257 PyObject
* obj0
= 0 ;
10258 PyObject
* obj1
= 0 ;
10259 PyObject
* obj2
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self",(char *) "x",(char *) "y", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10267 arg2
= (int) SWIG_AsInt(obj1
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10269 arg3
= (int) SWIG_AsInt(obj2
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 (arg1
)->SetMargins(arg2
,arg3
);
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10278 Py_INCREF(Py_None
); resultobj
= Py_None
;
10285 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10286 PyObject
*resultobj
;
10287 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10288 wxColour
*arg2
= 0 ;
10290 PyObject
* obj0
= 0 ;
10291 PyObject
* obj1
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self",(char *) "col", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10301 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 Py_INCREF(Py_None
); resultobj
= Py_None
;
10317 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10320 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10322 return Py_BuildValue((char *)"");
10324 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
*resultobj
;
10326 wxWindow
*arg1
= (wxWindow
*) 0 ;
10327 int arg2
= (int) wxID_ANY
;
10328 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10329 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10330 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10331 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10332 long arg5
= (long) 0 ;
10333 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10334 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10335 wxPyHtmlListBox
*result
;
10338 bool temp6
= False
;
10339 PyObject
* obj0
= 0 ;
10340 PyObject
* obj1
= 0 ;
10341 PyObject
* obj2
= 0 ;
10342 PyObject
* obj3
= 0 ;
10343 PyObject
* obj4
= 0 ;
10344 PyObject
* obj5
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10353 arg2
= (int) SWIG_AsInt(obj1
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10359 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10365 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10369 arg5
= (long) SWIG_AsLong(obj4
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10374 arg6
= wxString_in_helper(obj5
);
10375 if (arg6
== NULL
) SWIG_fail
;
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10401 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
*resultobj
;
10403 wxPyHtmlListBox
*result
;
10404 char *kwnames
[] = {
10408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10423 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
;
10425 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10426 PyObject
*arg2
= (PyObject
*) 0 ;
10427 PyObject
*arg3
= (PyObject
*) 0 ;
10428 PyObject
* obj0
= 0 ;
10429 PyObject
* obj1
= 0 ;
10430 PyObject
* obj2
= 0 ;
10431 char *kwnames
[] = {
10432 (char *) "self",(char *) "self",(char *) "_class", NULL
10435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10447 Py_INCREF(Py_None
); resultobj
= Py_None
;
10454 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
*resultobj
;
10456 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10457 wxWindow
*arg2
= (wxWindow
*) 0 ;
10458 int arg3
= (int) wxID_ANY
;
10459 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10460 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10461 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10462 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10463 long arg6
= (long) 0 ;
10464 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10465 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10469 bool temp7
= False
;
10470 PyObject
* obj0
= 0 ;
10471 PyObject
* obj1
= 0 ;
10472 PyObject
* obj2
= 0 ;
10473 PyObject
* obj3
= 0 ;
10474 PyObject
* obj4
= 0 ;
10475 PyObject
* obj5
= 0 ;
10476 PyObject
* obj6
= 0 ;
10477 char *kwnames
[] = {
10478 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10487 arg3
= (int) SWIG_AsInt(obj2
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10493 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10499 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10503 arg6
= (long) SWIG_AsLong(obj5
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10508 arg7
= wxString_in_helper(obj6
);
10509 if (arg7
== NULL
) SWIG_fail
;
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10517 wxPyEndAllowThreads(__tstate
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10537 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10538 PyObject
*resultobj
;
10539 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10540 PyObject
* obj0
= 0 ;
10541 char *kwnames
[] = {
10542 (char *) "self", NULL
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 (arg1
)->RefreshAll();
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 Py_INCREF(Py_None
); resultobj
= Py_None
;
10562 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10566 PyObject
* obj0
= 0 ;
10567 PyObject
* obj1
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "self",(char *) "count", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10575 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 (arg1
)->SetItemCount(arg2
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 Py_INCREF(Py_None
); resultobj
= Py_None
;
10591 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10594 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10596 return Py_BuildValue((char *)"");
10598 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
;
10600 wxTaskBarIcon
*result
;
10601 char *kwnames
[] = {
10605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10608 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10620 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
;
10622 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10623 PyObject
* obj0
= 0 ;
10624 char *kwnames
[] = {
10625 (char *) "self", NULL
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 Py_INCREF(Py_None
); resultobj
= Py_None
;
10645 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
;
10647 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10649 PyObject
* obj0
= 0 ;
10650 char *kwnames
[] = {
10651 (char *) "self", NULL
10654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10673 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
*resultobj
;
10675 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10677 PyObject
* obj0
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "self", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10701 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
;
10703 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10705 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10706 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10708 bool temp3
= False
;
10709 PyObject
* obj0
= 0 ;
10710 PyObject
* obj1
= 0 ;
10711 PyObject
* obj2
= 0 ;
10712 char *kwnames
[] = {
10713 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
10720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10722 if (arg2
== NULL
) {
10723 PyErr_SetString(PyExc_TypeError
,"null reference");
10728 arg3
= wxString_in_helper(obj2
);
10729 if (arg3
== NULL
) SWIG_fail
;
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10757 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
;
10759 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10761 PyObject
* obj0
= 0 ;
10762 char *kwnames
[] = {
10763 (char *) "self", NULL
10766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 result
= (bool)(arg1
)->RemoveIcon();
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10785 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10786 PyObject
*resultobj
;
10787 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10788 wxMenu
*arg2
= (wxMenu
*) 0 ;
10790 PyObject
* obj0
= 0 ;
10791 PyObject
* obj1
= 0 ;
10792 char *kwnames
[] = {
10793 (char *) "self",(char *) "menu", NULL
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
10797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
10800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 result
= (bool)(arg1
)->PopupMenu(arg2
);
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10817 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10820 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10822 return Py_BuildValue((char *)"");
10824 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
*resultobj
;
10827 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10828 wxTaskBarIconEvent
*result
;
10829 PyObject
* obj0
= 0 ;
10830 PyObject
* obj1
= 0 ;
10831 char *kwnames
[] = {
10832 (char *) "evtType",(char *) "tbIcon", NULL
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10836 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10854 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10857 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10859 return Py_BuildValue((char *)"");
10861 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10862 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10867 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10872 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10874 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10881 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10882 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10887 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10892 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10894 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10901 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10902 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10907 static PyObject
*_wrap_DirDialogNameStr_get() {
10912 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10914 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10921 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10922 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10927 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10932 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10934 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10941 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
10942 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10947 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10952 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10954 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10961 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
10962 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10967 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10972 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10974 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10981 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
;
10983 wxColourData
*result
;
10984 char *kwnames
[] = {
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10991 result
= (wxColourData
*)new wxColourData();
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11003 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
;
11005 wxColourData
*arg1
= (wxColourData
*) 0 ;
11006 PyObject
* obj0
= 0 ;
11007 char *kwnames
[] = {
11008 (char *) "self", NULL
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11021 Py_INCREF(Py_None
); resultobj
= Py_None
;
11028 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
;
11030 wxColourData
*arg1
= (wxColourData
*) 0 ;
11032 PyObject
* obj0
= 0 ;
11033 char *kwnames
[] = {
11034 (char *) "self", NULL
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 result
= (bool)(arg1
)->GetChooseFull();
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11056 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
*resultobj
;
11058 wxColourData
*arg1
= (wxColourData
*) 0 ;
11060 PyObject
* obj0
= 0 ;
11061 char *kwnames
[] = {
11062 (char *) "self", NULL
11065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (arg1
)->GetColour();
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11076 wxColour
* resultptr
;
11077 resultptr
= new wxColour((wxColour
&) result
);
11078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11086 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
*resultobj
;
11088 wxColourData
*arg1
= (wxColourData
*) 0 ;
11091 PyObject
* obj0
= 0 ;
11092 PyObject
* obj1
= 0 ;
11093 char *kwnames
[] = {
11094 (char *) "self",(char *) "i", NULL
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11100 arg2
= (int) SWIG_AsInt(obj1
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 result
= (arg1
)->GetCustomColour(arg2
);
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11110 wxColour
* resultptr
;
11111 resultptr
= new wxColour((wxColour
&) result
);
11112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11120 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
;
11122 wxColourData
*arg1
= (wxColourData
*) 0 ;
11124 PyObject
* obj0
= 0 ;
11125 PyObject
* obj1
= 0 ;
11126 char *kwnames
[] = {
11127 (char *) "self",(char *) "flag", NULL
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11133 arg2
= (int) SWIG_AsInt(obj1
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 (arg1
)->SetChooseFull(arg2
);
11139 wxPyEndAllowThreads(__tstate
);
11140 if (PyErr_Occurred()) SWIG_fail
;
11142 Py_INCREF(Py_None
); resultobj
= Py_None
;
11149 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11150 PyObject
*resultobj
;
11151 wxColourData
*arg1
= (wxColourData
*) 0 ;
11152 wxColour
*arg2
= 0 ;
11154 PyObject
* obj0
= 0 ;
11155 PyObject
* obj1
= 0 ;
11156 char *kwnames
[] = {
11157 (char *) "self",(char *) "colour", NULL
11160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11165 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 (arg1
)->SetColour((wxColour
const &)*arg2
);
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 Py_INCREF(Py_None
); resultobj
= Py_None
;
11181 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11182 PyObject
*resultobj
;
11183 wxColourData
*arg1
= (wxColourData
*) 0 ;
11185 wxColour
*arg3
= 0 ;
11187 PyObject
* obj0
= 0 ;
11188 PyObject
* obj1
= 0 ;
11189 PyObject
* obj2
= 0 ;
11190 char *kwnames
[] = {
11191 (char *) "self",(char *) "i",(char *) "colour", NULL
11194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11197 arg2
= (int) SWIG_AsInt(obj1
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11201 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11210 Py_INCREF(Py_None
); resultobj
= Py_None
;
11217 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11220 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11222 return Py_BuildValue((char *)"");
11224 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11225 PyObject
*resultobj
;
11226 wxWindow
*arg1
= (wxWindow
*) 0 ;
11227 wxColourData
*arg2
= (wxColourData
*) NULL
;
11228 wxColourDialog
*result
;
11229 PyObject
* obj0
= 0 ;
11230 PyObject
* obj1
= 0 ;
11231 char *kwnames
[] = {
11232 (char *) "parent",(char *) "data", NULL
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11244 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11246 wxPyEndAllowThreads(__tstate
);
11247 if (PyErr_Occurred()) SWIG_fail
;
11249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11256 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
;
11258 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11259 wxColourData
*result
;
11260 PyObject
* obj0
= 0 ;
11261 char *kwnames
[] = {
11262 (char *) "self", NULL
11265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11272 result
= (wxColourData
*) &_result_ref
;
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11285 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11288 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11290 return Py_BuildValue((char *)"");
11292 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11293 PyObject
*resultobj
;
11294 wxWindow
*arg1
= (wxWindow
*) 0 ;
11295 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11296 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11297 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11298 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11299 long arg4
= (long) 0 ;
11300 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11301 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11302 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11303 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11304 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11305 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11306 wxDirDialog
*result
;
11307 bool temp2
= False
;
11308 bool temp3
= False
;
11311 bool temp7
= False
;
11312 PyObject
* obj0
= 0 ;
11313 PyObject
* obj1
= 0 ;
11314 PyObject
* obj2
= 0 ;
11315 PyObject
* obj3
= 0 ;
11316 PyObject
* obj4
= 0 ;
11317 PyObject
* obj5
= 0 ;
11318 PyObject
* obj6
= 0 ;
11319 char *kwnames
[] = {
11320 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11328 arg2
= wxString_in_helper(obj1
);
11329 if (arg2
== NULL
) SWIG_fail
;
11335 arg3
= wxString_in_helper(obj2
);
11336 if (arg3
== NULL
) SWIG_fail
;
11341 arg4
= (long) SWIG_AsLong(obj3
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11347 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11353 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11358 arg7
= wxString_in_helper(obj6
);
11359 if (arg7
== NULL
) SWIG_fail
;
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11401 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11402 PyObject
*resultobj
;
11403 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11405 PyObject
* obj0
= 0 ;
11406 char *kwnames
[] = {
11407 (char *) "self", NULL
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11415 result
= (arg1
)->GetPath();
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11433 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11437 PyObject
* obj0
= 0 ;
11438 char *kwnames
[] = {
11439 (char *) "self", NULL
11442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 result
= (arg1
)->GetMessage();
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11465 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
*resultobj
;
11467 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11469 PyObject
* obj0
= 0 ;
11470 char *kwnames
[] = {
11471 (char *) "self", NULL
11474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (long)(arg1
)->GetStyle();
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= SWIG_FromLong((long)result
);
11491 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
;
11493 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11494 wxString
*arg2
= 0 ;
11495 bool temp2
= False
;
11496 PyObject
* obj0
= 0 ;
11497 PyObject
* obj1
= 0 ;
11498 char *kwnames
[] = {
11499 (char *) "self",(char *) "message", NULL
11502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11506 arg2
= wxString_in_helper(obj1
);
11507 if (arg2
== NULL
) SWIG_fail
;
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 (arg1
)->SetMessage((wxString
const &)*arg2
);
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11517 Py_INCREF(Py_None
); resultobj
= Py_None
;
11532 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11533 PyObject
*resultobj
;
11534 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11535 wxString
*arg2
= 0 ;
11536 bool temp2
= False
;
11537 PyObject
* obj0
= 0 ;
11538 PyObject
* obj1
= 0 ;
11539 char *kwnames
[] = {
11540 (char *) "self",(char *) "path", NULL
11543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11547 arg2
= wxString_in_helper(obj1
);
11548 if (arg2
== NULL
) SWIG_fail
;
11552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11553 (arg1
)->SetPath((wxString
const &)*arg2
);
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11558 Py_INCREF(Py_None
); resultobj
= Py_None
;
11573 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11576 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11578 return Py_BuildValue((char *)"");
11580 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 wxWindow
*arg1
= (wxWindow
*) 0 ;
11583 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11584 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11585 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11586 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11587 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11588 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11589 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11590 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11591 long arg6
= (long) 0 ;
11592 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11593 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11594 wxFileDialog
*result
;
11595 bool temp2
= False
;
11596 bool temp3
= False
;
11597 bool temp4
= False
;
11598 bool temp5
= False
;
11600 PyObject
* obj0
= 0 ;
11601 PyObject
* obj1
= 0 ;
11602 PyObject
* obj2
= 0 ;
11603 PyObject
* obj3
= 0 ;
11604 PyObject
* obj4
= 0 ;
11605 PyObject
* obj5
= 0 ;
11606 PyObject
* obj6
= 0 ;
11607 char *kwnames
[] = {
11608 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11616 arg2
= wxString_in_helper(obj1
);
11617 if (arg2
== NULL
) SWIG_fail
;
11623 arg3
= wxString_in_helper(obj2
);
11624 if (arg3
== NULL
) SWIG_fail
;
11630 arg4
= wxString_in_helper(obj3
);
11631 if (arg4
== NULL
) SWIG_fail
;
11637 arg5
= wxString_in_helper(obj4
);
11638 if (arg5
== NULL
) SWIG_fail
;
11643 arg6
= (long) SWIG_AsLong(obj5
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11649 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11698 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
*resultobj
;
11700 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11701 wxString
*arg2
= 0 ;
11702 bool temp2
= False
;
11703 PyObject
* obj0
= 0 ;
11704 PyObject
* obj1
= 0 ;
11705 char *kwnames
[] = {
11706 (char *) "self",(char *) "message", NULL
11709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11713 arg2
= wxString_in_helper(obj1
);
11714 if (arg2
== NULL
) SWIG_fail
;
11718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11719 (arg1
)->SetMessage((wxString
const &)*arg2
);
11721 wxPyEndAllowThreads(__tstate
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11724 Py_INCREF(Py_None
); resultobj
= Py_None
;
11739 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11740 PyObject
*resultobj
;
11741 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11742 wxString
*arg2
= 0 ;
11743 bool temp2
= False
;
11744 PyObject
* obj0
= 0 ;
11745 PyObject
* obj1
= 0 ;
11746 char *kwnames
[] = {
11747 (char *) "self",(char *) "path", NULL
11750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11754 arg2
= wxString_in_helper(obj1
);
11755 if (arg2
== NULL
) SWIG_fail
;
11759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11760 (arg1
)->SetPath((wxString
const &)*arg2
);
11762 wxPyEndAllowThreads(__tstate
);
11763 if (PyErr_Occurred()) SWIG_fail
;
11765 Py_INCREF(Py_None
); resultobj
= Py_None
;
11780 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
*resultobj
;
11782 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11783 wxString
*arg2
= 0 ;
11784 bool temp2
= False
;
11785 PyObject
* obj0
= 0 ;
11786 PyObject
* obj1
= 0 ;
11787 char *kwnames
[] = {
11788 (char *) "self",(char *) "dir", NULL
11791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11795 arg2
= wxString_in_helper(obj1
);
11796 if (arg2
== NULL
) SWIG_fail
;
11800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11801 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11806 Py_INCREF(Py_None
); resultobj
= Py_None
;
11821 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11824 wxString
*arg2
= 0 ;
11825 bool temp2
= False
;
11826 PyObject
* obj0
= 0 ;
11827 PyObject
* obj1
= 0 ;
11828 char *kwnames
[] = {
11829 (char *) "self",(char *) "name", NULL
11832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11836 arg2
= wxString_in_helper(obj1
);
11837 if (arg2
== NULL
) SWIG_fail
;
11841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11842 (arg1
)->SetFilename((wxString
const &)*arg2
);
11844 wxPyEndAllowThreads(__tstate
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11847 Py_INCREF(Py_None
); resultobj
= Py_None
;
11862 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11863 PyObject
*resultobj
;
11864 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11865 wxString
*arg2
= 0 ;
11866 bool temp2
= False
;
11867 PyObject
* obj0
= 0 ;
11868 PyObject
* obj1
= 0 ;
11869 char *kwnames
[] = {
11870 (char *) "self",(char *) "wildCard", NULL
11873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11877 arg2
= wxString_in_helper(obj1
);
11878 if (arg2
== NULL
) SWIG_fail
;
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11888 Py_INCREF(Py_None
); resultobj
= Py_None
;
11903 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11904 PyObject
*resultobj
;
11905 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11907 PyObject
* obj0
= 0 ;
11908 PyObject
* obj1
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "self",(char *) "style", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11916 arg2
= (long) SWIG_AsLong(obj1
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 (arg1
)->SetStyle(arg2
);
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 Py_INCREF(Py_None
); resultobj
= Py_None
;
11932 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
;
11934 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11936 PyObject
* obj0
= 0 ;
11937 PyObject
* obj1
= 0 ;
11938 char *kwnames
[] = {
11939 (char *) "self",(char *) "filterIndex", NULL
11942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11945 arg2
= (int) SWIG_AsInt(obj1
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 (arg1
)->SetFilterIndex(arg2
);
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11954 Py_INCREF(Py_None
); resultobj
= Py_None
;
11961 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
;
11963 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11965 PyObject
* obj0
= 0 ;
11966 char *kwnames
[] = {
11967 (char *) "self", NULL
11970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11993 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
;
11995 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11997 PyObject
* obj0
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12007 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12025 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
;
12027 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12029 PyObject
* obj0
= 0 ;
12030 char *kwnames
[] = {
12031 (char *) "self", NULL
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12046 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12048 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12057 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12058 PyObject
*resultobj
;
12059 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12061 PyObject
* obj0
= 0 ;
12062 char *kwnames
[] = {
12063 (char *) "self", NULL
12066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12089 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12090 PyObject
*resultobj
;
12091 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12093 PyObject
* obj0
= 0 ;
12094 char *kwnames
[] = {
12095 (char *) "self", NULL
12098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12103 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12121 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12122 PyObject
*resultobj
;
12123 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12125 PyObject
* obj0
= 0 ;
12126 char *kwnames
[] = {
12127 (char *) "self", NULL
12130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12137 wxPyEndAllowThreads(__tstate
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12140 resultobj
= SWIG_FromLong((long)result
);
12147 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12148 PyObject
*resultobj
;
12149 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12151 PyObject
* obj0
= 0 ;
12152 char *kwnames
[] = {
12153 (char *) "self", NULL
12156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 resultobj
= SWIG_FromInt((int)result
);
12173 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
;
12175 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12177 PyObject
* obj0
= 0 ;
12178 char *kwnames
[] = {
12179 (char *) "self", NULL
12182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= result
;
12199 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
;
12201 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12203 PyObject
* obj0
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12218 resultobj
= result
;
12225 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12228 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12230 return Py_BuildValue((char *)"");
12232 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
;
12234 wxWindow
*arg1
= (wxWindow
*) 0 ;
12235 wxString
*arg2
= 0 ;
12236 wxString
*arg3
= 0 ;
12237 int arg4
= (int) 0 ;
12238 wxString
*arg5
= (wxString
*) 0 ;
12239 long arg6
= (long) wxCHOICEDLG_STYLE
;
12240 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12241 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12242 wxMultiChoiceDialog
*result
;
12243 bool temp2
= False
;
12244 bool temp3
= False
;
12246 PyObject
* obj0
= 0 ;
12247 PyObject
* obj1
= 0 ;
12248 PyObject
* obj2
= 0 ;
12249 PyObject
* obj3
= 0 ;
12250 PyObject
* obj4
= 0 ;
12251 PyObject
* obj5
= 0 ;
12252 char *kwnames
[] = {
12253 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12260 arg2
= wxString_in_helper(obj1
);
12261 if (arg2
== NULL
) SWIG_fail
;
12265 arg3
= wxString_in_helper(obj2
);
12266 if (arg3
== NULL
) SWIG_fail
;
12271 arg4
= PyList_Size(obj3
);
12272 arg5
= wxString_LIST_helper(obj3
);
12273 if (arg5
== NULL
) SWIG_fail
;
12277 arg6
= (long) SWIG_AsLong(obj4
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12283 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12303 if (arg5
) delete [] arg5
;
12316 if (arg5
) delete [] arg5
;
12322 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12325 wxArrayInt
*arg2
= 0 ;
12326 bool temp2
= False
;
12327 PyObject
* obj0
= 0 ;
12328 PyObject
* obj1
= 0 ;
12329 char *kwnames
[] = {
12330 (char *) "self",(char *) "selections", NULL
12333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12337 if (! PySequence_Check(obj1
)) {
12338 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12341 arg2
= new wxArrayInt
;
12343 int i
, len
=PySequence_Length(obj1
);
12344 for (i
=0; i
<len
; i
++) {
12345 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12346 PyObject
* number
= PyNumber_Int(item
);
12347 arg2
->Add(PyInt_AS_LONG(number
));
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12354 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 Py_INCREF(Py_None
); resultobj
= Py_None
;
12361 if (temp2
) delete arg2
;
12366 if (temp2
) delete arg2
;
12372 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
;
12374 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12376 PyObject
* obj0
= 0 ;
12377 char *kwnames
[] = {
12378 (char *) "self", NULL
12381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12391 resultobj
= result
;
12398 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12401 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12403 return Py_BuildValue((char *)"");
12405 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12406 PyObject
*resultobj
;
12407 wxWindow
*arg1
= (wxWindow
*) 0 ;
12408 wxString
*arg2
= 0 ;
12409 wxString
*arg3
= 0 ;
12411 wxString
*arg5
= (wxString
*) 0 ;
12412 long arg6
= (long) wxCHOICEDLG_STYLE
;
12413 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12414 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12415 wxSingleChoiceDialog
*result
;
12416 bool temp2
= False
;
12417 bool temp3
= False
;
12419 PyObject
* obj0
= 0 ;
12420 PyObject
* obj1
= 0 ;
12421 PyObject
* obj2
= 0 ;
12422 PyObject
* obj3
= 0 ;
12423 PyObject
* obj4
= 0 ;
12424 PyObject
* obj5
= 0 ;
12425 char *kwnames
[] = {
12426 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12433 arg2
= wxString_in_helper(obj1
);
12434 if (arg2
== NULL
) SWIG_fail
;
12438 arg3
= wxString_in_helper(obj2
);
12439 if (arg3
== NULL
) SWIG_fail
;
12443 arg4
= PyList_Size(obj3
);
12444 arg5
= wxString_LIST_helper(obj3
);
12445 if (arg5
== NULL
) SWIG_fail
;
12448 arg6
= (long) SWIG_AsLong(obj4
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12454 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12459 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12474 if (arg5
) delete [] arg5
;
12487 if (arg5
) delete [] arg5
;
12493 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12494 PyObject
*resultobj
;
12495 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12497 PyObject
* obj0
= 0 ;
12498 char *kwnames
[] = {
12499 (char *) "self", NULL
12502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12507 result
= (int)(arg1
)->GetSelection();
12509 wxPyEndAllowThreads(__tstate
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12512 resultobj
= SWIG_FromInt((int)result
);
12519 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12520 PyObject
*resultobj
;
12521 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12523 PyObject
* obj0
= 0 ;
12524 char *kwnames
[] = {
12525 (char *) "self", NULL
12528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 result
= (arg1
)->GetStringSelection();
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12551 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
;
12553 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12555 PyObject
* obj0
= 0 ;
12556 PyObject
* obj1
= 0 ;
12557 char *kwnames
[] = {
12558 (char *) "self",(char *) "sel", NULL
12561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12564 arg2
= (int) SWIG_AsInt(obj1
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12568 (arg1
)->SetSelection(arg2
);
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12573 Py_INCREF(Py_None
); resultobj
= Py_None
;
12580 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12583 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12585 return Py_BuildValue((char *)"");
12587 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
;
12589 wxWindow
*arg1
= (wxWindow
*) 0 ;
12590 wxString
*arg2
= 0 ;
12591 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12592 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12593 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12594 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12595 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12596 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12597 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12598 wxTextEntryDialog
*result
;
12599 bool temp2
= False
;
12600 bool temp3
= False
;
12601 bool temp4
= False
;
12603 PyObject
* obj0
= 0 ;
12604 PyObject
* obj1
= 0 ;
12605 PyObject
* obj2
= 0 ;
12606 PyObject
* obj3
= 0 ;
12607 PyObject
* obj4
= 0 ;
12608 PyObject
* obj5
= 0 ;
12609 char *kwnames
[] = {
12610 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12617 arg2
= wxString_in_helper(obj1
);
12618 if (arg2
== NULL
) SWIG_fail
;
12623 arg3
= wxString_in_helper(obj2
);
12624 if (arg3
== NULL
) SWIG_fail
;
12630 arg4
= wxString_in_helper(obj3
);
12631 if (arg4
== NULL
) SWIG_fail
;
12636 arg5
= (long) SWIG_AsLong(obj4
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12642 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12683 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
;
12685 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12687 PyObject
* obj0
= 0 ;
12688 char *kwnames
[] = {
12689 (char *) "self", NULL
12692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12697 result
= (arg1
)->GetValue();
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12704 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12706 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12715 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
;
12717 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12718 wxString
*arg2
= 0 ;
12719 bool temp2
= False
;
12720 PyObject
* obj0
= 0 ;
12721 PyObject
* obj1
= 0 ;
12722 char *kwnames
[] = {
12723 (char *) "self",(char *) "value", NULL
12726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12730 arg2
= wxString_in_helper(obj1
);
12731 if (arg2
== NULL
) SWIG_fail
;
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 (arg1
)->SetValue((wxString
const &)*arg2
);
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12741 Py_INCREF(Py_None
); resultobj
= Py_None
;
12756 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12759 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12761 return Py_BuildValue((char *)"");
12763 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
;
12765 wxFontData
*result
;
12766 char *kwnames
[] = {
12770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= (wxFontData
*)new wxFontData();
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12785 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
;
12787 wxFontData
*arg1
= (wxFontData
*) 0 ;
12788 PyObject
* obj0
= 0 ;
12789 char *kwnames
[] = {
12790 (char *) "self", NULL
12793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12803 Py_INCREF(Py_None
); resultobj
= Py_None
;
12810 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
;
12812 wxFontData
*arg1
= (wxFontData
*) 0 ;
12814 PyObject
* obj0
= 0 ;
12815 PyObject
* obj1
= 0 ;
12816 char *kwnames
[] = {
12817 (char *) "self",(char *) "enable", NULL
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12823 arg2
= (bool) SWIG_AsBool(obj1
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 (arg1
)->EnableEffects(arg2
);
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 Py_INCREF(Py_None
); resultobj
= Py_None
;
12839 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
;
12841 wxFontData
*arg1
= (wxFontData
*) 0 ;
12843 PyObject
* obj0
= 0 ;
12844 char *kwnames
[] = {
12845 (char *) "self", NULL
12848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12853 result
= (bool)(arg1
)->GetAllowSymbols();
12855 wxPyEndAllowThreads(__tstate
);
12856 if (PyErr_Occurred()) SWIG_fail
;
12859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12867 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
;
12869 wxFontData
*arg1
= (wxFontData
*) 0 ;
12871 PyObject
* obj0
= 0 ;
12872 char *kwnames
[] = {
12873 (char *) "self", NULL
12876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12881 result
= (arg1
)->GetColour();
12883 wxPyEndAllowThreads(__tstate
);
12884 if (PyErr_Occurred()) SWIG_fail
;
12887 wxColour
* resultptr
;
12888 resultptr
= new wxColour((wxColour
&) result
);
12889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12897 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
;
12899 wxFontData
*arg1
= (wxFontData
*) 0 ;
12901 PyObject
* obj0
= 0 ;
12902 char *kwnames
[] = {
12903 (char *) "self", NULL
12906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 result
= (arg1
)->GetChosenFont();
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12917 wxFont
* resultptr
;
12918 resultptr
= new wxFont((wxFont
&) result
);
12919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12927 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12928 PyObject
*resultobj
;
12929 wxFontData
*arg1
= (wxFontData
*) 0 ;
12931 PyObject
* obj0
= 0 ;
12932 char *kwnames
[] = {
12933 (char *) "self", NULL
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 result
= (bool)(arg1
)->GetEnableEffects();
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12955 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12956 PyObject
*resultobj
;
12957 wxFontData
*arg1
= (wxFontData
*) 0 ;
12959 PyObject
* obj0
= 0 ;
12960 char *kwnames
[] = {
12961 (char *) "self", NULL
12964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 result
= (arg1
)->GetInitialFont();
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12975 wxFont
* resultptr
;
12976 resultptr
= new wxFont((wxFont
&) result
);
12977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12985 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12986 PyObject
*resultobj
;
12987 wxFontData
*arg1
= (wxFontData
*) 0 ;
12989 PyObject
* obj0
= 0 ;
12990 char *kwnames
[] = {
12991 (char *) "self", NULL
12994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 result
= (bool)(arg1
)->GetShowHelp();
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13013 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
*resultobj
;
13015 wxFontData
*arg1
= (wxFontData
*) 0 ;
13017 PyObject
* obj0
= 0 ;
13018 PyObject
* obj1
= 0 ;
13019 char *kwnames
[] = {
13020 (char *) "self",(char *) "allowSymbols", NULL
13023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13026 arg2
= (bool) SWIG_AsBool(obj1
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 (arg1
)->SetAllowSymbols(arg2
);
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13035 Py_INCREF(Py_None
); resultobj
= Py_None
;
13042 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxFontData
*arg1
= (wxFontData
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 PyObject
* obj1
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self",(char *) "font", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13058 if (arg2
== NULL
) {
13059 PyErr_SetString(PyExc_TypeError
,"null reference");
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 Py_INCREF(Py_None
); resultobj
= Py_None
;
13076 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
;
13078 wxFontData
*arg1
= (wxFontData
*) 0 ;
13079 wxColour
*arg2
= 0 ;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self",(char *) "colour", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13092 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 (arg1
)->SetColour((wxColour
const &)*arg2
);
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13101 Py_INCREF(Py_None
); resultobj
= Py_None
;
13108 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
;
13110 wxFontData
*arg1
= (wxFontData
*) 0 ;
13112 PyObject
* obj0
= 0 ;
13113 PyObject
* obj1
= 0 ;
13114 char *kwnames
[] = {
13115 (char *) "self",(char *) "font", NULL
13118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13122 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13124 if (arg2
== NULL
) {
13125 PyErr_SetString(PyExc_TypeError
,"null reference");
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13135 Py_INCREF(Py_None
); resultobj
= Py_None
;
13142 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13143 PyObject
*resultobj
;
13144 wxFontData
*arg1
= (wxFontData
*) 0 ;
13147 PyObject
* obj0
= 0 ;
13148 PyObject
* obj1
= 0 ;
13149 PyObject
* obj2
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self",(char *) "min",(char *) "max", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13157 arg2
= (int) SWIG_AsInt(obj1
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13159 arg3
= (int) SWIG_AsInt(obj2
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 (arg1
)->SetRange(arg2
,arg3
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 Py_INCREF(Py_None
); resultobj
= Py_None
;
13175 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
;
13177 wxFontData
*arg1
= (wxFontData
*) 0 ;
13179 PyObject
* obj0
= 0 ;
13180 PyObject
* obj1
= 0 ;
13181 char *kwnames
[] = {
13182 (char *) "self",(char *) "showHelp", NULL
13185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13188 arg2
= (bool) SWIG_AsBool(obj1
);
13189 if (PyErr_Occurred()) SWIG_fail
;
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13192 (arg1
)->SetShowHelp(arg2
);
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 Py_INCREF(Py_None
); resultobj
= Py_None
;
13204 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13207 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13209 return Py_BuildValue((char *)"");
13211 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13212 PyObject
*resultobj
;
13213 wxWindow
*arg1
= (wxWindow
*) 0 ;
13214 wxFontData
*arg2
= 0 ;
13215 wxFontDialog
*result
;
13216 PyObject
* obj0
= 0 ;
13217 PyObject
* obj1
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "parent",(char *) "data", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13228 if (arg2
== NULL
) {
13229 PyErr_SetString(PyExc_TypeError
,"null reference");
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13246 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
;
13248 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13249 wxFontData
*result
;
13250 PyObject
* obj0
= 0 ;
13251 char *kwnames
[] = {
13252 (char *) "self", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13261 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13262 result
= (wxFontData
*) &_result_ref
;
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13275 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13278 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13280 return Py_BuildValue((char *)"");
13282 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
;
13284 wxWindow
*arg1
= (wxWindow
*) 0 ;
13285 wxString
*arg2
= 0 ;
13286 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13287 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13288 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13289 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13290 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13291 wxMessageDialog
*result
;
13292 bool temp2
= False
;
13293 bool temp3
= False
;
13295 PyObject
* obj0
= 0 ;
13296 PyObject
* obj1
= 0 ;
13297 PyObject
* obj2
= 0 ;
13298 PyObject
* obj3
= 0 ;
13299 PyObject
* obj4
= 0 ;
13300 char *kwnames
[] = {
13301 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13308 arg2
= wxString_in_helper(obj1
);
13309 if (arg2
== NULL
) SWIG_fail
;
13314 arg3
= wxString_in_helper(obj2
);
13315 if (arg3
== NULL
) SWIG_fail
;
13320 arg4
= (long) SWIG_AsLong(obj3
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13326 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13359 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13362 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13364 return Py_BuildValue((char *)"");
13366 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13367 PyObject
*resultobj
;
13368 wxString
*arg1
= 0 ;
13369 wxString
*arg2
= 0 ;
13370 int arg3
= (int) 100 ;
13371 wxWindow
*arg4
= (wxWindow
*) NULL
;
13372 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13373 wxProgressDialog
*result
;
13374 bool temp1
= False
;
13375 bool temp2
= False
;
13376 PyObject
* obj0
= 0 ;
13377 PyObject
* obj1
= 0 ;
13378 PyObject
* obj2
= 0 ;
13379 PyObject
* obj3
= 0 ;
13380 PyObject
* obj4
= 0 ;
13381 char *kwnames
[] = {
13382 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13387 arg1
= wxString_in_helper(obj0
);
13388 if (arg1
== NULL
) SWIG_fail
;
13392 arg2
= wxString_in_helper(obj1
);
13393 if (arg2
== NULL
) SWIG_fail
;
13397 arg3
= (int) SWIG_AsInt(obj2
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13401 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13405 arg5
= (int) SWIG_AsInt(obj4
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13438 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13439 PyObject
*resultobj
;
13440 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13442 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13443 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13445 bool temp3
= False
;
13446 PyObject
* obj0
= 0 ;
13447 PyObject
* obj1
= 0 ;
13448 PyObject
* obj2
= 0 ;
13449 char *kwnames
[] = {
13450 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13456 arg2
= (int) SWIG_AsInt(obj1
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13460 arg3
= wxString_in_helper(obj2
);
13461 if (arg3
== NULL
) SWIG_fail
;
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13489 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13490 PyObject
*resultobj
;
13491 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13492 PyObject
* obj0
= 0 ;
13493 char *kwnames
[] = {
13494 (char *) "self", NULL
13497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13507 Py_INCREF(Py_None
); resultobj
= Py_None
;
13514 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13517 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13519 return Py_BuildValue((char *)"");
13521 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13522 PyObject
*resultobj
;
13523 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13524 int arg2
= (int) 0 ;
13525 wxFindDialogEvent
*result
;
13526 PyObject
* obj0
= 0 ;
13527 PyObject
* obj1
= 0 ;
13528 char *kwnames
[] = {
13529 (char *) "commandType",(char *) "id", NULL
13532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13534 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13538 arg2
= (int) SWIG_AsInt(obj1
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13543 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13555 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13556 PyObject
*resultobj
;
13557 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13559 PyObject
* obj0
= 0 ;
13560 char *kwnames
[] = {
13561 (char *) "self", NULL
13564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13569 result
= (int)(arg1
)->GetFlags();
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= SWIG_FromInt((int)result
);
13581 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
;
13583 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13585 PyObject
* obj0
= 0 ;
13586 char *kwnames
[] = {
13587 (char *) "self", NULL
13590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 wxString
const &_result_ref
= (arg1
)->GetFindString();
13597 result
= (wxString
*) &_result_ref
;
13600 wxPyEndAllowThreads(__tstate
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13605 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13607 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13616 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13617 PyObject
*resultobj
;
13618 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13620 PyObject
* obj0
= 0 ;
13621 char *kwnames
[] = {
13622 (char *) "self", NULL
13625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13631 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13632 result
= (wxString
*) &_result_ref
;
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13642 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13651 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
;
13653 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13654 wxFindReplaceDialog
*result
;
13655 PyObject
* obj0
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "self", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13677 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
;
13679 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13681 PyObject
* obj0
= 0 ;
13682 PyObject
* obj1
= 0 ;
13683 char *kwnames
[] = {
13684 (char *) "self",(char *) "flags", NULL
13687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13690 arg2
= (int) SWIG_AsInt(obj1
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 (arg1
)->SetFlags(arg2
);
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 Py_INCREF(Py_None
); resultobj
= Py_None
;
13706 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13707 PyObject
*resultobj
;
13708 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13709 wxString
*arg2
= 0 ;
13710 bool temp2
= False
;
13711 PyObject
* obj0
= 0 ;
13712 PyObject
* obj1
= 0 ;
13713 char *kwnames
[] = {
13714 (char *) "self",(char *) "str", NULL
13717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13721 arg2
= wxString_in_helper(obj1
);
13722 if (arg2
== NULL
) SWIG_fail
;
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 (arg1
)->SetFindString((wxString
const &)*arg2
);
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13732 Py_INCREF(Py_None
); resultobj
= Py_None
;
13747 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13748 PyObject
*resultobj
;
13749 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13750 wxString
*arg2
= 0 ;
13751 bool temp2
= False
;
13752 PyObject
* obj0
= 0 ;
13753 PyObject
* obj1
= 0 ;
13754 char *kwnames
[] = {
13755 (char *) "self",(char *) "str", NULL
13758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13762 arg2
= wxString_in_helper(obj1
);
13763 if (arg2
== NULL
) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 Py_INCREF(Py_None
); resultobj
= Py_None
;
13788 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13791 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13793 return Py_BuildValue((char *)"");
13795 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13796 PyObject
*resultobj
;
13797 int arg1
= (int) 0 ;
13798 wxFindReplaceData
*result
;
13799 PyObject
* obj0
= 0 ;
13800 char *kwnames
[] = {
13801 (char *) "flags", NULL
13804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13806 arg1
= (int) SWIG_AsInt(obj0
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13811 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13823 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
;
13825 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13826 PyObject
* obj0
= 0 ;
13827 char *kwnames
[] = {
13828 (char *) "self", NULL
13831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 Py_INCREF(Py_None
); resultobj
= Py_None
;
13848 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
;
13850 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13852 PyObject
* obj0
= 0 ;
13853 char *kwnames
[] = {
13854 (char *) "self", NULL
13857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 wxString
const &_result_ref
= (arg1
)->GetFindString();
13864 result
= (wxString
*) &_result_ref
;
13867 wxPyEndAllowThreads(__tstate
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13872 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13874 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13883 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
;
13885 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13887 PyObject
* obj0
= 0 ;
13888 char *kwnames
[] = {
13889 (char *) "self", NULL
13892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13899 result
= (wxString
*) &_result_ref
;
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13907 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13909 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13918 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13919 PyObject
*resultobj
;
13920 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13922 PyObject
* obj0
= 0 ;
13923 char *kwnames
[] = {
13924 (char *) "self", NULL
13927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 result
= (int)(arg1
)->GetFlags();
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13937 resultobj
= SWIG_FromInt((int)result
);
13944 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13945 PyObject
*resultobj
;
13946 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13948 PyObject
* obj0
= 0 ;
13949 PyObject
* obj1
= 0 ;
13950 char *kwnames
[] = {
13951 (char *) "self",(char *) "flags", NULL
13954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13957 arg2
= (int) SWIG_AsInt(obj1
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 (arg1
)->SetFlags(arg2
);
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13966 Py_INCREF(Py_None
); resultobj
= Py_None
;
13973 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
;
13975 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13976 wxString
*arg2
= 0 ;
13977 bool temp2
= False
;
13978 PyObject
* obj0
= 0 ;
13979 PyObject
* obj1
= 0 ;
13980 char *kwnames
[] = {
13981 (char *) "self",(char *) "str", NULL
13984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13988 arg2
= wxString_in_helper(obj1
);
13989 if (arg2
== NULL
) SWIG_fail
;
13993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13994 (arg1
)->SetFindString((wxString
const &)*arg2
);
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13999 Py_INCREF(Py_None
); resultobj
= Py_None
;
14014 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
;
14016 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14017 wxString
*arg2
= 0 ;
14018 bool temp2
= False
;
14019 PyObject
* obj0
= 0 ;
14020 PyObject
* obj1
= 0 ;
14021 char *kwnames
[] = {
14022 (char *) "self",(char *) "str", NULL
14025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14029 arg2
= wxString_in_helper(obj1
);
14030 if (arg2
== NULL
) SWIG_fail
;
14034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14035 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14037 wxPyEndAllowThreads(__tstate
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14040 Py_INCREF(Py_None
); resultobj
= Py_None
;
14055 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14058 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14060 return Py_BuildValue((char *)"");
14062 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14063 PyObject
*resultobj
;
14064 wxWindow
*arg1
= (wxWindow
*) 0 ;
14065 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14066 wxString
*arg3
= 0 ;
14067 int arg4
= (int) 0 ;
14068 wxFindReplaceDialog
*result
;
14069 bool temp3
= False
;
14070 PyObject
* obj0
= 0 ;
14071 PyObject
* obj1
= 0 ;
14072 PyObject
* obj2
= 0 ;
14073 PyObject
* obj3
= 0 ;
14074 char *kwnames
[] = {
14075 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14084 arg3
= wxString_in_helper(obj2
);
14085 if (arg3
== NULL
) SWIG_fail
;
14089 arg4
= (int) SWIG_AsInt(obj3
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14114 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14115 PyObject
*resultobj
;
14116 wxFindReplaceDialog
*result
;
14117 char *kwnames
[] = {
14121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14124 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14136 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14137 PyObject
*resultobj
;
14138 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14139 wxWindow
*arg2
= (wxWindow
*) 0 ;
14140 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14141 wxString
*arg4
= 0 ;
14142 int arg5
= (int) 0 ;
14144 bool temp4
= False
;
14145 PyObject
* obj0
= 0 ;
14146 PyObject
* obj1
= 0 ;
14147 PyObject
* obj2
= 0 ;
14148 PyObject
* obj3
= 0 ;
14149 PyObject
* obj4
= 0 ;
14150 char *kwnames
[] = {
14151 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14159 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14162 arg4
= wxString_in_helper(obj3
);
14163 if (arg4
== NULL
) SWIG_fail
;
14167 arg5
= (int) SWIG_AsInt(obj4
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14194 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14195 PyObject
*resultobj
;
14196 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14197 wxFindReplaceData
*result
;
14198 PyObject
* obj0
= 0 ;
14199 char *kwnames
[] = {
14200 (char *) "self", NULL
14203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14210 wxPyEndAllowThreads(__tstate
);
14211 if (PyErr_Occurred()) SWIG_fail
;
14213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14220 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14221 PyObject
*resultobj
;
14222 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14223 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14224 PyObject
* obj0
= 0 ;
14225 PyObject
* obj1
= 0 ;
14226 char *kwnames
[] = {
14227 (char *) "self",(char *) "data", NULL
14230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14237 (arg1
)->SetData(arg2
);
14239 wxPyEndAllowThreads(__tstate
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14242 Py_INCREF(Py_None
); resultobj
= Py_None
;
14249 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14252 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14254 return Py_BuildValue((char *)"");
14256 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14257 PyObject
*resultobj
;
14258 wxWindow
*arg1
= (wxWindow
*) 0 ;
14260 wxString
*arg3
= 0 ;
14261 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14262 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14263 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14264 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14265 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14266 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14267 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14268 wxMDIParentFrame
*result
;
14269 bool temp3
= False
;
14272 bool temp7
= False
;
14273 PyObject
* obj0
= 0 ;
14274 PyObject
* obj1
= 0 ;
14275 PyObject
* obj2
= 0 ;
14276 PyObject
* obj3
= 0 ;
14277 PyObject
* obj4
= 0 ;
14278 PyObject
* obj5
= 0 ;
14279 PyObject
* obj6
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14287 arg2
= (int const) SWIG_AsInt(obj1
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14290 arg3
= wxString_in_helper(obj2
);
14291 if (arg3
== NULL
) SWIG_fail
;
14297 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14303 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14307 arg6
= (long) SWIG_AsLong(obj5
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14312 arg7
= wxString_in_helper(obj6
);
14313 if (arg7
== NULL
) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14347 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14349 wxMDIParentFrame
*result
;
14350 char *kwnames
[] = {
14354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14357 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14359 wxPyEndAllowThreads(__tstate
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14369 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14370 PyObject
*resultobj
;
14371 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14372 wxWindow
*arg2
= (wxWindow
*) 0 ;
14374 wxString
*arg4
= 0 ;
14375 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14376 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14377 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14378 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14379 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14380 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14381 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14383 bool temp4
= False
;
14386 bool temp8
= False
;
14387 PyObject
* obj0
= 0 ;
14388 PyObject
* obj1
= 0 ;
14389 PyObject
* obj2
= 0 ;
14390 PyObject
* obj3
= 0 ;
14391 PyObject
* obj4
= 0 ;
14392 PyObject
* obj5
= 0 ;
14393 PyObject
* obj6
= 0 ;
14394 PyObject
* obj7
= 0 ;
14395 char *kwnames
[] = {
14396 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14404 arg3
= (int const) SWIG_AsInt(obj2
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14407 arg4
= wxString_in_helper(obj3
);
14408 if (arg4
== NULL
) SWIG_fail
;
14414 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14420 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14424 arg7
= (long) SWIG_AsLong(obj6
);
14425 if (PyErr_Occurred()) SWIG_fail
;
14429 arg8
= wxString_in_helper(obj7
);
14430 if (arg8
== NULL
) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14466 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
;
14468 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14469 PyObject
* obj0
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "self", NULL
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 (arg1
)->ActivateNext();
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14484 Py_INCREF(Py_None
); resultobj
= Py_None
;
14491 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14492 PyObject
*resultobj
;
14493 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14494 PyObject
* obj0
= 0 ;
14495 char *kwnames
[] = {
14496 (char *) "self", NULL
14499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 (arg1
)->ActivatePrevious();
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14509 Py_INCREF(Py_None
); resultobj
= Py_None
;
14516 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
;
14518 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14519 PyObject
* obj0
= 0 ;
14520 char *kwnames
[] = {
14521 (char *) "self", NULL
14524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 (arg1
)->ArrangeIcons();
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14534 Py_INCREF(Py_None
); resultobj
= Py_None
;
14541 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
;
14543 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14544 PyObject
* obj0
= 0 ;
14545 char *kwnames
[] = {
14546 (char *) "self", NULL
14549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 Py_INCREF(Py_None
); resultobj
= Py_None
;
14566 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
*resultobj
;
14568 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14569 wxMDIChildFrame
*result
;
14570 PyObject
* obj0
= 0 ;
14571 char *kwnames
[] = {
14572 (char *) "self", NULL
14575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14580 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14582 wxPyEndAllowThreads(__tstate
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14586 resultobj
= wxPyMake_wxObject(result
);
14594 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
*resultobj
;
14596 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14597 wxMDIClientWindow
*result
;
14598 PyObject
* obj0
= 0 ;
14599 char *kwnames
[] = {
14600 (char *) "self", NULL
14603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14608 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14614 resultobj
= wxPyMake_wxObject(result
);
14622 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14623 PyObject
*resultobj
;
14624 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14626 PyObject
* obj0
= 0 ;
14627 char *kwnames
[] = {
14628 (char *) "self", NULL
14631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14636 result
= (wxWindow
*)(arg1
)->GetToolBar();
14638 wxPyEndAllowThreads(__tstate
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14642 resultobj
= wxPyMake_wxObject(result
);
14650 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14651 PyObject
*resultobj
;
14652 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14654 PyObject
* obj0
= 0 ;
14655 char *kwnames
[] = {
14656 (char *) "self", NULL
14659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
14660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14664 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
14666 wxPyEndAllowThreads(__tstate
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14670 resultobj
= wxPyMake_wxObject(result
);
14678 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14679 PyObject
*resultobj
;
14680 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14681 wxMenu
*arg2
= (wxMenu
*) 0 ;
14682 PyObject
* obj0
= 0 ;
14683 PyObject
* obj1
= 0 ;
14684 char *kwnames
[] = {
14685 (char *) "self",(char *) "menu", NULL
14688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
14689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
14692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14695 (arg1
)->SetWindowMenu(arg2
);
14697 wxPyEndAllowThreads(__tstate
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14700 Py_INCREF(Py_None
); resultobj
= Py_None
;
14707 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14708 PyObject
*resultobj
;
14709 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14710 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
14711 PyObject
* obj0
= 0 ;
14712 PyObject
* obj1
= 0 ;
14713 char *kwnames
[] = {
14714 (char *) "self",(char *) "toolbar", NULL
14717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
14718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
14721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14724 (arg1
)->SetToolBar(arg2
);
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14729 Py_INCREF(Py_None
); resultobj
= Py_None
;
14736 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
;
14738 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14739 PyObject
* obj0
= 0 ;
14740 char *kwnames
[] = {
14741 (char *) "self", NULL
14744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14754 Py_INCREF(Py_None
); resultobj
= Py_None
;
14761 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14764 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14766 return Py_BuildValue((char *)"");
14768 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14772 wxString
*arg3
= 0 ;
14773 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14774 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14775 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14776 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14777 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14778 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14779 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14780 wxMDIChildFrame
*result
;
14781 bool temp3
= False
;
14784 bool temp7
= False
;
14785 PyObject
* obj0
= 0 ;
14786 PyObject
* obj1
= 0 ;
14787 PyObject
* obj2
= 0 ;
14788 PyObject
* obj3
= 0 ;
14789 PyObject
* obj4
= 0 ;
14790 PyObject
* obj5
= 0 ;
14791 PyObject
* obj6
= 0 ;
14792 char *kwnames
[] = {
14793 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14799 arg2
= (int const) SWIG_AsInt(obj1
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 arg3
= wxString_in_helper(obj2
);
14803 if (arg3
== NULL
) SWIG_fail
;
14809 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14815 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14819 arg6
= (long) SWIG_AsLong(obj5
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14824 arg7
= wxString_in_helper(obj6
);
14825 if (arg7
== NULL
) SWIG_fail
;
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14837 resultobj
= wxPyMake_wxObject(result
);
14861 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 wxMDIChildFrame
*result
;
14864 char *kwnames
[] = {
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= wxPyMake_wxObject(result
);
14885 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14886 PyObject
*resultobj
;
14887 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14888 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14890 wxString
*arg4
= 0 ;
14891 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14892 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14893 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14894 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14895 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14896 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14897 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14899 bool temp4
= False
;
14902 bool temp8
= False
;
14903 PyObject
* obj0
= 0 ;
14904 PyObject
* obj1
= 0 ;
14905 PyObject
* obj2
= 0 ;
14906 PyObject
* obj3
= 0 ;
14907 PyObject
* obj4
= 0 ;
14908 PyObject
* obj5
= 0 ;
14909 PyObject
* obj6
= 0 ;
14910 PyObject
* obj7
= 0 ;
14911 char *kwnames
[] = {
14912 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14920 arg3
= (int const) SWIG_AsInt(obj2
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14923 arg4
= wxString_in_helper(obj3
);
14924 if (arg4
== NULL
) SWIG_fail
;
14930 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14936 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14940 arg7
= (long) SWIG_AsLong(obj6
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14945 arg8
= wxString_in_helper(obj7
);
14946 if (arg8
== NULL
) SWIG_fail
;
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14954 wxPyEndAllowThreads(__tstate
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14982 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14983 PyObject
*resultobj
;
14984 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14985 PyObject
* obj0
= 0 ;
14986 char *kwnames
[] = {
14987 (char *) "self", NULL
14990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 (arg1
)->Activate();
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15000 Py_INCREF(Py_None
); resultobj
= Py_None
;
15007 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15008 PyObject
*resultobj
;
15009 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15011 PyObject
* obj0
= 0 ;
15012 PyObject
* obj1
= 0 ;
15013 char *kwnames
[] = {
15014 (char *) "self",(char *) "maximize", NULL
15017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15020 arg2
= (bool) SWIG_AsBool(obj1
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15024 (arg1
)->Maximize(arg2
);
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 Py_INCREF(Py_None
); resultobj
= Py_None
;
15036 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
;
15038 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15039 PyObject
* obj0
= 0 ;
15040 char *kwnames
[] = {
15041 (char *) "self", NULL
15044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15054 Py_INCREF(Py_None
); resultobj
= Py_None
;
15061 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15064 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15066 return Py_BuildValue((char *)"");
15068 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15069 PyObject
*resultobj
;
15070 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15071 long arg2
= (long) 0 ;
15072 wxMDIClientWindow
*result
;
15073 PyObject
* obj0
= 0 ;
15074 PyObject
* obj1
= 0 ;
15075 char *kwnames
[] = {
15076 (char *) "parent",(char *) "style", NULL
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15083 arg2
= (long) SWIG_AsLong(obj1
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15088 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15090 wxPyEndAllowThreads(__tstate
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15094 resultobj
= wxPyMake_wxObject(result
);
15102 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
;
15104 wxMDIClientWindow
*result
;
15105 char *kwnames
[] = {
15109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15118 resultobj
= wxPyMake_wxObject(result
);
15126 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15127 PyObject
*resultobj
;
15128 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15129 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15130 long arg3
= (long) 0 ;
15132 PyObject
* obj0
= 0 ;
15133 PyObject
* obj1
= 0 ;
15134 PyObject
* obj2
= 0 ;
15135 char *kwnames
[] = {
15136 (char *) "self",(char *) "parent",(char *) "style", NULL
15139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15145 arg3
= (long) SWIG_AsLong(obj2
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15164 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15167 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15169 return Py_BuildValue((char *)"");
15171 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
;
15173 wxWindow
*arg1
= (wxWindow
*) 0 ;
15175 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15176 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15177 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15178 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15179 long arg5
= (long) 0 ;
15180 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15181 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15182 wxPyWindow
*result
;
15185 bool temp6
= False
;
15186 PyObject
* obj0
= 0 ;
15187 PyObject
* obj1
= 0 ;
15188 PyObject
* obj2
= 0 ;
15189 PyObject
* obj3
= 0 ;
15190 PyObject
* obj4
= 0 ;
15191 PyObject
* obj5
= 0 ;
15192 char *kwnames
[] = {
15193 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15199 arg2
= (int const) SWIG_AsInt(obj1
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15204 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15210 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15214 arg5
= (long) SWIG_AsLong(obj4
);
15215 if (PyErr_Occurred()) SWIG_fail
;
15219 arg6
= wxString_in_helper(obj5
);
15220 if (arg6
== NULL
) SWIG_fail
;
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15226 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15246 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15247 PyObject
*resultobj
;
15248 wxPyWindow
*result
;
15249 char *kwnames
[] = {
15253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 result
= (wxPyWindow
*)new wxPyWindow();
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15268 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
;
15270 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15271 PyObject
*arg2
= (PyObject
*) 0 ;
15272 PyObject
*arg3
= (PyObject
*) 0 ;
15273 PyObject
* obj0
= 0 ;
15274 PyObject
* obj1
= 0 ;
15275 PyObject
* obj2
= 0 ;
15276 char *kwnames
[] = {
15277 (char *) "self",(char *) "self",(char *) "_class", NULL
15280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 Py_INCREF(Py_None
); resultobj
= Py_None
;
15299 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15306 PyObject
* obj0
= 0 ;
15307 PyObject
* obj1
= 0 ;
15308 PyObject
* obj2
= 0 ;
15309 PyObject
* obj3
= 0 ;
15310 PyObject
* obj4
= 0 ;
15311 char *kwnames
[] = {
15312 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15318 arg2
= (int) SWIG_AsInt(obj1
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15320 arg3
= (int) SWIG_AsInt(obj2
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15322 arg4
= (int) SWIG_AsInt(obj3
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15324 arg5
= (int) SWIG_AsInt(obj4
);
15325 if (PyErr_Occurred()) SWIG_fail
;
15327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15328 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15330 wxPyEndAllowThreads(__tstate
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15333 Py_INCREF(Py_None
); resultobj
= Py_None
;
15340 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15341 PyObject
*resultobj
;
15342 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15347 int arg6
= (int) wxSIZE_AUTO
;
15348 PyObject
* obj0
= 0 ;
15349 PyObject
* obj1
= 0 ;
15350 PyObject
* obj2
= 0 ;
15351 PyObject
* obj3
= 0 ;
15352 PyObject
* obj4
= 0 ;
15353 PyObject
* obj5
= 0 ;
15354 char *kwnames
[] = {
15355 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15361 arg2
= (int) SWIG_AsInt(obj1
);
15362 if (PyErr_Occurred()) SWIG_fail
;
15363 arg3
= (int) SWIG_AsInt(obj2
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15365 arg4
= (int) SWIG_AsInt(obj3
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15367 arg5
= (int) SWIG_AsInt(obj4
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15370 arg6
= (int) SWIG_AsInt(obj5
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15375 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15377 wxPyEndAllowThreads(__tstate
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15380 Py_INCREF(Py_None
); resultobj
= Py_None
;
15387 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15388 PyObject
*resultobj
;
15389 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15392 PyObject
* obj0
= 0 ;
15393 PyObject
* obj1
= 0 ;
15394 PyObject
* obj2
= 0 ;
15395 char *kwnames
[] = {
15396 (char *) "self",(char *) "width",(char *) "height", NULL
15399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15402 arg2
= (int) SWIG_AsInt(obj1
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15404 arg3
= (int) SWIG_AsInt(obj2
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15410 wxPyEndAllowThreads(__tstate
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15413 Py_INCREF(Py_None
); resultobj
= Py_None
;
15420 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
;
15422 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15425 PyObject
* obj0
= 0 ;
15426 PyObject
* obj1
= 0 ;
15427 PyObject
* obj2
= 0 ;
15428 char *kwnames
[] = {
15429 (char *) "self",(char *) "x",(char *) "y", NULL
15432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15435 arg2
= (int) SWIG_AsInt(obj1
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15437 arg3
= (int) SWIG_AsInt(obj2
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15441 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15443 wxPyEndAllowThreads(__tstate
);
15444 if (PyErr_Occurred()) SWIG_fail
;
15446 Py_INCREF(Py_None
); resultobj
= Py_None
;
15453 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15454 PyObject
*resultobj
;
15455 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15456 int *arg2
= (int *) 0 ;
15457 int *arg3
= (int *) 0 ;
15460 PyObject
* obj0
= 0 ;
15461 char *kwnames
[] = {
15462 (char *) "self", NULL
15467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15472 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15474 wxPyEndAllowThreads(__tstate
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15477 Py_INCREF(Py_None
); resultobj
= Py_None
;
15479 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15480 resultobj
= t_output_helper(resultobj
,o
);
15483 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15484 resultobj
= t_output_helper(resultobj
,o
);
15492 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
;
15494 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15495 int *arg2
= (int *) 0 ;
15496 int *arg3
= (int *) 0 ;
15499 PyObject
* obj0
= 0 ;
15500 char *kwnames
[] = {
15501 (char *) "self", NULL
15506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15511 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15513 wxPyEndAllowThreads(__tstate
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15516 Py_INCREF(Py_None
); resultobj
= Py_None
;
15518 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15519 resultobj
= t_output_helper(resultobj
,o
);
15522 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15523 resultobj
= t_output_helper(resultobj
,o
);
15531 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15534 int *arg2
= (int *) 0 ;
15535 int *arg3
= (int *) 0 ;
15538 PyObject
* obj0
= 0 ;
15539 char *kwnames
[] = {
15540 (char *) "self", NULL
15545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15555 Py_INCREF(Py_None
); resultobj
= Py_None
;
15557 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15558 resultobj
= t_output_helper(resultobj
,o
);
15561 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15562 resultobj
= t_output_helper(resultobj
,o
);
15570 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
;
15572 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15574 PyObject
* obj0
= 0 ;
15575 char *kwnames
[] = {
15576 (char *) "self", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15590 wxSize
* resultptr
;
15591 resultptr
= new wxSize((wxSize
&) result
);
15592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15600 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15604 PyObject
* obj0
= 0 ;
15605 char *kwnames
[] = {
15606 (char *) "self", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15620 wxSize
* resultptr
;
15621 resultptr
= new wxSize((wxSize
&) result
);
15622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15630 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15631 PyObject
*resultobj
;
15632 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15633 PyObject
* obj0
= 0 ;
15634 char *kwnames
[] = {
15635 (char *) "self", NULL
15638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15643 (arg1
)->base_InitDialog();
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15648 Py_INCREF(Py_None
); resultobj
= Py_None
;
15655 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15656 PyObject
*resultobj
;
15657 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15659 PyObject
* obj0
= 0 ;
15660 char *kwnames
[] = {
15661 (char *) "self", NULL
15664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 result
= (bool)(arg1
)->base_TransferDataToWindow();
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15683 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15684 PyObject
*resultobj
;
15685 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15687 PyObject
* obj0
= 0 ;
15688 char *kwnames
[] = {
15689 (char *) "self", NULL
15692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15699 wxPyEndAllowThreads(__tstate
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15711 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15712 PyObject
*resultobj
;
15713 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15715 PyObject
* obj0
= 0 ;
15716 char *kwnames
[] = {
15717 (char *) "self", NULL
15720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15725 result
= (bool)(arg1
)->base_Validate();
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15739 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15740 PyObject
*resultobj
;
15741 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15743 PyObject
* obj0
= 0 ;
15744 char *kwnames
[] = {
15745 (char *) "self", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15753 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15755 wxPyEndAllowThreads(__tstate
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15767 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
;
15769 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15771 PyObject
* obj0
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15795 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15796 PyObject
*resultobj
;
15797 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15799 PyObject
* obj0
= 0 ;
15800 char *kwnames
[] = {
15801 (char *) "self", NULL
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15815 wxSize
* resultptr
;
15816 resultptr
= new wxSize((wxSize
&) result
);
15817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15825 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15826 PyObject
*resultobj
;
15827 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15828 wxWindow
*arg2
= (wxWindow
*) 0 ;
15829 PyObject
* obj0
= 0 ;
15830 PyObject
* obj1
= 0 ;
15831 char *kwnames
[] = {
15832 (char *) "self",(char *) "child", NULL
15835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15842 (arg1
)->base_AddChild(arg2
);
15844 wxPyEndAllowThreads(__tstate
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15847 Py_INCREF(Py_None
); resultobj
= Py_None
;
15854 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15855 PyObject
*resultobj
;
15856 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15857 wxWindow
*arg2
= (wxWindow
*) 0 ;
15858 PyObject
* obj0
= 0 ;
15859 PyObject
* obj1
= 0 ;
15860 char *kwnames
[] = {
15861 (char *) "self",(char *) "child", NULL
15864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15871 (arg1
)->base_RemoveChild(arg2
);
15873 wxPyEndAllowThreads(__tstate
);
15874 if (PyErr_Occurred()) SWIG_fail
;
15876 Py_INCREF(Py_None
); resultobj
= Py_None
;
15883 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15884 PyObject
*resultobj
;
15885 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15887 PyObject
* obj0
= 0 ;
15888 char *kwnames
[] = {
15889 (char *) "self", NULL
15892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
15893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 result
= (bool)(arg1
)->base_ShouldInheritColours();
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15911 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
;
15913 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15914 wxColour
*arg2
= 0 ;
15916 PyObject
* obj0
= 0 ;
15917 PyObject
* obj1
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self",(char *) "c", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15927 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15931 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
15933 wxPyEndAllowThreads(__tstate
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15936 Py_INCREF(Py_None
); resultobj
= Py_None
;
15943 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15946 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15948 return Py_BuildValue((char *)"");
15950 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15951 PyObject
*resultobj
;
15952 wxWindow
*arg1
= (wxWindow
*) 0 ;
15954 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15955 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15956 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15957 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15958 long arg5
= (long) 0 ;
15959 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15960 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15964 bool temp6
= False
;
15965 PyObject
* obj0
= 0 ;
15966 PyObject
* obj1
= 0 ;
15967 PyObject
* obj2
= 0 ;
15968 PyObject
* obj3
= 0 ;
15969 PyObject
* obj4
= 0 ;
15970 PyObject
* obj5
= 0 ;
15971 char *kwnames
[] = {
15972 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15978 arg2
= (int const) SWIG_AsInt(obj1
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15983 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15989 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15993 arg5
= (long) SWIG_AsLong(obj4
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15998 arg6
= wxString_in_helper(obj5
);
15999 if (arg6
== NULL
) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16005 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16025 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
;
16028 char *kwnames
[] = {
16032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16035 result
= (wxPyPanel
*)new wxPyPanel();
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16047 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16048 PyObject
*resultobj
;
16049 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16050 PyObject
*arg2
= (PyObject
*) 0 ;
16051 PyObject
*arg3
= (PyObject
*) 0 ;
16052 PyObject
* obj0
= 0 ;
16053 PyObject
* obj1
= 0 ;
16054 PyObject
* obj2
= 0 ;
16055 char *kwnames
[] = {
16056 (char *) "self",(char *) "self",(char *) "_class", NULL
16059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16071 Py_INCREF(Py_None
); resultobj
= Py_None
;
16078 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16079 PyObject
*resultobj
;
16080 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16085 PyObject
* obj0
= 0 ;
16086 PyObject
* obj1
= 0 ;
16087 PyObject
* obj2
= 0 ;
16088 PyObject
* obj3
= 0 ;
16089 PyObject
* obj4
= 0 ;
16090 char *kwnames
[] = {
16091 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16097 arg2
= (int) SWIG_AsInt(obj1
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16099 arg3
= (int) SWIG_AsInt(obj2
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16101 arg4
= (int) SWIG_AsInt(obj3
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16103 arg5
= (int) SWIG_AsInt(obj4
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16112 Py_INCREF(Py_None
); resultobj
= Py_None
;
16119 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16120 PyObject
*resultobj
;
16121 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16126 int arg6
= (int) wxSIZE_AUTO
;
16127 PyObject
* obj0
= 0 ;
16128 PyObject
* obj1
= 0 ;
16129 PyObject
* obj2
= 0 ;
16130 PyObject
* obj3
= 0 ;
16131 PyObject
* obj4
= 0 ;
16132 PyObject
* obj5
= 0 ;
16133 char *kwnames
[] = {
16134 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16140 arg2
= (int) SWIG_AsInt(obj1
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16142 arg3
= (int) SWIG_AsInt(obj2
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16144 arg4
= (int) SWIG_AsInt(obj3
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16146 arg5
= (int) SWIG_AsInt(obj4
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16149 arg6
= (int) SWIG_AsInt(obj5
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16156 wxPyEndAllowThreads(__tstate
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16159 Py_INCREF(Py_None
); resultobj
= Py_None
;
16166 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16167 PyObject
*resultobj
;
16168 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16171 PyObject
* obj0
= 0 ;
16172 PyObject
* obj1
= 0 ;
16173 PyObject
* obj2
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self",(char *) "width",(char *) "height", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16181 arg2
= (int) SWIG_AsInt(obj1
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16183 arg3
= (int) SWIG_AsInt(obj2
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16192 Py_INCREF(Py_None
); resultobj
= Py_None
;
16199 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
;
16201 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16204 PyObject
* obj0
= 0 ;
16205 PyObject
* obj1
= 0 ;
16206 PyObject
* obj2
= 0 ;
16207 char *kwnames
[] = {
16208 (char *) "self",(char *) "x",(char *) "y", NULL
16211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16214 arg2
= (int) SWIG_AsInt(obj1
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16216 arg3
= (int) SWIG_AsInt(obj2
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16220 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16225 Py_INCREF(Py_None
); resultobj
= Py_None
;
16232 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16233 PyObject
*resultobj
;
16234 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16235 int *arg2
= (int *) 0 ;
16236 int *arg3
= (int *) 0 ;
16239 PyObject
* obj0
= 0 ;
16240 char *kwnames
[] = {
16241 (char *) "self", NULL
16246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16256 Py_INCREF(Py_None
); resultobj
= Py_None
;
16258 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16259 resultobj
= t_output_helper(resultobj
,o
);
16262 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16263 resultobj
= t_output_helper(resultobj
,o
);
16271 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
;
16273 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16274 int *arg2
= (int *) 0 ;
16275 int *arg3
= (int *) 0 ;
16278 PyObject
* obj0
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self", NULL
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16295 Py_INCREF(Py_None
); resultobj
= Py_None
;
16297 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16298 resultobj
= t_output_helper(resultobj
,o
);
16301 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16302 resultobj
= t_output_helper(resultobj
,o
);
16310 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16313 int *arg2
= (int *) 0 ;
16314 int *arg3
= (int *) 0 ;
16317 PyObject
* obj0
= 0 ;
16318 char *kwnames
[] = {
16319 (char *) "self", NULL
16324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16331 wxPyEndAllowThreads(__tstate
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16334 Py_INCREF(Py_None
); resultobj
= Py_None
;
16336 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16337 resultobj
= t_output_helper(resultobj
,o
);
16340 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16341 resultobj
= t_output_helper(resultobj
,o
);
16349 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
;
16351 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16353 PyObject
* obj0
= 0 ;
16354 char *kwnames
[] = {
16355 (char *) "self", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16369 wxSize
* resultptr
;
16370 resultptr
= new wxSize((wxSize
&) result
);
16371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16379 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
;
16381 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16399 wxSize
* resultptr
;
16400 resultptr
= new wxSize((wxSize
&) result
);
16401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16409 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
;
16411 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16412 PyObject
* obj0
= 0 ;
16413 char *kwnames
[] = {
16414 (char *) "self", NULL
16417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16422 (arg1
)->base_InitDialog();
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16427 Py_INCREF(Py_None
); resultobj
= Py_None
;
16434 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
;
16436 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16438 PyObject
* obj0
= 0 ;
16439 char *kwnames
[] = {
16440 (char *) "self", NULL
16443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16448 result
= (bool)(arg1
)->base_TransferDataToWindow();
16450 wxPyEndAllowThreads(__tstate
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16462 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16463 PyObject
*resultobj
;
16464 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16466 PyObject
* obj0
= 0 ;
16467 char *kwnames
[] = {
16468 (char *) "self", NULL
16471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16476 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16478 wxPyEndAllowThreads(__tstate
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16490 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
;
16492 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16494 PyObject
* obj0
= 0 ;
16495 char *kwnames
[] = {
16496 (char *) "self", NULL
16499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 result
= (bool)(arg1
)->base_Validate();
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16518 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16519 PyObject
*resultobj
;
16520 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16522 PyObject
* obj0
= 0 ;
16523 char *kwnames
[] = {
16524 (char *) "self", NULL
16527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16532 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16534 wxPyEndAllowThreads(__tstate
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16546 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
;
16548 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16550 PyObject
* obj0
= 0 ;
16551 char *kwnames
[] = {
16552 (char *) "self", NULL
16555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16574 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
;
16576 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16578 PyObject
* obj0
= 0 ;
16579 char *kwnames
[] = {
16580 (char *) "self", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16594 wxSize
* resultptr
;
16595 resultptr
= new wxSize((wxSize
&) result
);
16596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16604 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16607 wxWindow
*arg2
= (wxWindow
*) 0 ;
16608 PyObject
* obj0
= 0 ;
16609 PyObject
* obj1
= 0 ;
16610 char *kwnames
[] = {
16611 (char *) "self",(char *) "child", NULL
16614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16621 (arg1
)->base_AddChild(arg2
);
16623 wxPyEndAllowThreads(__tstate
);
16624 if (PyErr_Occurred()) SWIG_fail
;
16626 Py_INCREF(Py_None
); resultobj
= Py_None
;
16633 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16634 PyObject
*resultobj
;
16635 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16636 wxWindow
*arg2
= (wxWindow
*) 0 ;
16637 PyObject
* obj0
= 0 ;
16638 PyObject
* obj1
= 0 ;
16639 char *kwnames
[] = {
16640 (char *) "self",(char *) "child", NULL
16643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 (arg1
)->base_RemoveChild(arg2
);
16652 wxPyEndAllowThreads(__tstate
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16655 Py_INCREF(Py_None
); resultobj
= Py_None
;
16662 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
;
16664 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16666 PyObject
* obj0
= 0 ;
16667 char *kwnames
[] = {
16668 (char *) "self", NULL
16671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 result
= (bool)(arg1
)->base_ShouldInheritColours();
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16690 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16691 PyObject
*resultobj
;
16692 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16693 wxColour
*arg2
= 0 ;
16695 PyObject
* obj0
= 0 ;
16696 PyObject
* obj1
= 0 ;
16697 char *kwnames
[] = {
16698 (char *) "self",(char *) "c", NULL
16701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16706 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16715 Py_INCREF(Py_None
); resultobj
= Py_None
;
16722 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16725 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16727 return Py_BuildValue((char *)"");
16729 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16730 PyObject
*resultobj
;
16731 wxWindow
*arg1
= (wxWindow
*) 0 ;
16733 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16734 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16735 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16736 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16737 long arg5
= (long) 0 ;
16738 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16739 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16740 wxPyScrolledWindow
*result
;
16743 bool temp6
= False
;
16744 PyObject
* obj0
= 0 ;
16745 PyObject
* obj1
= 0 ;
16746 PyObject
* obj2
= 0 ;
16747 PyObject
* obj3
= 0 ;
16748 PyObject
* obj4
= 0 ;
16749 PyObject
* obj5
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16757 arg2
= (int const) SWIG_AsInt(obj1
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16762 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16768 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16772 arg5
= (long) SWIG_AsLong(obj4
);
16773 if (PyErr_Occurred()) SWIG_fail
;
16777 arg6
= wxString_in_helper(obj5
);
16778 if (arg6
== NULL
) SWIG_fail
;
16783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16784 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16786 wxPyEndAllowThreads(__tstate
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16804 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16805 PyObject
*resultobj
;
16806 wxPyScrolledWindow
*result
;
16807 char *kwnames
[] = {
16811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16826 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16827 PyObject
*resultobj
;
16828 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16829 PyObject
*arg2
= (PyObject
*) 0 ;
16830 PyObject
*arg3
= (PyObject
*) 0 ;
16831 PyObject
* obj0
= 0 ;
16832 PyObject
* obj1
= 0 ;
16833 PyObject
* obj2
= 0 ;
16834 char *kwnames
[] = {
16835 (char *) "self",(char *) "self",(char *) "_class", NULL
16838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16847 wxPyEndAllowThreads(__tstate
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16850 Py_INCREF(Py_None
); resultobj
= Py_None
;
16857 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16858 PyObject
*resultobj
;
16859 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16864 PyObject
* obj0
= 0 ;
16865 PyObject
* obj1
= 0 ;
16866 PyObject
* obj2
= 0 ;
16867 PyObject
* obj3
= 0 ;
16868 PyObject
* obj4
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16876 arg2
= (int) SWIG_AsInt(obj1
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16878 arg3
= (int) SWIG_AsInt(obj2
);
16879 if (PyErr_Occurred()) SWIG_fail
;
16880 arg4
= (int) SWIG_AsInt(obj3
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16882 arg5
= (int) SWIG_AsInt(obj4
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16891 Py_INCREF(Py_None
); resultobj
= Py_None
;
16898 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16899 PyObject
*resultobj
;
16900 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16905 int arg6
= (int) wxSIZE_AUTO
;
16906 PyObject
* obj0
= 0 ;
16907 PyObject
* obj1
= 0 ;
16908 PyObject
* obj2
= 0 ;
16909 PyObject
* obj3
= 0 ;
16910 PyObject
* obj4
= 0 ;
16911 PyObject
* obj5
= 0 ;
16912 char *kwnames
[] = {
16913 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16919 arg2
= (int) SWIG_AsInt(obj1
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16921 arg3
= (int) SWIG_AsInt(obj2
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16923 arg4
= (int) SWIG_AsInt(obj3
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16925 arg5
= (int) SWIG_AsInt(obj4
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16928 arg6
= (int) SWIG_AsInt(obj5
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16933 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16935 wxPyEndAllowThreads(__tstate
);
16936 if (PyErr_Occurred()) SWIG_fail
;
16938 Py_INCREF(Py_None
); resultobj
= Py_None
;
16945 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16946 PyObject
*resultobj
;
16947 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16950 PyObject
* obj0
= 0 ;
16951 PyObject
* obj1
= 0 ;
16952 PyObject
* obj2
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "self",(char *) "width",(char *) "height", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16960 arg2
= (int) SWIG_AsInt(obj1
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16962 arg3
= (int) SWIG_AsInt(obj2
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16971 Py_INCREF(Py_None
); resultobj
= Py_None
;
16978 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16979 PyObject
*resultobj
;
16980 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16983 PyObject
* obj0
= 0 ;
16984 PyObject
* obj1
= 0 ;
16985 PyObject
* obj2
= 0 ;
16986 char *kwnames
[] = {
16987 (char *) "self",(char *) "x",(char *) "y", NULL
16990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16993 arg2
= (int) SWIG_AsInt(obj1
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16995 arg3
= (int) SWIG_AsInt(obj2
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17004 Py_INCREF(Py_None
); resultobj
= Py_None
;
17011 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
;
17013 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17014 int *arg2
= (int *) 0 ;
17015 int *arg3
= (int *) 0 ;
17018 PyObject
* obj0
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self", NULL
17025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17035 Py_INCREF(Py_None
); resultobj
= Py_None
;
17037 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17038 resultobj
= t_output_helper(resultobj
,o
);
17041 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17042 resultobj
= t_output_helper(resultobj
,o
);
17050 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
;
17052 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17053 int *arg2
= (int *) 0 ;
17054 int *arg3
= (int *) 0 ;
17057 PyObject
* obj0
= 0 ;
17058 char *kwnames
[] = {
17059 (char *) "self", NULL
17064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17069 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17071 wxPyEndAllowThreads(__tstate
);
17072 if (PyErr_Occurred()) SWIG_fail
;
17074 Py_INCREF(Py_None
); resultobj
= Py_None
;
17076 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17077 resultobj
= t_output_helper(resultobj
,o
);
17080 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17081 resultobj
= t_output_helper(resultobj
,o
);
17089 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17090 PyObject
*resultobj
;
17091 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17092 int *arg2
= (int *) 0 ;
17093 int *arg3
= (int *) 0 ;
17096 PyObject
* obj0
= 0 ;
17097 char *kwnames
[] = {
17098 (char *) "self", NULL
17103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17110 wxPyEndAllowThreads(__tstate
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17113 Py_INCREF(Py_None
); resultobj
= Py_None
;
17115 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17116 resultobj
= t_output_helper(resultobj
,o
);
17119 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17120 resultobj
= t_output_helper(resultobj
,o
);
17128 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17129 PyObject
*resultobj
;
17130 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17132 PyObject
* obj0
= 0 ;
17133 char *kwnames
[] = {
17134 (char *) "self", NULL
17137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17142 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17148 wxSize
* resultptr
;
17149 resultptr
= new wxSize((wxSize
&) result
);
17150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17158 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17159 PyObject
*resultobj
;
17160 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17162 PyObject
* obj0
= 0 ;
17163 char *kwnames
[] = {
17164 (char *) "self", NULL
17167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17172 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17178 wxSize
* resultptr
;
17179 resultptr
= new wxSize((wxSize
&) result
);
17180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17188 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
;
17190 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17191 PyObject
* obj0
= 0 ;
17192 char *kwnames
[] = {
17193 (char *) "self", NULL
17196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17201 (arg1
)->base_InitDialog();
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17206 Py_INCREF(Py_None
); resultobj
= Py_None
;
17213 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17215 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17217 PyObject
* obj0
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "self", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17227 result
= (bool)(arg1
)->base_TransferDataToWindow();
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17241 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17242 PyObject
*resultobj
;
17243 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17245 PyObject
* obj0
= 0 ;
17246 char *kwnames
[] = {
17247 (char *) "self", NULL
17250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17269 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17270 PyObject
*resultobj
;
17271 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17273 PyObject
* obj0
= 0 ;
17274 char *kwnames
[] = {
17275 (char *) "self", NULL
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17283 result
= (bool)(arg1
)->base_Validate();
17285 wxPyEndAllowThreads(__tstate
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17297 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
;
17299 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17301 PyObject
* obj0
= 0 ;
17302 char *kwnames
[] = {
17303 (char *) "self", NULL
17306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17311 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17313 wxPyEndAllowThreads(__tstate
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17325 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17326 PyObject
*resultobj
;
17327 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17329 PyObject
* obj0
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17353 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
;
17355 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17357 PyObject
* obj0
= 0 ;
17358 char *kwnames
[] = {
17359 (char *) "self", NULL
17362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17367 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17373 wxSize
* resultptr
;
17374 resultptr
= new wxSize((wxSize
&) result
);
17375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17383 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17384 PyObject
*resultobj
;
17385 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17386 wxWindow
*arg2
= (wxWindow
*) 0 ;
17387 PyObject
* obj0
= 0 ;
17388 PyObject
* obj1
= 0 ;
17389 char *kwnames
[] = {
17390 (char *) "self",(char *) "child", NULL
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 (arg1
)->base_AddChild(arg2
);
17402 wxPyEndAllowThreads(__tstate
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17405 Py_INCREF(Py_None
); resultobj
= Py_None
;
17412 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
;
17414 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17415 wxWindow
*arg2
= (wxWindow
*) 0 ;
17416 PyObject
* obj0
= 0 ;
17417 PyObject
* obj1
= 0 ;
17418 char *kwnames
[] = {
17419 (char *) "self",(char *) "child", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17429 (arg1
)->base_RemoveChild(arg2
);
17431 wxPyEndAllowThreads(__tstate
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17434 Py_INCREF(Py_None
); resultobj
= Py_None
;
17441 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17442 PyObject
*resultobj
;
17443 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17445 PyObject
* obj0
= 0 ;
17446 char *kwnames
[] = {
17447 (char *) "self", NULL
17450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17455 result
= (bool)(arg1
)->base_ShouldInheritColours();
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17469 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17470 PyObject
*resultobj
;
17471 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17472 wxColour
*arg2
= 0 ;
17474 PyObject
* obj0
= 0 ;
17475 PyObject
* obj1
= 0 ;
17476 char *kwnames
[] = {
17477 (char *) "self",(char *) "c", NULL
17480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17485 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17489 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17491 wxPyEndAllowThreads(__tstate
);
17492 if (PyErr_Occurred()) SWIG_fail
;
17494 Py_INCREF(Py_None
); resultobj
= Py_None
;
17501 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17504 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17506 return Py_BuildValue((char *)"");
17508 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17509 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17514 static PyObject
*_wrap_PrintoutTitleStr_get() {
17519 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17521 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17528 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17529 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17534 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17539 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17541 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17548 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17549 PyObject
*resultobj
;
17550 wxPrintData
*result
;
17551 char *kwnames
[] = {
17555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
17557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17558 result
= (wxPrintData
*)new wxPrintData();
17560 wxPyEndAllowThreads(__tstate
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17570 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
;
17572 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17573 PyObject
* obj0
= 0 ;
17574 char *kwnames
[] = {
17575 (char *) "self", NULL
17578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17588 Py_INCREF(Py_None
); resultobj
= Py_None
;
17595 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17596 PyObject
*resultobj
;
17597 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17599 PyObject
* obj0
= 0 ;
17600 char *kwnames
[] = {
17601 (char *) "self", NULL
17604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 result
= (int)(arg1
)->GetNoCopies();
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17614 resultobj
= SWIG_FromInt((int)result
);
17621 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
;
17623 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17625 PyObject
* obj0
= 0 ;
17626 char *kwnames
[] = {
17627 (char *) "self", NULL
17630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 result
= (bool)(arg1
)->GetCollate();
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17649 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
;
17651 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17653 PyObject
* obj0
= 0 ;
17654 char *kwnames
[] = {
17655 (char *) "self", NULL
17658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17663 result
= (int)(arg1
)->GetOrientation();
17665 wxPyEndAllowThreads(__tstate
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17668 resultobj
= SWIG_FromInt((int)result
);
17675 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
;
17677 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17679 PyObject
* obj0
= 0 ;
17680 char *kwnames
[] = {
17681 (char *) "self", NULL
17684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= (bool)(arg1
)->Ok();
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17703 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17707 PyObject
* obj0
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
17713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
17719 result
= (wxString
*) &_result_ref
;
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17727 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17729 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17738 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17739 PyObject
*resultobj
;
17740 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17742 PyObject
* obj0
= 0 ;
17743 char *kwnames
[] = {
17744 (char *) "self", NULL
17747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
17748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 result
= (bool)(arg1
)->GetColour();
17754 wxPyEndAllowThreads(__tstate
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17766 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17767 PyObject
*resultobj
;
17768 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17770 PyObject
* obj0
= 0 ;
17771 char *kwnames
[] = {
17772 (char *) "self", NULL
17775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
17776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 result
= (int)(arg1
)->GetDuplex();
17782 wxPyEndAllowThreads(__tstate
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17785 resultobj
= SWIG_FromInt((int)result
);
17792 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
;
17794 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17796 PyObject
* obj0
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "self", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
17802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 result
= (int)(arg1
)->GetPaperId();
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 resultobj
= SWIG_FromInt((int)result
);
17818 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17822 PyObject
* obj0
= 0 ;
17823 char *kwnames
[] = {
17824 (char *) "self", NULL
17827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
17828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
17834 result
= (wxSize
*) &_result_ref
;
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
17847 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
;
17849 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17851 PyObject
* obj0
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "self", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
17857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17861 result
= (int)(arg1
)->GetQuality();
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17866 resultobj
= SWIG_FromInt((int)result
);
17873 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17874 PyObject
*resultobj
;
17875 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17877 PyObject
* obj0
= 0 ;
17878 PyObject
* obj1
= 0 ;
17879 char *kwnames
[] = {
17880 (char *) "self",(char *) "v", NULL
17883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
17884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17886 arg2
= (int) SWIG_AsInt(obj1
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 (arg1
)->SetNoCopies(arg2
);
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 Py_INCREF(Py_None
); resultobj
= Py_None
;
17902 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17903 PyObject
*resultobj
;
17904 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17906 PyObject
* obj0
= 0 ;
17907 PyObject
* obj1
= 0 ;
17908 char *kwnames
[] = {
17909 (char *) "self",(char *) "flag", NULL
17912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17915 arg2
= (bool) SWIG_AsBool(obj1
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 (arg1
)->SetCollate(arg2
);
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17924 Py_INCREF(Py_None
); resultobj
= Py_None
;
17931 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17935 PyObject
* obj0
= 0 ;
17936 PyObject
* obj1
= 0 ;
17937 char *kwnames
[] = {
17938 (char *) "self",(char *) "orient", NULL
17941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17944 arg2
= (int) SWIG_AsInt(obj1
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17948 (arg1
)->SetOrientation(arg2
);
17950 wxPyEndAllowThreads(__tstate
);
17951 if (PyErr_Occurred()) SWIG_fail
;
17953 Py_INCREF(Py_None
); resultobj
= Py_None
;
17960 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17961 PyObject
*resultobj
;
17962 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17963 wxString
*arg2
= 0 ;
17964 bool temp2
= False
;
17965 PyObject
* obj0
= 0 ;
17966 PyObject
* obj1
= 0 ;
17967 char *kwnames
[] = {
17968 (char *) "self",(char *) "name", NULL
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
17972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17975 arg2
= wxString_in_helper(obj1
);
17976 if (arg2
== NULL
) SWIG_fail
;
17980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17981 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17986 Py_INCREF(Py_None
); resultobj
= Py_None
;
18001 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18002 PyObject
*resultobj
;
18003 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18005 PyObject
* obj0
= 0 ;
18006 PyObject
* obj1
= 0 ;
18007 char *kwnames
[] = {
18008 (char *) "self",(char *) "colour", NULL
18011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18014 arg2
= (bool) SWIG_AsBool(obj1
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 (arg1
)->SetColour(arg2
);
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 Py_INCREF(Py_None
); resultobj
= Py_None
;
18030 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18034 PyObject
* obj0
= 0 ;
18035 PyObject
* obj1
= 0 ;
18036 char *kwnames
[] = {
18037 (char *) "self",(char *) "duplex", NULL
18040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18043 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18049 wxPyEndAllowThreads(__tstate
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18052 Py_INCREF(Py_None
); resultobj
= Py_None
;
18059 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18060 PyObject
*resultobj
;
18061 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18063 PyObject
* obj0
= 0 ;
18064 PyObject
* obj1
= 0 ;
18065 char *kwnames
[] = {
18066 (char *) "self",(char *) "sizeId", NULL
18069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18072 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18081 Py_INCREF(Py_None
); resultobj
= Py_None
;
18088 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
;
18090 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18093 PyObject
* obj0
= 0 ;
18094 PyObject
* obj1
= 0 ;
18095 char *kwnames
[] = {
18096 (char *) "self",(char *) "sz", NULL
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18104 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18108 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18113 Py_INCREF(Py_None
); resultobj
= Py_None
;
18120 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18121 PyObject
*resultobj
;
18122 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18124 PyObject
* obj0
= 0 ;
18125 PyObject
* obj1
= 0 ;
18126 char *kwnames
[] = {
18127 (char *) "self",(char *) "quality", NULL
18130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18133 arg2
= (int) SWIG_AsInt(obj1
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18137 (arg1
)->SetQuality(arg2
);
18139 wxPyEndAllowThreads(__tstate
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18142 Py_INCREF(Py_None
); resultobj
= Py_None
;
18149 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18150 PyObject
*resultobj
;
18151 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18153 PyObject
* obj0
= 0 ;
18154 char *kwnames
[] = {
18155 (char *) "self", NULL
18158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18165 result
= (wxString
*) &_result_ref
;
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18173 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18175 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18184 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18185 PyObject
*resultobj
;
18186 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18188 PyObject
* obj0
= 0 ;
18189 char *kwnames
[] = {
18190 (char *) "self", NULL
18193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18200 result
= (wxString
*) &_result_ref
;
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18208 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18210 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18219 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18220 PyObject
*resultobj
;
18221 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18223 PyObject
* obj0
= 0 ;
18224 char *kwnames
[] = {
18225 (char *) "self", NULL
18228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18235 result
= (wxString
*) &_result_ref
;
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18243 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18245 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18254 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
;
18256 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18258 PyObject
* obj0
= 0 ;
18259 char *kwnames
[] = {
18260 (char *) "self", NULL
18263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 wxString
const &_result_ref
= (arg1
)->GetFilename();
18270 result
= (wxString
*) &_result_ref
;
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18278 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18280 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18289 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
;
18291 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18293 PyObject
* obj0
= 0 ;
18294 char *kwnames
[] = {
18295 (char *) "self", NULL
18298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18304 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18305 result
= (wxString
*) &_result_ref
;
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18313 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18315 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18324 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18326 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18328 PyObject
* obj0
= 0 ;
18329 char *kwnames
[] = {
18330 (char *) "self", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 result
= (double)(arg1
)->GetPrinterScaleX();
18340 wxPyEndAllowThreads(__tstate
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18343 resultobj
= SWIG_FromDouble((double)result
);
18350 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18351 PyObject
*resultobj
;
18352 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18354 PyObject
* obj0
= 0 ;
18355 char *kwnames
[] = {
18356 (char *) "self", NULL
18359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18364 result
= (double)(arg1
)->GetPrinterScaleY();
18366 wxPyEndAllowThreads(__tstate
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18369 resultobj
= SWIG_FromDouble((double)result
);
18376 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18377 PyObject
*resultobj
;
18378 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18380 PyObject
* obj0
= 0 ;
18381 char *kwnames
[] = {
18382 (char *) "self", NULL
18385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18390 result
= (long)(arg1
)->GetPrinterTranslateX();
18392 wxPyEndAllowThreads(__tstate
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= SWIG_FromLong((long)result
);
18402 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
;
18404 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18406 PyObject
* obj0
= 0 ;
18407 char *kwnames
[] = {
18408 (char *) "self", NULL
18411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 result
= (long)(arg1
)->GetPrinterTranslateY();
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= SWIG_FromLong((long)result
);
18428 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
;
18430 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 result
= (int)(arg1
)->GetPrintMode();
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18447 resultobj
= SWIG_FromInt((int)result
);
18454 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
;
18456 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18457 wxString
*arg2
= 0 ;
18458 bool temp2
= False
;
18459 PyObject
* obj0
= 0 ;
18460 PyObject
* obj1
= 0 ;
18461 char *kwnames
[] = {
18462 (char *) "self",(char *) "command", NULL
18465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18469 arg2
= wxString_in_helper(obj1
);
18470 if (arg2
== NULL
) SWIG_fail
;
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18475 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18480 Py_INCREF(Py_None
); resultobj
= Py_None
;
18495 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18496 PyObject
*resultobj
;
18497 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18498 wxString
*arg2
= 0 ;
18499 bool temp2
= False
;
18500 PyObject
* obj0
= 0 ;
18501 PyObject
* obj1
= 0 ;
18502 char *kwnames
[] = {
18503 (char *) "self",(char *) "options", NULL
18506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18510 arg2
= wxString_in_helper(obj1
);
18511 if (arg2
== NULL
) SWIG_fail
;
18515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18516 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18521 Py_INCREF(Py_None
); resultobj
= Py_None
;
18536 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18539 wxString
*arg2
= 0 ;
18540 bool temp2
= False
;
18541 PyObject
* obj0
= 0 ;
18542 PyObject
* obj1
= 0 ;
18543 char *kwnames
[] = {
18544 (char *) "self",(char *) "command", NULL
18547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18551 arg2
= wxString_in_helper(obj1
);
18552 if (arg2
== NULL
) SWIG_fail
;
18556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18557 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18559 wxPyEndAllowThreads(__tstate
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18562 Py_INCREF(Py_None
); resultobj
= Py_None
;
18577 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
;
18579 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18580 wxString
*arg2
= 0 ;
18581 bool temp2
= False
;
18582 PyObject
* obj0
= 0 ;
18583 PyObject
* obj1
= 0 ;
18584 char *kwnames
[] = {
18585 (char *) "self",(char *) "filename", NULL
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18592 arg2
= wxString_in_helper(obj1
);
18593 if (arg2
== NULL
) SWIG_fail
;
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18598 (arg1
)->SetFilename((wxString
const &)*arg2
);
18600 wxPyEndAllowThreads(__tstate
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18603 Py_INCREF(Py_None
); resultobj
= Py_None
;
18618 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18619 PyObject
*resultobj
;
18620 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18621 wxString
*arg2
= 0 ;
18622 bool temp2
= False
;
18623 PyObject
* obj0
= 0 ;
18624 PyObject
* obj1
= 0 ;
18625 char *kwnames
[] = {
18626 (char *) "self",(char *) "path", NULL
18629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18633 arg2
= wxString_in_helper(obj1
);
18634 if (arg2
== NULL
) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18644 Py_INCREF(Py_None
); resultobj
= Py_None
;
18659 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
;
18661 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18663 PyObject
* obj0
= 0 ;
18664 PyObject
* obj1
= 0 ;
18665 char *kwnames
[] = {
18666 (char *) "self",(char *) "x", NULL
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18672 arg2
= (double) SWIG_AsDouble(obj1
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 (arg1
)->SetPrinterScaleX(arg2
);
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 Py_INCREF(Py_None
); resultobj
= Py_None
;
18688 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18692 PyObject
* obj0
= 0 ;
18693 PyObject
* obj1
= 0 ;
18694 char *kwnames
[] = {
18695 (char *) "self",(char *) "y", NULL
18698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
18699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18701 arg2
= (double) SWIG_AsDouble(obj1
);
18702 if (PyErr_Occurred()) SWIG_fail
;
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 (arg1
)->SetPrinterScaleY(arg2
);
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18710 Py_INCREF(Py_None
); resultobj
= Py_None
;
18717 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18718 PyObject
*resultobj
;
18719 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18722 PyObject
* obj0
= 0 ;
18723 PyObject
* obj1
= 0 ;
18724 PyObject
* obj2
= 0 ;
18725 char *kwnames
[] = {
18726 (char *) "self",(char *) "x",(char *) "y", NULL
18729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18732 arg2
= (double) SWIG_AsDouble(obj1
);
18733 if (PyErr_Occurred()) SWIG_fail
;
18734 arg3
= (double) SWIG_AsDouble(obj2
);
18735 if (PyErr_Occurred()) SWIG_fail
;
18737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18738 (arg1
)->SetPrinterScaling(arg2
,arg3
);
18740 wxPyEndAllowThreads(__tstate
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18743 Py_INCREF(Py_None
); resultobj
= Py_None
;
18750 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
;
18752 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18754 PyObject
* obj0
= 0 ;
18755 PyObject
* obj1
= 0 ;
18756 char *kwnames
[] = {
18757 (char *) "self",(char *) "x", NULL
18760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
18761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18763 arg2
= (long) SWIG_AsLong(obj1
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18767 (arg1
)->SetPrinterTranslateX(arg2
);
18769 wxPyEndAllowThreads(__tstate
);
18770 if (PyErr_Occurred()) SWIG_fail
;
18772 Py_INCREF(Py_None
); resultobj
= Py_None
;
18779 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18780 PyObject
*resultobj
;
18781 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18783 PyObject
* obj0
= 0 ;
18784 PyObject
* obj1
= 0 ;
18785 char *kwnames
[] = {
18786 (char *) "self",(char *) "y", NULL
18789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
18790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18792 arg2
= (long) SWIG_AsLong(obj1
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 (arg1
)->SetPrinterTranslateY(arg2
);
18798 wxPyEndAllowThreads(__tstate
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18801 Py_INCREF(Py_None
); resultobj
= Py_None
;
18808 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18809 PyObject
*resultobj
;
18810 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18813 PyObject
* obj0
= 0 ;
18814 PyObject
* obj1
= 0 ;
18815 PyObject
* obj2
= 0 ;
18816 char *kwnames
[] = {
18817 (char *) "self",(char *) "x",(char *) "y", NULL
18820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18823 arg2
= (long) SWIG_AsLong(obj1
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18825 arg3
= (long) SWIG_AsLong(obj2
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18829 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18834 Py_INCREF(Py_None
); resultobj
= Py_None
;
18841 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18842 PyObject
*resultobj
;
18843 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18845 PyObject
* obj0
= 0 ;
18846 PyObject
* obj1
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "self",(char *) "printMode", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
18852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18854 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18863 Py_INCREF(Py_None
); resultobj
= Py_None
;
18870 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
;
18872 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18873 wxOutputStream
*result
;
18874 PyObject
* obj0
= 0 ;
18875 char *kwnames
[] = {
18876 (char *) "self", NULL
18879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
18880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
18896 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
;
18898 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18899 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
18900 PyObject
* obj0
= 0 ;
18901 PyObject
* obj1
= 0 ;
18902 char *kwnames
[] = {
18903 (char *) "self",(char *) "outputstream", NULL
18906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
18907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
18910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 (arg1
)->SetOutputStream(arg2
);
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18918 Py_INCREF(Py_None
); resultobj
= Py_None
;
18925 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
18927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18928 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
18930 return Py_BuildValue((char *)"");
18932 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
;
18934 wxPageSetupDialogData
*result
;
18935 char *kwnames
[] = {
18939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
18954 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18957 PyObject
* obj0
= 0 ;
18958 char *kwnames
[] = {
18959 (char *) "self", NULL
18962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
18963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18969 wxPyEndAllowThreads(__tstate
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18972 Py_INCREF(Py_None
); resultobj
= Py_None
;
18979 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
;
18981 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18983 PyObject
* obj0
= 0 ;
18984 PyObject
* obj1
= 0 ;
18985 char *kwnames
[] = {
18986 (char *) "self",(char *) "flag", NULL
18989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18992 arg2
= (bool) SWIG_AsBool(obj1
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 (arg1
)->EnableHelp(arg2
);
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 Py_INCREF(Py_None
); resultobj
= Py_None
;
19008 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
;
19010 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19012 PyObject
* obj0
= 0 ;
19013 PyObject
* obj1
= 0 ;
19014 char *kwnames
[] = {
19015 (char *) "self",(char *) "flag", NULL
19018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19021 arg2
= (bool) SWIG_AsBool(obj1
);
19022 if (PyErr_Occurred()) SWIG_fail
;
19024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19025 (arg1
)->EnableMargins(arg2
);
19027 wxPyEndAllowThreads(__tstate
);
19028 if (PyErr_Occurred()) SWIG_fail
;
19030 Py_INCREF(Py_None
); resultobj
= Py_None
;
19037 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19038 PyObject
*resultobj
;
19039 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19041 PyObject
* obj0
= 0 ;
19042 PyObject
* obj1
= 0 ;
19043 char *kwnames
[] = {
19044 (char *) "self",(char *) "flag", NULL
19047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19050 arg2
= (bool) SWIG_AsBool(obj1
);
19051 if (PyErr_Occurred()) SWIG_fail
;
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19054 (arg1
)->EnableOrientation(arg2
);
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19059 Py_INCREF(Py_None
); resultobj
= Py_None
;
19066 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
;
19068 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19070 PyObject
* obj0
= 0 ;
19071 PyObject
* obj1
= 0 ;
19072 char *kwnames
[] = {
19073 (char *) "self",(char *) "flag", NULL
19076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19079 arg2
= (bool) SWIG_AsBool(obj1
);
19080 if (PyErr_Occurred()) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 (arg1
)->EnablePaper(arg2
);
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19088 Py_INCREF(Py_None
); resultobj
= Py_None
;
19095 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
;
19097 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19099 PyObject
* obj0
= 0 ;
19100 PyObject
* obj1
= 0 ;
19101 char *kwnames
[] = {
19102 (char *) "self",(char *) "flag", NULL
19105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19108 arg2
= (bool) SWIG_AsBool(obj1
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19112 (arg1
)->EnablePrinter(arg2
);
19114 wxPyEndAllowThreads(__tstate
);
19115 if (PyErr_Occurred()) SWIG_fail
;
19117 Py_INCREF(Py_None
); resultobj
= Py_None
;
19124 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19125 PyObject
*resultobj
;
19126 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19128 PyObject
* obj0
= 0 ;
19129 char *kwnames
[] = {
19130 (char *) "self", NULL
19133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19138 result
= (bool)(arg1
)->GetDefaultMinMargins();
19140 wxPyEndAllowThreads(__tstate
);
19141 if (PyErr_Occurred()) SWIG_fail
;
19144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19152 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
;
19154 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19156 PyObject
* obj0
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19166 result
= (bool)(arg1
)->GetEnableMargins();
19168 wxPyEndAllowThreads(__tstate
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19180 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
;
19182 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19184 PyObject
* obj0
= 0 ;
19185 char *kwnames
[] = {
19186 (char *) "self", NULL
19189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 result
= (bool)(arg1
)->GetEnableOrientation();
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19208 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
;
19210 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19212 PyObject
* obj0
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "self", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 result
= (bool)(arg1
)->GetEnablePaper();
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19236 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
;
19238 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19240 PyObject
* obj0
= 0 ;
19241 char *kwnames
[] = {
19242 (char *) "self", NULL
19245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19250 result
= (bool)(arg1
)->GetEnablePrinter();
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19264 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
;
19266 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19268 PyObject
* obj0
= 0 ;
19269 char *kwnames
[] = {
19270 (char *) "self", NULL
19273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 result
= (bool)(arg1
)->GetEnableHelp();
19280 wxPyEndAllowThreads(__tstate
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19292 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
;
19294 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19296 PyObject
* obj0
= 0 ;
19297 char *kwnames
[] = {
19298 (char *) "self", NULL
19301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 result
= (bool)(arg1
)->GetDefaultInfo();
19308 wxPyEndAllowThreads(__tstate
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19320 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19321 PyObject
*resultobj
;
19322 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19324 PyObject
* obj0
= 0 ;
19325 char *kwnames
[] = {
19326 (char *) "self", NULL
19329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19334 result
= (arg1
)->GetMarginTopLeft();
19336 wxPyEndAllowThreads(__tstate
);
19337 if (PyErr_Occurred()) SWIG_fail
;
19340 wxPoint
* resultptr
;
19341 resultptr
= new wxPoint((wxPoint
&) result
);
19342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19350 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19351 PyObject
*resultobj
;
19352 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19354 PyObject
* obj0
= 0 ;
19355 char *kwnames
[] = {
19356 (char *) "self", NULL
19359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19364 result
= (arg1
)->GetMarginBottomRight();
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19370 wxPoint
* resultptr
;
19371 resultptr
= new wxPoint((wxPoint
&) result
);
19372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19380 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19381 PyObject
*resultobj
;
19382 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19384 PyObject
* obj0
= 0 ;
19385 char *kwnames
[] = {
19386 (char *) "self", NULL
19389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 result
= (arg1
)->GetMinMarginTopLeft();
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19400 wxPoint
* resultptr
;
19401 resultptr
= new wxPoint((wxPoint
&) result
);
19402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19410 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19411 PyObject
*resultobj
;
19412 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19414 PyObject
* obj0
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "self", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 result
= (arg1
)->GetMinMarginBottomRight();
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19430 wxPoint
* resultptr
;
19431 resultptr
= new wxPoint((wxPoint
&) result
);
19432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19440 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19441 PyObject
*resultobj
;
19442 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19444 PyObject
* obj0
= 0 ;
19445 char *kwnames
[] = {
19446 (char *) "self", NULL
19449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 result
= (int)(arg1
)->GetPaperId();
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 resultobj
= SWIG_FromInt((int)result
);
19466 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19467 PyObject
*resultobj
;
19468 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19470 PyObject
* obj0
= 0 ;
19471 char *kwnames
[] = {
19472 (char *) "self", NULL
19475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19480 result
= (arg1
)->GetPaperSize();
19482 wxPyEndAllowThreads(__tstate
);
19483 if (PyErr_Occurred()) SWIG_fail
;
19486 wxSize
* resultptr
;
19487 resultptr
= new wxSize((wxSize
&) result
);
19488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19496 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19497 PyObject
*resultobj
;
19498 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19499 wxPrintData
*result
;
19500 PyObject
* obj0
= 0 ;
19501 char *kwnames
[] = {
19502 (char *) "self", NULL
19505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19511 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19512 result
= (wxPrintData
*) &_result_ref
;
19515 wxPyEndAllowThreads(__tstate
);
19516 if (PyErr_Occurred()) SWIG_fail
;
19518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19525 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
;
19527 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19529 PyObject
* obj0
= 0 ;
19530 char *kwnames
[] = {
19531 (char *) "self", NULL
19534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19539 result
= (bool)(arg1
)->Ok();
19541 wxPyEndAllowThreads(__tstate
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19553 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19554 PyObject
*resultobj
;
19555 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19557 PyObject
* obj0
= 0 ;
19558 PyObject
* obj1
= 0 ;
19559 char *kwnames
[] = {
19560 (char *) "self",(char *) "flag", NULL
19563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19566 arg2
= (bool) SWIG_AsBool(obj1
);
19567 if (PyErr_Occurred()) SWIG_fail
;
19569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19570 (arg1
)->SetDefaultInfo(arg2
);
19572 wxPyEndAllowThreads(__tstate
);
19573 if (PyErr_Occurred()) SWIG_fail
;
19575 Py_INCREF(Py_None
); resultobj
= Py_None
;
19582 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19583 PyObject
*resultobj
;
19584 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19586 PyObject
* obj0
= 0 ;
19587 PyObject
* obj1
= 0 ;
19588 char *kwnames
[] = {
19589 (char *) "self",(char *) "flag", NULL
19592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19595 arg2
= (bool) SWIG_AsBool(obj1
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 (arg1
)->SetDefaultMinMargins(arg2
);
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 Py_INCREF(Py_None
); resultobj
= Py_None
;
19611 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19612 PyObject
*resultobj
;
19613 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19614 wxPoint
*arg2
= 0 ;
19616 PyObject
* obj0
= 0 ;
19617 PyObject
* obj1
= 0 ;
19618 char *kwnames
[] = {
19619 (char *) "self",(char *) "pt", NULL
19622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19627 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19631 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19633 wxPyEndAllowThreads(__tstate
);
19634 if (PyErr_Occurred()) SWIG_fail
;
19636 Py_INCREF(Py_None
); resultobj
= Py_None
;
19643 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19644 PyObject
*resultobj
;
19645 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19646 wxPoint
*arg2
= 0 ;
19648 PyObject
* obj0
= 0 ;
19649 PyObject
* obj1
= 0 ;
19650 char *kwnames
[] = {
19651 (char *) "self",(char *) "pt", NULL
19654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19659 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
19665 wxPyEndAllowThreads(__tstate
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19668 Py_INCREF(Py_None
); resultobj
= Py_None
;
19675 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
;
19677 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19678 wxPoint
*arg2
= 0 ;
19680 PyObject
* obj0
= 0 ;
19681 PyObject
* obj1
= 0 ;
19682 char *kwnames
[] = {
19683 (char *) "self",(char *) "pt", NULL
19686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19691 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19695 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19700 Py_INCREF(Py_None
); resultobj
= Py_None
;
19707 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
;
19709 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19710 wxPoint
*arg2
= 0 ;
19712 PyObject
* obj0
= 0 ;
19713 PyObject
* obj1
= 0 ;
19714 char *kwnames
[] = {
19715 (char *) "self",(char *) "pt", NULL
19718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19723 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19727 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
19729 wxPyEndAllowThreads(__tstate
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19732 Py_INCREF(Py_None
); resultobj
= Py_None
;
19739 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19740 PyObject
*resultobj
;
19741 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19743 PyObject
* obj0
= 0 ;
19744 PyObject
* obj1
= 0 ;
19745 char *kwnames
[] = {
19746 (char *) "self",(char *) "id", NULL
19749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19752 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19761 Py_INCREF(Py_None
); resultobj
= Py_None
;
19768 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19769 PyObject
*resultobj
;
19770 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19773 PyObject
* obj0
= 0 ;
19774 PyObject
* obj1
= 0 ;
19775 char *kwnames
[] = {
19776 (char *) "self",(char *) "size", NULL
19779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19784 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19793 Py_INCREF(Py_None
); resultobj
= Py_None
;
19800 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19801 PyObject
*resultobj
;
19802 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19803 wxPrintData
*arg2
= 0 ;
19804 PyObject
* obj0
= 0 ;
19805 PyObject
* obj1
= 0 ;
19806 char *kwnames
[] = {
19807 (char *) "self",(char *) "printData", NULL
19810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19816 if (arg2
== NULL
) {
19817 PyErr_SetString(PyExc_TypeError
,"null reference");
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19827 Py_INCREF(Py_None
); resultobj
= Py_None
;
19834 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19837 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
19839 return Py_BuildValue((char *)"");
19841 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19842 PyObject
*resultobj
;
19843 wxWindow
*arg1
= (wxWindow
*) 0 ;
19844 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
19845 wxPageSetupDialog
*result
;
19846 PyObject
* obj0
= 0 ;
19847 PyObject
* obj1
= 0 ;
19848 char *kwnames
[] = {
19849 (char *) "parent",(char *) "data", NULL
19852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
19857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19861 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
19863 wxPyEndAllowThreads(__tstate
);
19864 if (PyErr_Occurred()) SWIG_fail
;
19866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
19873 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19874 PyObject
*resultobj
;
19875 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19876 wxPageSetupDialogData
*result
;
19877 PyObject
* obj0
= 0 ;
19878 char *kwnames
[] = {
19879 (char *) "self", NULL
19882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
19883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
19889 result
= (wxPageSetupDialogData
*) &_result_ref
;
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
19902 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19906 PyObject
* obj0
= 0 ;
19907 char *kwnames
[] = {
19908 (char *) "self", NULL
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 result
= (int)(arg1
)->ShowModal();
19918 wxPyEndAllowThreads(__tstate
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19921 resultobj
= SWIG_FromInt((int)result
);
19928 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19931 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
19933 return Py_BuildValue((char *)"");
19935 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19936 PyObject
*resultobj
;
19937 wxPrintDialogData
*result
;
19939 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
19941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19942 result
= (wxPrintDialogData
*)new wxPrintDialogData();
19944 wxPyEndAllowThreads(__tstate
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19954 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19955 PyObject
*resultobj
;
19956 wxPrintData
*arg1
= 0 ;
19957 wxPrintDialogData
*result
;
19958 PyObject
* obj0
= 0 ;
19960 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
19961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19962 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19964 if (arg1
== NULL
) {
19965 PyErr_SetString(PyExc_TypeError
,"null reference");
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19982 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
19987 argc
= PyObject_Length(args
);
19988 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19989 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19992 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
19998 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20006 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20010 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20015 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20016 PyObject
*resultobj
;
20017 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20018 PyObject
* obj0
= 0 ;
20019 char *kwnames
[] = {
20020 (char *) "self", NULL
20023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20030 wxPyEndAllowThreads(__tstate
);
20031 if (PyErr_Occurred()) SWIG_fail
;
20033 Py_INCREF(Py_None
); resultobj
= Py_None
;
20040 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20041 PyObject
*resultobj
;
20042 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20044 PyObject
* obj0
= 0 ;
20045 char *kwnames
[] = {
20046 (char *) "self", NULL
20049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20059 resultobj
= SWIG_FromInt((int)result
);
20066 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
;
20068 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20070 PyObject
* obj0
= 0 ;
20071 char *kwnames
[] = {
20072 (char *) "self", NULL
20075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20082 wxPyEndAllowThreads(__tstate
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20085 resultobj
= SWIG_FromInt((int)result
);
20092 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
;
20094 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20096 PyObject
* obj0
= 0 ;
20097 char *kwnames
[] = {
20098 (char *) "self", NULL
20101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20106 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20108 wxPyEndAllowThreads(__tstate
);
20109 if (PyErr_Occurred()) SWIG_fail
;
20111 resultobj
= SWIG_FromInt((int)result
);
20118 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20119 PyObject
*resultobj
;
20120 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20122 PyObject
* obj0
= 0 ;
20123 char *kwnames
[] = {
20124 (char *) "self", NULL
20127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20132 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20134 wxPyEndAllowThreads(__tstate
);
20135 if (PyErr_Occurred()) SWIG_fail
;
20137 resultobj
= SWIG_FromInt((int)result
);
20144 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20145 PyObject
*resultobj
;
20146 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20148 PyObject
* obj0
= 0 ;
20149 char *kwnames
[] = {
20150 (char *) "self", NULL
20153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20158 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20160 wxPyEndAllowThreads(__tstate
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20163 resultobj
= SWIG_FromInt((int)result
);
20170 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20171 PyObject
*resultobj
;
20172 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20174 PyObject
* obj0
= 0 ;
20175 char *kwnames
[] = {
20176 (char *) "self", NULL
20179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20184 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20186 wxPyEndAllowThreads(__tstate
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20198 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20199 PyObject
*resultobj
;
20200 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20202 PyObject
* obj0
= 0 ;
20203 char *kwnames
[] = {
20204 (char *) "self", NULL
20207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20212 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20214 wxPyEndAllowThreads(__tstate
);
20215 if (PyErr_Occurred()) SWIG_fail
;
20218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20226 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20227 PyObject
*resultobj
;
20228 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20230 PyObject
* obj0
= 0 ;
20231 char *kwnames
[] = {
20232 (char *) "self", NULL
20235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20240 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20254 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
;
20256 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20258 PyObject
* obj0
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20282 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20283 PyObject
*resultobj
;
20284 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20286 PyObject
* obj0
= 0 ;
20287 char *kwnames
[] = {
20288 (char *) "self", NULL
20291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20296 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20298 wxPyEndAllowThreads(__tstate
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20310 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20311 PyObject
*resultobj
;
20312 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20314 PyObject
* obj0
= 0 ;
20315 PyObject
* obj1
= 0 ;
20316 char *kwnames
[] = {
20317 (char *) "self",(char *) "v", NULL
20320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20323 arg2
= (int) SWIG_AsInt(obj1
);
20324 if (PyErr_Occurred()) SWIG_fail
;
20326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20327 (arg1
)->SetFromPage(arg2
);
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20332 Py_INCREF(Py_None
); resultobj
= Py_None
;
20339 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20340 PyObject
*resultobj
;
20341 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20343 PyObject
* obj0
= 0 ;
20344 PyObject
* obj1
= 0 ;
20345 char *kwnames
[] = {
20346 (char *) "self",(char *) "v", NULL
20349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20352 arg2
= (int) SWIG_AsInt(obj1
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20356 (arg1
)->SetToPage(arg2
);
20358 wxPyEndAllowThreads(__tstate
);
20359 if (PyErr_Occurred()) SWIG_fail
;
20361 Py_INCREF(Py_None
); resultobj
= Py_None
;
20368 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20369 PyObject
*resultobj
;
20370 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20372 PyObject
* obj0
= 0 ;
20373 PyObject
* obj1
= 0 ;
20374 char *kwnames
[] = {
20375 (char *) "self",(char *) "v", NULL
20378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20381 arg2
= (int) SWIG_AsInt(obj1
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 (arg1
)->SetMinPage(arg2
);
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 Py_INCREF(Py_None
); resultobj
= Py_None
;
20397 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
;
20399 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20401 PyObject
* obj0
= 0 ;
20402 PyObject
* obj1
= 0 ;
20403 char *kwnames
[] = {
20404 (char *) "self",(char *) "v", NULL
20407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20410 arg2
= (int) SWIG_AsInt(obj1
);
20411 if (PyErr_Occurred()) SWIG_fail
;
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 (arg1
)->SetMaxPage(arg2
);
20416 wxPyEndAllowThreads(__tstate
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20419 Py_INCREF(Py_None
); resultobj
= Py_None
;
20426 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20427 PyObject
*resultobj
;
20428 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20430 PyObject
* obj0
= 0 ;
20431 PyObject
* obj1
= 0 ;
20432 char *kwnames
[] = {
20433 (char *) "self",(char *) "v", NULL
20436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20439 arg2
= (int) SWIG_AsInt(obj1
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20443 (arg1
)->SetNoCopies(arg2
);
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20448 Py_INCREF(Py_None
); resultobj
= Py_None
;
20455 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20456 PyObject
*resultobj
;
20457 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20459 PyObject
* obj0
= 0 ;
20460 PyObject
* obj1
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "self",(char *) "flag", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20468 arg2
= (bool) SWIG_AsBool(obj1
);
20469 if (PyErr_Occurred()) SWIG_fail
;
20471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20472 (arg1
)->SetAllPages(arg2
);
20474 wxPyEndAllowThreads(__tstate
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20477 Py_INCREF(Py_None
); resultobj
= Py_None
;
20484 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20485 PyObject
*resultobj
;
20486 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20488 PyObject
* obj0
= 0 ;
20489 PyObject
* obj1
= 0 ;
20490 char *kwnames
[] = {
20491 (char *) "self",(char *) "flag", NULL
20494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20497 arg2
= (bool) SWIG_AsBool(obj1
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 (arg1
)->SetSelection(arg2
);
20503 wxPyEndAllowThreads(__tstate
);
20504 if (PyErr_Occurred()) SWIG_fail
;
20506 Py_INCREF(Py_None
); resultobj
= Py_None
;
20513 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20514 PyObject
*resultobj
;
20515 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20517 PyObject
* obj0
= 0 ;
20518 PyObject
* obj1
= 0 ;
20519 char *kwnames
[] = {
20520 (char *) "self",(char *) "flag", NULL
20523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20526 arg2
= (bool) SWIG_AsBool(obj1
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20530 (arg1
)->SetCollate(arg2
);
20532 wxPyEndAllowThreads(__tstate
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20535 Py_INCREF(Py_None
); resultobj
= Py_None
;
20542 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
;
20544 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20546 PyObject
* obj0
= 0 ;
20547 PyObject
* obj1
= 0 ;
20548 char *kwnames
[] = {
20549 (char *) "self",(char *) "flag", NULL
20552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20555 arg2
= (bool) SWIG_AsBool(obj1
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 (arg1
)->SetPrintToFile(arg2
);
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20564 Py_INCREF(Py_None
); resultobj
= Py_None
;
20571 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
;
20573 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20575 PyObject
* obj0
= 0 ;
20576 PyObject
* obj1
= 0 ;
20577 char *kwnames
[] = {
20578 (char *) "self",(char *) "flag", NULL
20581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20584 arg2
= (bool) SWIG_AsBool(obj1
);
20585 if (PyErr_Occurred()) SWIG_fail
;
20587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 (arg1
)->SetSetupDialog(arg2
);
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20593 Py_INCREF(Py_None
); resultobj
= Py_None
;
20600 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
;
20602 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20604 PyObject
* obj0
= 0 ;
20605 PyObject
* obj1
= 0 ;
20606 char *kwnames
[] = {
20607 (char *) "self",(char *) "flag", NULL
20610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20613 arg2
= (bool) SWIG_AsBool(obj1
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20617 (arg1
)->EnablePrintToFile(arg2
);
20619 wxPyEndAllowThreads(__tstate
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20622 Py_INCREF(Py_None
); resultobj
= Py_None
;
20629 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20630 PyObject
*resultobj
;
20631 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20633 PyObject
* obj0
= 0 ;
20634 PyObject
* obj1
= 0 ;
20635 char *kwnames
[] = {
20636 (char *) "self",(char *) "flag", NULL
20639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20642 arg2
= (bool) SWIG_AsBool(obj1
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20646 (arg1
)->EnableSelection(arg2
);
20648 wxPyEndAllowThreads(__tstate
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20651 Py_INCREF(Py_None
); resultobj
= Py_None
;
20658 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20659 PyObject
*resultobj
;
20660 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20662 PyObject
* obj0
= 0 ;
20663 PyObject
* obj1
= 0 ;
20664 char *kwnames
[] = {
20665 (char *) "self",(char *) "flag", NULL
20668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
20669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20671 arg2
= (bool) SWIG_AsBool(obj1
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 (arg1
)->EnablePageNumbers(arg2
);
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20680 Py_INCREF(Py_None
); resultobj
= Py_None
;
20687 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
;
20689 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20691 PyObject
* obj0
= 0 ;
20692 PyObject
* obj1
= 0 ;
20693 char *kwnames
[] = {
20694 (char *) "self",(char *) "flag", NULL
20697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20700 arg2
= (bool) SWIG_AsBool(obj1
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 (arg1
)->EnableHelp(arg2
);
20706 wxPyEndAllowThreads(__tstate
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20709 Py_INCREF(Py_None
); resultobj
= Py_None
;
20716 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20717 PyObject
*resultobj
;
20718 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20720 PyObject
* obj0
= 0 ;
20721 char *kwnames
[] = {
20722 (char *) "self", NULL
20725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
20726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20744 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20745 PyObject
*resultobj
;
20746 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20748 PyObject
* obj0
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "self", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
20754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20772 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20773 PyObject
*resultobj
;
20774 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20776 PyObject
* obj0
= 0 ;
20777 char *kwnames
[] = {
20778 (char *) "self", NULL
20781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
20782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20800 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20801 PyObject
*resultobj
;
20802 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20804 PyObject
* obj0
= 0 ;
20805 char *kwnames
[] = {
20806 (char *) "self", NULL
20809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20814 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20828 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20830 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20832 PyObject
* obj0
= 0 ;
20833 char *kwnames
[] = {
20834 (char *) "self", NULL
20837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20856 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
;
20858 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20859 wxPrintData
*result
;
20860 PyObject
* obj0
= 0 ;
20861 char *kwnames
[] = {
20862 (char *) "self", NULL
20865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20871 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20872 result
= (wxPrintData
*) &_result_ref
;
20875 wxPyEndAllowThreads(__tstate
);
20876 if (PyErr_Occurred()) SWIG_fail
;
20878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20885 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20886 PyObject
*resultobj
;
20887 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20888 wxPrintData
*arg2
= 0 ;
20889 PyObject
* obj0
= 0 ;
20890 PyObject
* obj1
= 0 ;
20891 char *kwnames
[] = {
20892 (char *) "self",(char *) "printData", NULL
20895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20901 if (arg2
== NULL
) {
20902 PyErr_SetString(PyExc_TypeError
,"null reference");
20906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20907 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20912 Py_INCREF(Py_None
); resultobj
= Py_None
;
20919 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20922 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
20924 return Py_BuildValue((char *)"");
20926 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20927 PyObject
*resultobj
;
20928 wxWindow
*arg1
= (wxWindow
*) 0 ;
20929 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
20930 wxPrintDialog
*result
;
20931 PyObject
* obj0
= 0 ;
20932 PyObject
* obj1
= 0 ;
20933 char *kwnames
[] = {
20934 (char *) "parent",(char *) "data", NULL
20937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20941 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
20942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20946 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
20948 wxPyEndAllowThreads(__tstate
);
20949 if (PyErr_Occurred()) SWIG_fail
;
20951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
20958 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20959 PyObject
*resultobj
;
20960 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20961 wxPrintDialogData
*result
;
20962 PyObject
* obj0
= 0 ;
20963 char *kwnames
[] = {
20964 (char *) "self", NULL
20967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20973 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20974 result
= (wxPrintDialogData
*) &_result_ref
;
20977 wxPyEndAllowThreads(__tstate
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
20987 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20988 PyObject
*resultobj
;
20989 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20991 PyObject
* obj0
= 0 ;
20992 char *kwnames
[] = {
20993 (char *) "self", NULL
20996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
20997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21001 result
= (wxDC
*)(arg1
)->GetPrintDC();
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21007 resultobj
= wxPyMake_wxObject(result
);
21015 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21016 PyObject
*resultobj
;
21017 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21019 PyObject
* obj0
= 0 ;
21020 char *kwnames
[] = {
21021 (char *) "self", NULL
21024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21029 result
= (int)(arg1
)->ShowModal();
21031 wxPyEndAllowThreads(__tstate
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21034 resultobj
= SWIG_FromInt((int)result
);
21041 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21044 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21046 return Py_BuildValue((char *)"");
21048 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
;
21050 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21052 PyObject
* obj0
= 0 ;
21053 char *kwnames
[] = {
21054 (char *) "data", NULL
21057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 result
= (wxPrinter
*)new wxPrinter(arg1
);
21066 wxPyEndAllowThreads(__tstate
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21076 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21077 PyObject
*resultobj
;
21078 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21079 PyObject
* obj0
= 0 ;
21080 char *kwnames
[] = {
21081 (char *) "self", NULL
21084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 wxPyEndAllowThreads(__tstate
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21094 Py_INCREF(Py_None
); resultobj
= Py_None
;
21101 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21102 PyObject
*resultobj
;
21103 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21104 wxWindow
*arg2
= (wxWindow
*) 0 ;
21105 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21106 PyObject
* obj0
= 0 ;
21107 PyObject
* obj1
= 0 ;
21108 PyObject
* obj2
= 0 ;
21109 char *kwnames
[] = {
21110 (char *) "self",(char *) "parent",(char *) "printout", NULL
21113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21118 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21127 Py_INCREF(Py_None
); resultobj
= Py_None
;
21134 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21137 wxPrintDialogData
*result
;
21138 PyObject
* obj0
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "self", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21149 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21150 result
= (wxPrintDialogData
*) &_result_ref
;
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21163 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21164 PyObject
*resultobj
;
21165 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21166 wxWindow
*arg2
= (wxWindow
*) 0 ;
21167 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21168 int arg4
= (int) True
;
21170 PyObject
* obj0
= 0 ;
21171 PyObject
* obj1
= 0 ;
21172 PyObject
* obj2
= 0 ;
21173 PyObject
* obj3
= 0 ;
21174 char *kwnames
[] = {
21175 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21183 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21186 arg4
= (int) SWIG_AsInt(obj3
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21191 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21193 wxPyEndAllowThreads(__tstate
);
21194 if (PyErr_Occurred()) SWIG_fail
;
21197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21205 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21206 PyObject
*resultobj
;
21207 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21208 wxWindow
*arg2
= (wxWindow
*) 0 ;
21210 PyObject
* obj0
= 0 ;
21211 PyObject
* obj1
= 0 ;
21212 char *kwnames
[] = {
21213 (char *) "self",(char *) "parent", NULL
21216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21229 resultobj
= wxPyMake_wxObject(result
);
21237 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21239 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21240 wxWindow
*arg2
= (wxWindow
*) 0 ;
21241 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21242 wxString
*arg4
= 0 ;
21243 bool temp4
= False
;
21244 PyObject
* obj0
= 0 ;
21245 PyObject
* obj1
= 0 ;
21246 PyObject
* obj2
= 0 ;
21247 PyObject
* obj3
= 0 ;
21248 char *kwnames
[] = {
21249 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21257 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21260 arg4
= wxString_in_helper(obj3
);
21261 if (arg4
== NULL
) SWIG_fail
;
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 Py_INCREF(Py_None
); resultobj
= Py_None
;
21286 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21288 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21289 wxWindow
*arg2
= (wxWindow
*) 0 ;
21291 PyObject
* obj0
= 0 ;
21292 PyObject
* obj1
= 0 ;
21293 char *kwnames
[] = {
21294 (char *) "self",(char *) "parent", NULL
21297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 result
= (bool)(arg1
)->Setup(arg2
);
21306 wxPyEndAllowThreads(__tstate
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21318 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21319 PyObject
*resultobj
;
21320 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21322 PyObject
* obj0
= 0 ;
21323 char *kwnames
[] = {
21324 (char *) "self", NULL
21327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 result
= (bool)(arg1
)->GetAbort();
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21346 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21347 PyObject
*resultobj
;
21349 char *kwnames
[] = {
21353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 result
= (int)wxPrinter::GetLastError();
21358 wxPyEndAllowThreads(__tstate
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21361 resultobj
= SWIG_FromInt((int)result
);
21368 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21371 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21373 return Py_BuildValue((char *)"");
21375 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21376 PyObject
*resultobj
;
21377 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21378 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21379 wxPyPrintout
*result
;
21380 bool temp1
= False
;
21381 PyObject
* obj0
= 0 ;
21382 char *kwnames
[] = {
21383 (char *) "title", NULL
21386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21389 arg1
= wxString_in_helper(obj0
);
21390 if (arg1
== NULL
) SWIG_fail
;
21395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21396 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21398 wxPyEndAllowThreads(__tstate
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21402 resultobj
= wxPyMake_wxObject(result
);
21418 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
;
21420 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21421 PyObject
*arg2
= (PyObject
*) 0 ;
21422 PyObject
*arg3
= (PyObject
*) 0 ;
21423 PyObject
* obj0
= 0 ;
21424 PyObject
* obj1
= 0 ;
21425 PyObject
* obj2
= 0 ;
21426 char *kwnames
[] = {
21427 (char *) "self",(char *) "self",(char *) "_class", NULL
21430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21437 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21439 wxPyEndAllowThreads(__tstate
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21442 Py_INCREF(Py_None
); resultobj
= Py_None
;
21449 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21450 PyObject
*resultobj
;
21451 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21453 PyObject
* obj0
= 0 ;
21454 char *kwnames
[] = {
21455 (char *) "self", NULL
21458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21463 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21481 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
;
21483 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21485 PyObject
* obj0
= 0 ;
21486 char *kwnames
[] = {
21487 (char *) "self", NULL
21490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 result
= (wxDC
*)(arg1
)->GetDC();
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21501 resultobj
= wxPyMake_wxObject(result
);
21509 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
;
21511 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21512 wxDC
*arg2
= (wxDC
*) 0 ;
21513 PyObject
* obj0
= 0 ;
21514 PyObject
* obj1
= 0 ;
21515 char *kwnames
[] = {
21516 (char *) "self",(char *) "dc", NULL
21519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 (arg1
)->SetDC(arg2
);
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21531 Py_INCREF(Py_None
); resultobj
= Py_None
;
21538 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21539 PyObject
*resultobj
;
21540 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21543 PyObject
* obj0
= 0 ;
21544 PyObject
* obj1
= 0 ;
21545 PyObject
* obj2
= 0 ;
21546 char *kwnames
[] = {
21547 (char *) "self",(char *) "w",(char *) "h", NULL
21550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21553 arg2
= (int) SWIG_AsInt(obj1
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21555 arg3
= (int) SWIG_AsInt(obj2
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21559 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21561 wxPyEndAllowThreads(__tstate
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21564 Py_INCREF(Py_None
); resultobj
= Py_None
;
21571 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
;
21573 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21574 int *arg2
= (int *) 0 ;
21575 int *arg3
= (int *) 0 ;
21578 PyObject
* obj0
= 0 ;
21579 char *kwnames
[] = {
21580 (char *) "self", NULL
21585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21590 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21592 wxPyEndAllowThreads(__tstate
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21595 Py_INCREF(Py_None
); resultobj
= Py_None
;
21597 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21598 resultobj
= t_output_helper(resultobj
,o
);
21601 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21602 resultobj
= t_output_helper(resultobj
,o
);
21610 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
;
21612 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21615 PyObject
* obj0
= 0 ;
21616 PyObject
* obj1
= 0 ;
21617 PyObject
* obj2
= 0 ;
21618 char *kwnames
[] = {
21619 (char *) "self",(char *) "w",(char *) "h", NULL
21622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21625 arg2
= (int) SWIG_AsInt(obj1
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21627 arg3
= (int) SWIG_AsInt(obj2
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21631 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21633 wxPyEndAllowThreads(__tstate
);
21634 if (PyErr_Occurred()) SWIG_fail
;
21636 Py_INCREF(Py_None
); resultobj
= Py_None
;
21643 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21644 PyObject
*resultobj
;
21645 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21646 int *arg2
= (int *) 0 ;
21647 int *arg3
= (int *) 0 ;
21650 PyObject
* obj0
= 0 ;
21651 char *kwnames
[] = {
21652 (char *) "self", NULL
21657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
21658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 (arg1
)->GetPageSizeMM(arg2
,arg3
);
21664 wxPyEndAllowThreads(__tstate
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21667 Py_INCREF(Py_None
); resultobj
= Py_None
;
21669 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21670 resultobj
= t_output_helper(resultobj
,o
);
21673 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21674 resultobj
= t_output_helper(resultobj
,o
);
21682 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21683 PyObject
*resultobj
;
21684 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21687 PyObject
* obj0
= 0 ;
21688 PyObject
* obj1
= 0 ;
21689 PyObject
* obj2
= 0 ;
21690 char *kwnames
[] = {
21691 (char *) "self",(char *) "x",(char *) "y", NULL
21694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21697 arg2
= (int) SWIG_AsInt(obj1
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21699 arg3
= (int) SWIG_AsInt(obj2
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21703 (arg1
)->SetPPIScreen(arg2
,arg3
);
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21708 Py_INCREF(Py_None
); resultobj
= Py_None
;
21715 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21716 PyObject
*resultobj
;
21717 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21718 int *arg2
= (int *) 0 ;
21719 int *arg3
= (int *) 0 ;
21722 PyObject
* obj0
= 0 ;
21723 char *kwnames
[] = {
21724 (char *) "self", NULL
21729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
21730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 (arg1
)->GetPPIScreen(arg2
,arg3
);
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 Py_INCREF(Py_None
); resultobj
= Py_None
;
21741 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21742 resultobj
= t_output_helper(resultobj
,o
);
21745 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21746 resultobj
= t_output_helper(resultobj
,o
);
21754 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21755 PyObject
*resultobj
;
21756 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21759 PyObject
* obj0
= 0 ;
21760 PyObject
* obj1
= 0 ;
21761 PyObject
* obj2
= 0 ;
21762 char *kwnames
[] = {
21763 (char *) "self",(char *) "x",(char *) "y", NULL
21766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21769 arg2
= (int) SWIG_AsInt(obj1
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21771 arg3
= (int) SWIG_AsInt(obj2
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 (arg1
)->SetPPIPrinter(arg2
,arg3
);
21777 wxPyEndAllowThreads(__tstate
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21780 Py_INCREF(Py_None
); resultobj
= Py_None
;
21787 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21788 PyObject
*resultobj
;
21789 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21790 int *arg2
= (int *) 0 ;
21791 int *arg3
= (int *) 0 ;
21794 PyObject
* obj0
= 0 ;
21795 char *kwnames
[] = {
21796 (char *) "self", NULL
21801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
21802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21806 (arg1
)->GetPPIPrinter(arg2
,arg3
);
21808 wxPyEndAllowThreads(__tstate
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21811 Py_INCREF(Py_None
); resultobj
= Py_None
;
21813 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21814 resultobj
= t_output_helper(resultobj
,o
);
21817 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21818 resultobj
= t_output_helper(resultobj
,o
);
21826 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21827 PyObject
*resultobj
;
21828 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21830 PyObject
* obj0
= 0 ;
21831 char *kwnames
[] = {
21832 (char *) "self", NULL
21835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
21836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21840 result
= (bool)(arg1
)->IsPreview();
21842 wxPyEndAllowThreads(__tstate
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21854 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21855 PyObject
*resultobj
;
21856 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21858 PyObject
* obj0
= 0 ;
21859 PyObject
* obj1
= 0 ;
21860 char *kwnames
[] = {
21861 (char *) "self",(char *) "p", NULL
21864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
21865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21867 arg2
= (bool) SWIG_AsBool(obj1
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 (arg1
)->SetIsPreview(arg2
);
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 Py_INCREF(Py_None
); resultobj
= Py_None
;
21883 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21884 PyObject
*resultobj
;
21885 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21889 PyObject
* obj0
= 0 ;
21890 PyObject
* obj1
= 0 ;
21891 PyObject
* obj2
= 0 ;
21892 char *kwnames
[] = {
21893 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21899 arg2
= (int) SWIG_AsInt(obj1
);
21900 if (PyErr_Occurred()) SWIG_fail
;
21901 arg3
= (int) SWIG_AsInt(obj2
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21919 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21920 PyObject
*resultobj
;
21921 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21922 PyObject
* obj0
= 0 ;
21923 char *kwnames
[] = {
21924 (char *) "self", NULL
21927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
21928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 (arg1
)->base_OnEndDocument();
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21937 Py_INCREF(Py_None
); resultobj
= Py_None
;
21944 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21945 PyObject
*resultobj
;
21946 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21947 PyObject
* obj0
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
21953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 (arg1
)->base_OnBeginPrinting();
21959 wxPyEndAllowThreads(__tstate
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21962 Py_INCREF(Py_None
); resultobj
= Py_None
;
21969 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21970 PyObject
*resultobj
;
21971 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21972 PyObject
* obj0
= 0 ;
21973 char *kwnames
[] = {
21974 (char *) "self", NULL
21977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
21978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21982 (arg1
)->base_OnEndPrinting();
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21987 Py_INCREF(Py_None
); resultobj
= Py_None
;
21994 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
;
21996 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21997 PyObject
* obj0
= 0 ;
21998 char *kwnames
[] = {
21999 (char *) "self", NULL
22002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 (arg1
)->base_OnPreparePrinting();
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22012 Py_INCREF(Py_None
); resultobj
= Py_None
;
22019 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22020 PyObject
*resultobj
;
22021 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22024 PyObject
* obj0
= 0 ;
22025 PyObject
* obj1
= 0 ;
22026 char *kwnames
[] = {
22027 (char *) "self",(char *) "page", NULL
22030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22033 arg2
= (int) SWIG_AsInt(obj1
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 result
= (bool)(arg1
)->base_HasPage(arg2
);
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22051 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
;
22053 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22054 int *arg2
= (int *) 0 ;
22055 int *arg3
= (int *) 0 ;
22056 int *arg4
= (int *) 0 ;
22057 int *arg5
= (int *) 0 ;
22062 PyObject
* obj0
= 0 ;
22063 char *kwnames
[] = {
22064 (char *) "self", NULL
22071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22081 Py_INCREF(Py_None
); resultobj
= Py_None
;
22083 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22084 resultobj
= t_output_helper(resultobj
,o
);
22087 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22088 resultobj
= t_output_helper(resultobj
,o
);
22091 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22092 resultobj
= t_output_helper(resultobj
,o
);
22095 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22096 resultobj
= t_output_helper(resultobj
,o
);
22104 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22107 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22109 return Py_BuildValue((char *)"");
22111 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22114 wxWindow
*arg2
= (wxWindow
*) 0 ;
22115 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22116 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22117 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22118 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22119 long arg5
= (long) 0 ;
22120 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22121 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22122 wxPreviewCanvas
*result
;
22125 bool temp6
= False
;
22126 PyObject
* obj0
= 0 ;
22127 PyObject
* obj1
= 0 ;
22128 PyObject
* obj2
= 0 ;
22129 PyObject
* obj3
= 0 ;
22130 PyObject
* obj4
= 0 ;
22131 PyObject
* obj5
= 0 ;
22132 char *kwnames
[] = {
22133 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22144 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22150 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22154 arg5
= (long) SWIG_AsLong(obj4
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22159 arg6
= wxString_in_helper(obj5
);
22160 if (arg6
== NULL
) SWIG_fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22186 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22189 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22191 return Py_BuildValue((char *)"");
22193 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22194 PyObject
*resultobj
;
22195 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22196 wxFrame
*arg2
= (wxFrame
*) 0 ;
22197 wxString
*arg3
= 0 ;
22198 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22199 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22200 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22201 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22202 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22203 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22204 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22205 wxPreviewFrame
*result
;
22206 bool temp3
= False
;
22209 bool temp7
= False
;
22210 PyObject
* obj0
= 0 ;
22211 PyObject
* obj1
= 0 ;
22212 PyObject
* obj2
= 0 ;
22213 PyObject
* obj3
= 0 ;
22214 PyObject
* obj4
= 0 ;
22215 PyObject
* obj5
= 0 ;
22216 PyObject
* obj6
= 0 ;
22217 char *kwnames
[] = {
22218 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22227 arg3
= wxString_in_helper(obj2
);
22228 if (arg3
== NULL
) SWIG_fail
;
22234 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22240 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22244 arg6
= (long) SWIG_AsLong(obj5
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22249 arg7
= wxString_in_helper(obj6
);
22250 if (arg7
== NULL
) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22284 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22285 PyObject
*resultobj
;
22286 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22287 PyObject
* obj0
= 0 ;
22288 char *kwnames
[] = {
22289 (char *) "self", NULL
22292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22297 (arg1
)->Initialize();
22299 wxPyEndAllowThreads(__tstate
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22302 Py_INCREF(Py_None
); resultobj
= Py_None
;
22309 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22310 PyObject
*resultobj
;
22311 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22312 PyObject
* obj0
= 0 ;
22313 char *kwnames
[] = {
22314 (char *) "self", NULL
22317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 (arg1
)->CreateControlBar();
22324 wxPyEndAllowThreads(__tstate
);
22325 if (PyErr_Occurred()) SWIG_fail
;
22327 Py_INCREF(Py_None
); resultobj
= Py_None
;
22334 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22335 PyObject
*resultobj
;
22336 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22337 PyObject
* obj0
= 0 ;
22338 char *kwnames
[] = {
22339 (char *) "self", NULL
22342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 (arg1
)->CreateCanvas();
22349 wxPyEndAllowThreads(__tstate
);
22350 if (PyErr_Occurred()) SWIG_fail
;
22352 Py_INCREF(Py_None
); resultobj
= Py_None
;
22359 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22360 PyObject
*resultobj
;
22361 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22362 wxPreviewControlBar
*result
;
22363 PyObject
* obj0
= 0 ;
22364 char *kwnames
[] = {
22365 (char *) "self", NULL
22368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22375 wxPyEndAllowThreads(__tstate
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22385 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22388 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22390 return Py_BuildValue((char *)"");
22392 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22393 PyObject
*resultobj
;
22394 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22396 wxWindow
*arg3
= (wxWindow
*) 0 ;
22397 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22398 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22399 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22400 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22401 long arg6
= (long) wxTAB_TRAVERSAL
;
22402 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22403 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22404 wxPreviewControlBar
*result
;
22407 bool temp7
= False
;
22408 PyObject
* obj0
= 0 ;
22409 PyObject
* obj1
= 0 ;
22410 PyObject
* obj2
= 0 ;
22411 PyObject
* obj3
= 0 ;
22412 PyObject
* obj4
= 0 ;
22413 PyObject
* obj5
= 0 ;
22414 PyObject
* obj6
= 0 ;
22415 char *kwnames
[] = {
22416 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22422 arg2
= (long) SWIG_AsLong(obj1
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22424 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22429 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22435 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22439 arg6
= (long) SWIG_AsLong(obj5
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22444 arg7
= wxString_in_helper(obj6
);
22445 if (arg7
== NULL
) SWIG_fail
;
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22471 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22472 PyObject
*resultobj
;
22473 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22475 PyObject
* obj0
= 0 ;
22476 char *kwnames
[] = {
22477 (char *) "self", NULL
22480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22485 result
= (int)(arg1
)->GetZoomControl();
22487 wxPyEndAllowThreads(__tstate
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22490 resultobj
= SWIG_FromInt((int)result
);
22497 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22498 PyObject
*resultobj
;
22499 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22501 PyObject
* obj0
= 0 ;
22502 PyObject
* obj1
= 0 ;
22503 char *kwnames
[] = {
22504 (char *) "self",(char *) "zoom", NULL
22507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22510 arg2
= (int) SWIG_AsInt(obj1
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 (arg1
)->SetZoomControl(arg2
);
22516 wxPyEndAllowThreads(__tstate
);
22517 if (PyErr_Occurred()) SWIG_fail
;
22519 Py_INCREF(Py_None
); resultobj
= Py_None
;
22526 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22527 PyObject
*resultobj
;
22528 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22529 wxPrintPreview
*result
;
22530 PyObject
* obj0
= 0 ;
22531 char *kwnames
[] = {
22532 (char *) "self", NULL
22535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22552 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
;
22554 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22555 PyObject
* obj0
= 0 ;
22556 char *kwnames
[] = {
22557 (char *) "self", NULL
22560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22570 Py_INCREF(Py_None
); resultobj
= Py_None
;
22577 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22578 PyObject
*resultobj
;
22579 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22580 PyObject
* obj0
= 0 ;
22581 char *kwnames
[] = {
22582 (char *) "self", NULL
22585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 (arg1
)->OnPrevious();
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 Py_INCREF(Py_None
); resultobj
= Py_None
;
22602 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22603 PyObject
*resultobj
;
22604 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22605 PyObject
* obj0
= 0 ;
22606 char *kwnames
[] = {
22607 (char *) "self", NULL
22610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22617 wxPyEndAllowThreads(__tstate
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22620 Py_INCREF(Py_None
); resultobj
= Py_None
;
22627 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22628 PyObject
*resultobj
;
22629 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22630 PyObject
* obj0
= 0 ;
22631 char *kwnames
[] = {
22632 (char *) "self", NULL
22635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22645 Py_INCREF(Py_None
); resultobj
= Py_None
;
22652 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22653 PyObject
*resultobj
;
22654 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22655 PyObject
* obj0
= 0 ;
22656 char *kwnames
[] = {
22657 (char *) "self", NULL
22660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
22661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 wxPyEndAllowThreads(__tstate
);
22668 if (PyErr_Occurred()) SWIG_fail
;
22670 Py_INCREF(Py_None
); resultobj
= Py_None
;
22677 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22680 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
22682 return Py_BuildValue((char *)"");
22684 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
22685 PyObject
*resultobj
;
22686 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22687 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22688 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22689 wxPrintPreview
*result
;
22690 PyObject
* obj0
= 0 ;
22691 PyObject
* obj1
= 0 ;
22692 PyObject
* obj2
= 0 ;
22694 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22700 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22717 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
22718 PyObject
*resultobj
;
22719 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22720 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22721 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22722 wxPrintPreview
*result
;
22723 PyObject
* obj0
= 0 ;
22724 PyObject
* obj1
= 0 ;
22725 PyObject
* obj2
= 0 ;
22727 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22732 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22736 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22738 wxPyEndAllowThreads(__tstate
);
22739 if (PyErr_Occurred()) SWIG_fail
;
22741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22748 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
22753 argc
= PyObject_Length(args
);
22754 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22755 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22757 if ((argc
>= 2) && (argc
<= 3)) {
22761 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22771 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22780 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22784 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22792 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22801 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22811 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22821 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22829 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
22835 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
22840 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22841 PyObject
*resultobj
;
22842 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22845 PyObject
* obj0
= 0 ;
22846 PyObject
* obj1
= 0 ;
22847 char *kwnames
[] = {
22848 (char *) "self",(char *) "pageNum", NULL
22851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22854 arg2
= (int) SWIG_AsInt(obj1
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22872 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22873 PyObject
*resultobj
;
22874 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22876 PyObject
* obj0
= 0 ;
22877 char *kwnames
[] = {
22878 (char *) "self", NULL
22881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
22882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22886 result
= (int)(arg1
)->GetCurrentPage();
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= SWIG_FromInt((int)result
);
22898 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
;
22900 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22901 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22902 PyObject
* obj0
= 0 ;
22903 PyObject
* obj1
= 0 ;
22904 char *kwnames
[] = {
22905 (char *) "self",(char *) "printout", NULL
22908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
22909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 (arg1
)->SetPrintout(arg2
);
22917 wxPyEndAllowThreads(__tstate
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22920 Py_INCREF(Py_None
); resultobj
= Py_None
;
22927 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22928 PyObject
*resultobj
;
22929 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22930 wxPyPrintout
*result
;
22931 PyObject
* obj0
= 0 ;
22932 char *kwnames
[] = {
22933 (char *) "self", NULL
22936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
22937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22941 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22947 resultobj
= wxPyMake_wxObject(result
);
22955 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22956 PyObject
*resultobj
;
22957 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22958 wxPyPrintout
*result
;
22959 PyObject
* obj0
= 0 ;
22960 char *kwnames
[] = {
22961 (char *) "self", NULL
22964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
22965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
22971 wxPyEndAllowThreads(__tstate
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22975 resultobj
= wxPyMake_wxObject(result
);
22983 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22984 PyObject
*resultobj
;
22985 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22986 wxFrame
*arg2
= (wxFrame
*) 0 ;
22987 PyObject
* obj0
= 0 ;
22988 PyObject
* obj1
= 0 ;
22989 char *kwnames
[] = {
22990 (char *) "self",(char *) "frame", NULL
22993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
22994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22996 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23000 (arg1
)->SetFrame(arg2
);
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23005 Py_INCREF(Py_None
); resultobj
= Py_None
;
23012 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23013 PyObject
*resultobj
;
23014 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23015 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23016 PyObject
* obj0
= 0 ;
23017 PyObject
* obj1
= 0 ;
23018 char *kwnames
[] = {
23019 (char *) "self",(char *) "canvas", NULL
23022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 (arg1
)->SetCanvas(arg2
);
23031 wxPyEndAllowThreads(__tstate
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23034 Py_INCREF(Py_None
); resultobj
= Py_None
;
23041 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23042 PyObject
*resultobj
;
23043 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23045 PyObject
* obj0
= 0 ;
23046 char *kwnames
[] = {
23047 (char *) "self", NULL
23050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 result
= (wxFrame
*)(arg1
)->GetFrame();
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= wxPyMake_wxObject(result
);
23069 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23072 wxPreviewCanvas
*result
;
23073 PyObject
* obj0
= 0 ;
23074 char *kwnames
[] = {
23075 (char *) "self", NULL
23078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23083 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23095 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23096 PyObject
*resultobj
;
23097 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23098 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23101 PyObject
* obj0
= 0 ;
23102 PyObject
* obj1
= 0 ;
23103 PyObject
* obj2
= 0 ;
23104 char *kwnames
[] = {
23105 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23113 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23116 if (arg3
== NULL
) {
23117 PyErr_SetString(PyExc_TypeError
,"null reference");
23121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23124 wxPyEndAllowThreads(__tstate
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23136 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23137 PyObject
*resultobj
;
23138 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23139 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23142 PyObject
* obj0
= 0 ;
23143 PyObject
* obj1
= 0 ;
23144 PyObject
* obj2
= 0 ;
23145 char *kwnames
[] = {
23146 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23154 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23155 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23157 if (arg3
== NULL
) {
23158 PyErr_SetString(PyExc_TypeError
,"null reference");
23162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23163 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23165 wxPyEndAllowThreads(__tstate
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23177 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23178 PyObject
*resultobj
;
23179 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23182 PyObject
* obj0
= 0 ;
23183 PyObject
* obj1
= 0 ;
23184 char *kwnames
[] = {
23185 (char *) "self",(char *) "pageNum", NULL
23188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23191 arg2
= (int) SWIG_AsInt(obj1
);
23192 if (PyErr_Occurred()) SWIG_fail
;
23194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 result
= (bool)(arg1
)->RenderPage(arg2
);
23197 wxPyEndAllowThreads(__tstate
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23209 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23210 PyObject
*resultobj
;
23211 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23212 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23213 PyObject
* obj0
= 0 ;
23214 PyObject
* obj1
= 0 ;
23215 char *kwnames
[] = {
23216 (char *) "self",(char *) "canvas", NULL
23219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 (arg1
)->AdjustScrollbars(arg2
);
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23231 Py_INCREF(Py_None
); resultobj
= Py_None
;
23238 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23239 PyObject
*resultobj
;
23240 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23241 wxPrintDialogData
*result
;
23242 PyObject
* obj0
= 0 ;
23243 char *kwnames
[] = {
23244 (char *) "self", NULL
23247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23254 result
= (wxPrintDialogData
*) &_result_ref
;
23257 wxPyEndAllowThreads(__tstate
);
23258 if (PyErr_Occurred()) SWIG_fail
;
23260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23267 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
;
23269 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23271 PyObject
* obj0
= 0 ;
23272 PyObject
* obj1
= 0 ;
23273 char *kwnames
[] = {
23274 (char *) "self",(char *) "percent", NULL
23277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23280 arg2
= (int) SWIG_AsInt(obj1
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 (arg1
)->SetZoom(arg2
);
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23289 Py_INCREF(Py_None
); resultobj
= Py_None
;
23296 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
;
23298 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23300 PyObject
* obj0
= 0 ;
23301 char *kwnames
[] = {
23302 (char *) "self", NULL
23305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23310 result
= (int)(arg1
)->GetZoom();
23312 wxPyEndAllowThreads(__tstate
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23315 resultobj
= SWIG_FromInt((int)result
);
23322 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23323 PyObject
*resultobj
;
23324 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23326 PyObject
* obj0
= 0 ;
23327 char *kwnames
[] = {
23328 (char *) "self", NULL
23331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23336 result
= (int)(arg1
)->GetMaxPage();
23338 wxPyEndAllowThreads(__tstate
);
23339 if (PyErr_Occurred()) SWIG_fail
;
23341 resultobj
= SWIG_FromInt((int)result
);
23348 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23349 PyObject
*resultobj
;
23350 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23352 PyObject
* obj0
= 0 ;
23353 char *kwnames
[] = {
23354 (char *) "self", NULL
23357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23362 result
= (int)(arg1
)->GetMinPage();
23364 wxPyEndAllowThreads(__tstate
);
23365 if (PyErr_Occurred()) SWIG_fail
;
23367 resultobj
= SWIG_FromInt((int)result
);
23374 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23375 PyObject
*resultobj
;
23376 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23378 PyObject
* obj0
= 0 ;
23379 char *kwnames
[] = {
23380 (char *) "self", NULL
23383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23388 result
= (bool)(arg1
)->Ok();
23390 wxPyEndAllowThreads(__tstate
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23402 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
;
23404 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23406 PyObject
* obj0
= 0 ;
23407 PyObject
* obj1
= 0 ;
23408 char *kwnames
[] = {
23409 (char *) "self",(char *) "ok", NULL
23412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23415 arg2
= (bool) SWIG_AsBool(obj1
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 (arg1
)->SetOk(arg2
);
23421 wxPyEndAllowThreads(__tstate
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23424 Py_INCREF(Py_None
); resultobj
= Py_None
;
23431 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23432 PyObject
*resultobj
;
23433 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23436 PyObject
* obj0
= 0 ;
23437 PyObject
* obj1
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self",(char *) "interactive", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23445 arg2
= (bool) SWIG_AsBool(obj1
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 result
= (bool)(arg1
)->Print(arg2
);
23451 wxPyEndAllowThreads(__tstate
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23463 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23464 PyObject
*resultobj
;
23465 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23466 PyObject
* obj0
= 0 ;
23467 char *kwnames
[] = {
23468 (char *) "self", NULL
23471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23476 (arg1
)->DetermineScaling();
23478 wxPyEndAllowThreads(__tstate
);
23479 if (PyErr_Occurred()) SWIG_fail
;
23481 Py_INCREF(Py_None
); resultobj
= Py_None
;
23488 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23491 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23493 return Py_BuildValue((char *)"");
23495 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23496 PyObject
*resultobj
;
23497 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23498 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23499 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23500 wxPyPrintPreview
*result
;
23501 PyObject
* obj0
= 0 ;
23502 PyObject
* obj1
= 0 ;
23503 PyObject
* obj2
= 0 ;
23505 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23508 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23511 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23516 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23518 wxPyEndAllowThreads(__tstate
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23528 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23529 PyObject
*resultobj
;
23530 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23531 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23532 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23533 wxPyPrintPreview
*result
;
23534 PyObject
* obj0
= 0 ;
23535 PyObject
* obj1
= 0 ;
23536 PyObject
* obj2
= 0 ;
23538 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23543 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23559 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23564 argc
= PyObject_Length(args
);
23565 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23566 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23568 if ((argc
>= 2) && (argc
<= 3)) {
23572 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23582 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23591 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23595 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23603 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23612 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23622 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23632 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23640 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
23646 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
23651 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23653 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23654 PyObject
*arg2
= (PyObject
*) 0 ;
23655 PyObject
*arg3
= (PyObject
*) 0 ;
23656 PyObject
* obj0
= 0 ;
23657 PyObject
* obj1
= 0 ;
23658 PyObject
* obj2
= 0 ;
23659 char *kwnames
[] = {
23660 (char *) "self",(char *) "self",(char *) "_class", NULL
23663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23670 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23675 Py_INCREF(Py_None
); resultobj
= Py_None
;
23682 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23683 PyObject
*resultobj
;
23684 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23687 PyObject
* obj0
= 0 ;
23688 PyObject
* obj1
= 0 ;
23689 char *kwnames
[] = {
23690 (char *) "self",(char *) "pageNum", NULL
23693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23696 arg2
= (int) SWIG_AsInt(obj1
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23714 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23715 PyObject
*resultobj
;
23716 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23717 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23720 PyObject
* obj0
= 0 ;
23721 PyObject
* obj1
= 0 ;
23722 PyObject
* obj2
= 0 ;
23723 char *kwnames
[] = {
23724 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23732 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23733 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23735 if (arg3
== NULL
) {
23736 PyErr_SetString(PyExc_TypeError
,"null reference");
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23755 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23756 PyObject
*resultobj
;
23757 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23758 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23761 PyObject
* obj0
= 0 ;
23762 PyObject
* obj1
= 0 ;
23763 PyObject
* obj2
= 0 ;
23764 char *kwnames
[] = {
23765 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23773 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23776 if (arg3
== NULL
) {
23777 PyErr_SetString(PyExc_TypeError
,"null reference");
23781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23782 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
23784 wxPyEndAllowThreads(__tstate
);
23785 if (PyErr_Occurred()) SWIG_fail
;
23788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23796 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23797 PyObject
*resultobj
;
23798 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23801 PyObject
* obj0
= 0 ;
23802 PyObject
* obj1
= 0 ;
23803 char *kwnames
[] = {
23804 (char *) "self",(char *) "pageNum", NULL
23807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23810 arg2
= (int) SWIG_AsInt(obj1
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23814 result
= (bool)(arg1
)->base_RenderPage(arg2
);
23816 wxPyEndAllowThreads(__tstate
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23828 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23829 PyObject
*resultobj
;
23830 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23832 PyObject
* obj0
= 0 ;
23833 PyObject
* obj1
= 0 ;
23834 char *kwnames
[] = {
23835 (char *) "self",(char *) "percent", NULL
23838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23841 arg2
= (int) SWIG_AsInt(obj1
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 (arg1
)->base_SetZoom(arg2
);
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23850 Py_INCREF(Py_None
); resultobj
= Py_None
;
23857 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23858 PyObject
*resultobj
;
23859 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23862 PyObject
* obj0
= 0 ;
23863 PyObject
* obj1
= 0 ;
23864 char *kwnames
[] = {
23865 (char *) "self",(char *) "interactive", NULL
23868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23871 arg2
= (bool) SWIG_AsBool(obj1
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23875 result
= (bool)(arg1
)->base_Print(arg2
);
23877 wxPyEndAllowThreads(__tstate
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23889 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23890 PyObject
*resultobj
;
23891 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23892 PyObject
* obj0
= 0 ;
23893 char *kwnames
[] = {
23894 (char *) "self", NULL
23897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 (arg1
)->base_DetermineScaling();
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23907 Py_INCREF(Py_None
); resultobj
= Py_None
;
23914 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23917 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
23919 return Py_BuildValue((char *)"");
23921 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23922 PyObject
*resultobj
;
23923 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23924 wxFrame
*arg2
= (wxFrame
*) 0 ;
23925 wxString
*arg3
= 0 ;
23926 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23927 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23928 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23929 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23930 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23931 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23932 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23933 wxPyPreviewFrame
*result
;
23934 bool temp3
= False
;
23937 bool temp7
= False
;
23938 PyObject
* obj0
= 0 ;
23939 PyObject
* obj1
= 0 ;
23940 PyObject
* obj2
= 0 ;
23941 PyObject
* obj3
= 0 ;
23942 PyObject
* obj4
= 0 ;
23943 PyObject
* obj5
= 0 ;
23944 PyObject
* obj6
= 0 ;
23945 char *kwnames
[] = {
23946 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23955 arg3
= wxString_in_helper(obj2
);
23956 if (arg3
== NULL
) SWIG_fail
;
23962 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23968 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23972 arg6
= (long) SWIG_AsLong(obj5
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23977 arg7
= wxString_in_helper(obj6
);
23978 if (arg7
== NULL
) SWIG_fail
;
23983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23984 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23986 wxPyEndAllowThreads(__tstate
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24012 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24013 PyObject
*resultobj
;
24014 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24015 PyObject
*arg2
= (PyObject
*) 0 ;
24016 PyObject
*arg3
= (PyObject
*) 0 ;
24017 PyObject
* obj0
= 0 ;
24018 PyObject
* obj1
= 0 ;
24019 PyObject
* obj2
= 0 ;
24020 char *kwnames
[] = {
24021 (char *) "self",(char *) "self",(char *) "_class", NULL
24024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24036 Py_INCREF(Py_None
); resultobj
= Py_None
;
24043 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24044 PyObject
*resultobj
;
24045 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24046 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24047 PyObject
* obj0
= 0 ;
24048 PyObject
* obj1
= 0 ;
24049 char *kwnames
[] = {
24050 (char *) "self",(char *) "canvas", NULL
24053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24060 (arg1
)->SetPreviewCanvas(arg2
);
24062 wxPyEndAllowThreads(__tstate
);
24063 if (PyErr_Occurred()) SWIG_fail
;
24065 Py_INCREF(Py_None
); resultobj
= Py_None
;
24072 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24073 PyObject
*resultobj
;
24074 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24075 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24076 PyObject
* obj0
= 0 ;
24077 PyObject
* obj1
= 0 ;
24078 char *kwnames
[] = {
24079 (char *) "self",(char *) "bar", NULL
24082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24089 (arg1
)->SetControlBar(arg2
);
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24094 Py_INCREF(Py_None
); resultobj
= Py_None
;
24101 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24102 PyObject
*resultobj
;
24103 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24104 PyObject
* obj0
= 0 ;
24105 char *kwnames
[] = {
24106 (char *) "self", NULL
24109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24114 (arg1
)->base_Initialize();
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24119 Py_INCREF(Py_None
); resultobj
= Py_None
;
24126 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
;
24128 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24129 PyObject
* obj0
= 0 ;
24130 char *kwnames
[] = {
24131 (char *) "self", NULL
24134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 (arg1
)->base_CreateCanvas();
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24144 Py_INCREF(Py_None
); resultobj
= Py_None
;
24151 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
;
24153 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24154 PyObject
* obj0
= 0 ;
24155 char *kwnames
[] = {
24156 (char *) "self", NULL
24159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24164 (arg1
)->base_CreateControlBar();
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24169 Py_INCREF(Py_None
); resultobj
= Py_None
;
24176 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24179 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24181 return Py_BuildValue((char *)"");
24183 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24184 PyObject
*resultobj
;
24185 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24187 wxWindow
*arg3
= (wxWindow
*) 0 ;
24188 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24189 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24190 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24191 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24192 long arg6
= (long) 0 ;
24193 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24194 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24195 wxPyPreviewControlBar
*result
;
24198 bool temp7
= False
;
24199 PyObject
* obj0
= 0 ;
24200 PyObject
* obj1
= 0 ;
24201 PyObject
* obj2
= 0 ;
24202 PyObject
* obj3
= 0 ;
24203 PyObject
* obj4
= 0 ;
24204 PyObject
* obj5
= 0 ;
24205 PyObject
* obj6
= 0 ;
24206 char *kwnames
[] = {
24207 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24213 arg2
= (long) SWIG_AsLong(obj1
);
24214 if (PyErr_Occurred()) SWIG_fail
;
24215 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24220 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24226 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24230 arg6
= (long) SWIG_AsLong(obj5
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24235 arg7
= wxString_in_helper(obj6
);
24236 if (arg7
== NULL
) SWIG_fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24262 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24263 PyObject
*resultobj
;
24264 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24265 PyObject
*arg2
= (PyObject
*) 0 ;
24266 PyObject
*arg3
= (PyObject
*) 0 ;
24267 PyObject
* obj0
= 0 ;
24268 PyObject
* obj1
= 0 ;
24269 PyObject
* obj2
= 0 ;
24270 char *kwnames
[] = {
24271 (char *) "self",(char *) "self",(char *) "_class", NULL
24274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24286 Py_INCREF(Py_None
); resultobj
= Py_None
;
24293 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24294 PyObject
*resultobj
;
24295 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24296 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24297 PyObject
* obj0
= 0 ;
24298 PyObject
* obj1
= 0 ;
24299 char *kwnames
[] = {
24300 (char *) "self",(char *) "preview", NULL
24303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 (arg1
)->SetPrintPreview(arg2
);
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24315 Py_INCREF(Py_None
); resultobj
= Py_None
;
24322 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24323 PyObject
*resultobj
;
24324 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24325 PyObject
* obj0
= 0 ;
24326 char *kwnames
[] = {
24327 (char *) "self", NULL
24330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24335 (arg1
)->base_CreateButtons();
24337 wxPyEndAllowThreads(__tstate
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24340 Py_INCREF(Py_None
); resultobj
= Py_None
;
24347 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24348 PyObject
*resultobj
;
24349 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24351 PyObject
* obj0
= 0 ;
24352 PyObject
* obj1
= 0 ;
24353 char *kwnames
[] = {
24354 (char *) "self",(char *) "zoom", NULL
24357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24360 arg2
= (int) SWIG_AsInt(obj1
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 (arg1
)->base_SetZoomControl(arg2
);
24366 wxPyEndAllowThreads(__tstate
);
24367 if (PyErr_Occurred()) SWIG_fail
;
24369 Py_INCREF(Py_None
); resultobj
= Py_None
;
24376 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24379 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24381 return Py_BuildValue((char *)"");
24383 static PyMethodDef SwigMethods
[] = {
24384 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24385 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24386 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24387 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24388 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24389 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24390 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24391 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24392 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24393 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24394 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24395 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24396 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24397 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24398 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24399 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24400 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24401 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24402 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24403 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24404 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24405 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24406 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24407 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24408 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24409 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24410 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24411 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24412 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24413 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24414 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24415 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24416 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24417 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24418 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24419 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24420 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24421 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24422 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24423 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24424 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24425 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24426 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24427 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24428 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24429 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24430 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24431 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24432 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24433 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24434 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24435 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24436 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24437 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24438 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24439 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24440 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24441 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24442 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24443 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24444 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24445 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24446 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24447 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24448 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24449 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24450 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24451 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24452 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24453 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24454 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24455 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24456 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24457 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24458 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24459 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
24460 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24461 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24462 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24463 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24464 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24465 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24466 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24467 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24468 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24469 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24470 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24471 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24472 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24473 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24474 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24475 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24476 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24477 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24478 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24479 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24480 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24481 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24482 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24483 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24484 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24485 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24486 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24487 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24488 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24489 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24490 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24491 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24492 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24493 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24494 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24495 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24496 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24497 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24498 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24499 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24500 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24501 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24502 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24503 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24504 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24505 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24506 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24507 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24508 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24509 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24510 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24511 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24512 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24513 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24514 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24515 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24516 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24517 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24518 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24519 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24520 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24521 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24522 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24523 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24524 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24525 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24526 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24527 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24528 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24529 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24530 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24531 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24532 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24533 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24534 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24535 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24536 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24537 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24538 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24539 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24540 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24541 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24542 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24543 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24544 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24545 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24546 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24547 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24548 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24549 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24550 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24551 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24552 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24553 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24554 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24555 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24556 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24557 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24558 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24559 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24560 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24561 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24562 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24563 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24564 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24565 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24566 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
24567 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24568 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24569 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
24570 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
24571 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
24572 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24573 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24574 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24575 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24576 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24577 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24578 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
24579 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24580 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
24581 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24582 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24583 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
24584 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
24585 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24586 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
24587 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24588 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24589 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24590 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
24591 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
24592 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24593 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24594 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24595 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
24596 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
24597 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
24598 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
24599 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
24600 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
24601 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
24602 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24603 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24604 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24605 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24606 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24607 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
24608 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
24609 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
24610 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
24611 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
24612 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
24613 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
24614 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24615 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24616 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24617 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24618 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24619 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
24620 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
24621 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
24622 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24623 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24624 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24625 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
24626 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24627 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24628 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
24629 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
24630 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
24631 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
24632 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24635 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24637 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
24638 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
24639 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
24640 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
24641 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
24644 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24645 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
24646 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24647 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24649 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
24653 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
24659 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
24661 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
24662 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
24663 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24665 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24666 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24669 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
24672 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
24674 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
24675 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
24676 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24678 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
24682 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24689 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24690 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24691 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24692 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24697 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
24700 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
24704 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
24709 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
24713 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24715 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24724 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
24729 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
24732 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
24734 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
24738 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
24743 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
24747 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
24756 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
24762 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
24777 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
24784 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
24788 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
24812 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
24836 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
24860 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
24906 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
24938 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
24942 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
24943 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
24976 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
24981 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
24992 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25015 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25017 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25023 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25033 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25034 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25057 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25058 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25067 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25071 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25075 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25085 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25087 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25088 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25090 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25091 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25093 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25094 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25096 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25097 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25099 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25100 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25102 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25103 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25105 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25106 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25108 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25109 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25111 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25112 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25114 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25115 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25117 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25118 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25120 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25121 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25123 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25124 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25126 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25127 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25129 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25130 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25132 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25133 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25135 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25136 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25138 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25139 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25141 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25142 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25144 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25145 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25147 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25148 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25150 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25151 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25153 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25154 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25156 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25157 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25159 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25160 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25162 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25163 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25165 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25166 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25168 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25169 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25171 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25172 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25174 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25175 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25177 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25178 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25180 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25181 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25183 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25184 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25186 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25187 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25189 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25190 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25192 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25193 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25195 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25196 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25198 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25199 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25201 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25202 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25204 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25205 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25207 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25208 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25210 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25211 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25213 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25214 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25216 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25219 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25222 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25225 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25226 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25228 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25229 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25231 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25232 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25234 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25235 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25237 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25240 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25243 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25246 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25249 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25250 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25252 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25255 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25258 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25259 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25261 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25262 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25264 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25267 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25270 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25273 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25274 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25276 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25277 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25279 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25280 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25282 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25283 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25285 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25286 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25288 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25289 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25291 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25292 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25294 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25295 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25297 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25298 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25300 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25303 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25304 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25306 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25307 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25309 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25310 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25312 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25315 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25316 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25318 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25321 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25322 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25324 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25325 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25327 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25328 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25330 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25331 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25333 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25334 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25336 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25337 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25339 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25340 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25342 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25343 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25345 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25346 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25348 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25349 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25351 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25352 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25354 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25355 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25357 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25358 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25360 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25361 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25363 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25364 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25366 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25367 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25369 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25370 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25372 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25373 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25375 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25376 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25378 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25379 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25381 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25382 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25384 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25385 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25387 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25388 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25390 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25391 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25393 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25394 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25396 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25397 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25399 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25402 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25403 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25405 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25406 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25408 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25409 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25411 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25412 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25414 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25415 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25417 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25418 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25420 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25421 return (void *)((wxObject
*) ((wxSizer
*) x
));
25423 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25424 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25426 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25427 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25429 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25432 static void *_p_wxEventTo_p_wxObject(void *x
) {
25433 return (void *)((wxObject
*) ((wxEvent
*) x
));
25435 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25436 return (void *)((wxObject
*) ((wxFontData
*) x
));
25438 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25439 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25441 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25442 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25444 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25445 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25447 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25448 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25450 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25451 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25453 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25454 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25456 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25457 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25459 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25460 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25462 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25463 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25465 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25466 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25468 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25469 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25471 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25472 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25474 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25475 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25477 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25480 static void *_p_wxControlTo_p_wxObject(void *x
) {
25481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25483 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25484 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25486 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25487 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25489 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25490 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25492 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25493 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25495 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25496 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25498 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25501 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25502 return (void *)((wxObject
*) ((wxColourData
*) x
));
25504 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25505 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25507 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25508 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25510 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25513 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25514 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25516 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25519 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25522 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25525 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25528 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25531 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25534 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25537 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25538 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25540 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25541 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25543 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25544 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25546 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25547 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25549 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25550 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25552 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25553 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25555 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25556 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25558 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25559 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25561 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25562 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25564 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25565 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25567 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25568 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25570 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25571 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25573 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25574 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25576 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25577 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25579 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25580 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25582 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25583 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25585 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25586 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25588 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25589 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25591 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25592 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25594 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25595 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25597 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25598 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25600 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25601 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25603 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25604 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25606 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25607 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25609 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25610 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25612 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25615 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25618 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25619 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25621 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25624 static void *_p_wxImageTo_p_wxObject(void *x
) {
25625 return (void *)((wxObject
*) ((wxImage
*) x
));
25627 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25630 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
25631 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
25633 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25634 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25636 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
25637 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25639 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
25640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
25642 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
25643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25645 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25646 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25648 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25649 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25651 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25652 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25654 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25655 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25657 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25658 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25660 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25663 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
25664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25666 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
25667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
25669 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
25670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
25672 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
25673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
25675 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
25676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
25678 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
25679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25681 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
25682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
25684 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
25685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25687 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
25688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25690 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
25691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25693 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
25694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
25696 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
25697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25699 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
25700 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
25702 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
25703 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
25705 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
25706 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25708 static void *_p_wxPanelTo_p_wxObject(void *x
) {
25709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
25711 static void *_p_wxDialogTo_p_wxObject(void *x
) {
25712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25714 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
25715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25717 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
25718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25720 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
25721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25723 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
25724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25726 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
25727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25729 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25730 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25732 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25733 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25735 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25736 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25738 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25739 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25741 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25742 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25744 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25745 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25747 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25748 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25750 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25751 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25753 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25754 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25756 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
25757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25759 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
25760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25762 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25763 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25765 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25766 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25768 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25769 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25771 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25772 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25774 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
25775 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
25777 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
25778 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
25780 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25783 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25784 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25786 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25787 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25789 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25790 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25792 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
25793 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25795 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
25796 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25798 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
25799 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25801 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
25802 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25804 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
25805 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
25807 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
25808 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
25810 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
25811 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
25813 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
25814 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
25816 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
25817 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
25819 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
25820 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
25822 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
25823 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
25825 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
25826 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
25828 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
25829 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
25831 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
25832 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
25834 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
25835 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
25837 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
25838 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
25840 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
25841 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
25843 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
25844 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
25846 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
25847 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
25849 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25850 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25852 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25853 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25855 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
25856 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
25858 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25859 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
25861 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25862 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25864 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
25865 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25867 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
25868 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25870 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
25871 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
25873 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25874 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25876 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
25877 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25879 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
25880 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25882 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
25883 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25885 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
25886 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25888 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
25889 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25891 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
25892 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25894 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
25895 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25897 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
25898 return (void *)((wxWindow
*) ((wxPanel
*) x
));
25900 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
25901 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
25903 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
25904 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
25906 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
25907 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25909 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
25910 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25912 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
25913 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25915 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
25916 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
25918 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
25919 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25921 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
25922 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
25924 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
25925 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
25927 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
25928 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
25930 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
25931 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
25933 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
25934 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
25936 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
25937 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25939 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25940 return (void *)((wxWindow
*) ((wxControl
*) x
));
25942 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
25943 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25945 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
25946 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25948 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
25949 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25951 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25952 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25954 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
25955 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
25957 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
25958 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25960 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
25961 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25963 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
25964 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25966 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
25967 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
25969 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
25970 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25972 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
25973 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
25975 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
25976 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25978 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
25979 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25981 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
25982 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25984 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
25985 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
25987 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
25988 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25990 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
25991 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25993 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
25994 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25996 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
25997 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25999 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26000 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26002 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26003 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26005 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26006 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26008 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26009 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26011 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26012 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26014 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26015 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26017 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26018 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26020 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26021 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26023 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26024 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26026 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26027 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26029 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26030 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26032 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26033 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26035 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26036 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26038 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26039 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26041 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26042 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26044 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26045 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26047 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26048 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26050 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26051 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26053 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26054 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26056 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26057 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26059 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26060 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26062 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26063 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26065 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26066 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26068 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26069 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26071 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26072 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26074 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26075 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26077 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26078 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26080 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26081 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26083 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26084 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26086 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26087 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26089 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26090 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26092 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26093 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26095 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26096 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26098 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26099 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26101 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}};
26102 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}};
26103 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}};
26104 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}};
26105 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}};
26106 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}};
26107 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}};
26108 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}};
26109 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}};
26110 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}};
26111 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}};
26112 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}};
26113 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}};
26114 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}};
26115 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}};
26116 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}};
26117 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}};
26118 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}};
26119 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}};
26120 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}};
26121 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}};
26122 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}};
26123 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}};
26124 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}};
26125 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}};
26126 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}};
26127 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}};
26128 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}};
26129 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}};
26130 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}};
26131 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}};
26132 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}};
26133 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}};
26134 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}};
26135 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}};
26136 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26137 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}};
26138 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}};
26139 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}};
26140 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}};
26141 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}};
26142 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}};
26143 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}};
26144 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}};
26145 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}};
26146 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}};
26147 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}};
26148 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}};
26149 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}};
26150 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26151 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}};
26152 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}};
26153 static swig_type_info _swigt__p_wxPyScrolledWindow
[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26154 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}};
26155 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}};
26156 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}};
26157 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}};
26158 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}};
26159 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}};
26160 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}};
26161 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}};
26162 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}};
26163 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26164 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26165 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}};
26166 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}};
26167 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}};
26168 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}};
26169 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}};
26170 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}};
26171 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}};
26172 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}};
26173 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}};
26174 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}};
26175 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26176 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}};
26177 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}};
26178 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}};
26179 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}};
26180 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}};
26181 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}};
26182 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}};
26183 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}};
26184 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}};
26185 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}};
26187 static swig_type_info
*swig_types_initial
[] = {
26188 _swigt__p_wxQueryLayoutInfoEvent
,
26189 _swigt__p_wxPreviewFrame
,
26190 _swigt__p_wxPyPreviewFrame
,
26191 _swigt__p_wxPyPanel
,
26193 _swigt__p_wxPrintData
,
26194 _swigt__p_wxFontData
,
26196 _swigt__p_wxTaskBarIcon
,
26197 _swigt__p_wxIconBundle
,
26198 _swigt__p_wxLayoutAlgorithm
,
26199 _swigt__p_wxFindDialogEvent
,
26200 _swigt__p_wxPreviewCanvas
,
26202 _swigt__p_wxSplitterEvent
,
26203 _swigt__p_wxRegion
,
26204 _swigt__p_wxFindReplaceData
,
26209 _swigt__p_wxMDIChildFrame
,
26210 _swigt__p_wxColourData
,
26211 _swigt__p_wxNotifyEvent
,
26212 _swigt__p_wxPyWindow
,
26213 _swigt__p_wxSplashScreen
,
26214 _swigt__p_wxFindReplaceDialog
,
26215 _swigt__p_wxProgressDialog
,
26216 _swigt__p_wxMessageDialog
,
26217 _swigt__p_wxTextEntryDialog
,
26218 _swigt__p_wxSingleChoiceDialog
,
26219 _swigt__p_wxMultiChoiceDialog
,
26220 _swigt__p_wxFileDialog
,
26221 _swigt__p_wxPrinter
,
26222 _swigt__p_wxArrayInt
,
26223 _swigt__p_wxEvtHandler
,
26224 _swigt__p_wxCalculateLayoutEvent
,
26225 _swigt__p_wxPyHtmlListBox
,
26226 _swigt__p_wxPyVListBox
,
26229 _swigt__p_wxMiniFrame
,
26231 _swigt__p_wxPyPrintout
,
26232 _swigt__p_wxTaskBarIconEvent
,
26233 _swigt__p_wxScrollWinEvent
,
26234 _swigt__p_wxStatusBar
,
26235 _swigt__p_wxMDIParentFrame
,
26237 _swigt__p_wxObject
,
26238 _swigt__p_wxOutputStream
,
26239 _swigt__p_unsigned_long
,
26240 _swigt__p_wxPyScrolledWindow
,
26241 _swigt__p_wxMDIClientWindow
,
26242 _swigt__p_wxTipWindow
,
26243 _swigt__p_wxSashLayoutWindow
,
26244 _swigt__p_wxSplitterWindow
,
26245 _swigt__p_wxPyVScrolledWindow
,
26246 _swigt__p_wxPyPopupTransientWindow
,
26247 _swigt__p_wxPopupWindow
,
26248 _swigt__p_wxSashWindow
,
26249 _swigt__p_wxTopLevelWindow
,
26250 _swigt__p_wxWindow
,
26251 _swigt__p_wxScrolledWindow
,
26252 _swigt__p_wxSplashScreenWindow
,
26253 _swigt__p_wxMenuBar
,
26254 _swigt__p_wxPrintPreview
,
26255 _swigt__p_wxSashEvent
,
26256 _swigt__p_wxString
,
26257 _swigt__p_wxPyPrintPreview
,
26258 _swigt__p_wxFontDialog
,
26259 _swigt__p_wxDirDialog
,
26260 _swigt__p_wxColourDialog
,
26261 _swigt__p_wxDialog
,
26263 _swigt__p_wxPageSetupDialog
,
26264 _swigt__p_wxPrintDialog
,
26265 _swigt__p_wxBitmap
,
26266 _swigt__p_wxCommandEvent
,
26267 _swigt__p_wxPreviewControlBar
,
26268 _swigt__p_wxPyPreviewControlBar
,
26269 _swigt__p_wxColour
,
26270 _swigt__p_wxToolBar
,
26271 _swigt__p_wxPageSetupDialogData
,
26272 _swigt__p_wxPrintDialogData
,
26277 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26279 static swig_const_info swig_const_table
[] = {
26289 SWIGEXPORT(void) SWIG_init(void) {
26290 static PyObject
*SWIG_globals
= 0;
26291 static int typeinit
= 0;
26294 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26295 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26296 d
= PyModule_GetDict(m
);
26299 for (i
= 0; swig_types_initial
[i
]; i
++) {
26300 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26304 SWIG_InstallConstants(d
,swig_const_table
);
26306 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26307 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26308 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26309 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26310 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26311 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26312 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26313 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26314 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26315 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26316 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26317 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26318 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26319 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26320 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26321 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26322 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26323 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26324 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26325 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26326 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26327 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26328 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26329 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26330 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26331 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26332 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26333 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26334 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26335 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26336 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26337 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26338 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26339 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26340 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26341 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26342 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26343 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26344 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26345 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26346 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26347 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26348 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26349 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26350 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26351 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26352 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26353 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26354 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26355 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26356 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26357 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26358 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26359 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26360 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26361 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26362 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26363 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26364 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26365 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26366 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26367 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26368 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26369 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26370 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26371 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26372 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26373 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26375 // Map renamed classes back to their common name for OOR
26376 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26377 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26378 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26380 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26381 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26382 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26383 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26384 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26385 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26386 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26387 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26388 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26389 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26390 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26391 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26392 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26393 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26394 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26395 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26396 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26397 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26398 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26399 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26400 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26401 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26402 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26403 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26404 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26405 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26406 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26407 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26408 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26409 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26410 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26411 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26412 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26413 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26414 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26415 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26416 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26417 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26418 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26419 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26420 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26421 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26422 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26423 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26424 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26425 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26426 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26427 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26428 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26429 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26430 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26431 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26432 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26433 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26434 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26435 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26436 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26437 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26438 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26439 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26441 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");