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);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
234 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
235 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
236 #define SWIGTYPE_p_wxPyPanel swig_types[3]
237 #define SWIGTYPE_p_wxMenu swig_types[4]
238 #define SWIGTYPE_p_wxPrintData swig_types[5]
239 #define SWIGTYPE_p_wxFontData swig_types[6]
240 #define SWIGTYPE_p_wxEvent swig_types[7]
241 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
242 #define SWIGTYPE_p_wxIconBundle swig_types[9]
243 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
244 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
245 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
246 #define SWIGTYPE_p_wxFont swig_types[13]
247 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
248 #define SWIGTYPE_p_wxRegion swig_types[15]
249 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
250 #define SWIGTYPE_p_int swig_types[17]
251 #define SWIGTYPE_p_wxSize swig_types[18]
252 #define SWIGTYPE_p_wxDC swig_types[19]
253 #define SWIGTYPE_p_wxIcon swig_types[20]
254 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
255 #define SWIGTYPE_p_wxColourData swig_types[22]
256 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
257 #define SWIGTYPE_p_wxPyWindow swig_types[24]
258 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
259 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
260 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
261 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
262 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
263 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
264 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
265 #define SWIGTYPE_p_wxFileDialog swig_types[32]
266 #define SWIGTYPE_p_wxPrinter swig_types[33]
267 #define SWIGTYPE_p_wxArrayInt swig_types[34]
268 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
269 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
270 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
271 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
272 #define SWIGTYPE_p_wxRect swig_types[39]
273 #define SWIGTYPE_p_char swig_types[40]
274 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
275 #define SWIGTYPE_p_wxFrame swig_types[42]
276 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
277 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
278 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
279 #define SWIGTYPE_p_wxStatusBar swig_types[46]
280 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
281 #define SWIGTYPE_p_wxPoint swig_types[48]
282 #define SWIGTYPE_p_wxObject swig_types[49]
283 #define SWIGTYPE_p_unsigned_long swig_types[50]
284 #define SWIGTYPE_p_wxMDIClientWindow swig_types[51]
285 #define SWIGTYPE_p_wxTipWindow swig_types[52]
286 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[53]
287 #define SWIGTYPE_p_wxSplitterWindow swig_types[54]
288 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[55]
289 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[56]
290 #define SWIGTYPE_p_wxPopupWindow swig_types[57]
291 #define SWIGTYPE_p_wxSashWindow swig_types[58]
292 #define SWIGTYPE_p_wxTopLevelWindow swig_types[59]
293 #define SWIGTYPE_p_wxWindow swig_types[60]
294 #define SWIGTYPE_p_wxScrolledWindow swig_types[61]
295 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[62]
296 #define SWIGTYPE_p_wxMenuBar swig_types[63]
297 #define SWIGTYPE_p_wxPrintPreview swig_types[64]
298 #define SWIGTYPE_p_wxSashEvent swig_types[65]
299 #define SWIGTYPE_p_wxString swig_types[66]
300 #define SWIGTYPE_p_wxPyPrintPreview swig_types[67]
301 #define SWIGTYPE_p_wxPageSetupDialog swig_types[68]
302 #define SWIGTYPE_p_wxFontDialog swig_types[69]
303 #define SWIGTYPE_p_wxDirDialog swig_types[70]
304 #define SWIGTYPE_p_wxColourDialog swig_types[71]
305 #define SWIGTYPE_p_wxDialog swig_types[72]
306 #define SWIGTYPE_p_wxPanel swig_types[73]
307 #define SWIGTYPE_p_wxPrintDialog swig_types[74]
308 #define SWIGTYPE_p_wxBitmap swig_types[75]
309 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
310 #define SWIGTYPE_p_wxPreviewControlBar swig_types[77]
311 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[78]
312 #define SWIGTYPE_p_wxColour swig_types[79]
313 #define SWIGTYPE_p_wxToolBar swig_types[80]
314 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
315 #define SWIGTYPE_p_wxPrintDialogData swig_types[82]
316 static swig_type_info
*swig_types
[84];
318 /* -------- TYPES TABLE (END) -------- */
321 /*-----------------------------------------------
322 @(target):= _windows.so
323 ------------------------------------------------*/
324 #define SWIG_init init_windows
326 #define SWIG_name "_windows"
334 #define SWIGSTATIC(a) static inline a
336 #define SWIGSTATIC(a) static a
342 #ifdef HAVE_NUMERIC_CAST
343 #define numeric_cast(type,a) numeric_cast<type>(a)
345 #define numeric_cast(type,a) static_cast<type>(a)
348 #define numeric_cast(type,a) (type)(a)
354 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
355 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromShort PyInt_FromLong
357 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
358 #define SWIG_PyObj_FromInt PyInt_FromLong
359 #define SWIG_PyObj_FromLong PyInt_FromLong
360 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
361 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
362 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
363 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
366 #include "wx/wxPython/wxPython.h"
367 #include "wx/wxPython/pyclasses.h"
370 static const wxString
wxPyEmptyString(wxEmptyString
);
371 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
376 SWIG_PyObj_AsInt(PyObject
*obj
)
378 return numeric_cast(int,
379 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
384 SWIG_PyObj_AsLong(PyObject
* obj
)
386 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
391 SWIG_PyObj_AsBool(PyObject
*obj
)
393 return PyObject_IsTrue(obj
) ? true : false;
397 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
403 } else if (target
== Py_None
) {
407 if (!PyTuple_Check(target
)) {
409 target
= PyTuple_New(1);
410 PyTuple_SetItem(target
, 0, o2
);
413 PyTuple_SetItem(o3
, 0, o
);
416 target
= PySequence_Concat(o2
, o3
);
425 SWIG_PyObj_AsDouble(PyObject
*obj
)
427 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
429 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
431 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
433 if (PyErr_Occurred()) {
435 PyErr_SetString(PyExc_TypeError
, "a double is expected");
439 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
440 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
441 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
442 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
443 bool wxDialog_IsModalShowing(wxDialog
*self
){
447 return self
->IsModalShowing();
452 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
454 self
->GetFieldRect(i
, r
);
457 static const wxString
wxPySplitterNameStr(wxT("splitter"));
458 static const wxString
wxPySashNameStr(wxT("sashWindow"));
459 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
461 #include <wx/popupwin.h>
464 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
467 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
468 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
469 : wxPopupTransientWindow(parent
, style
) {}
471 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
472 DEC_PYCALLBACK__(OnDismiss
);
473 DEC_PYCALLBACK_BOOL_(CanDismiss
);
478 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
479 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
480 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
483 #include <wx/tipwin.h>
485 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
486 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
489 #include <wx/tipwin.h>
492 #include <wx/vscroll.h>
495 class wxPyVScrolledWindow
: public wxVScrolledWindow
497 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
499 wxPyVScrolledWindow() : wxVScrolledWindow() {}
501 wxPyVScrolledWindow(wxWindow
*parent
,
502 wxWindowID id
= wxID_ANY
,
503 const wxPoint
& pos
= wxDefaultPosition
,
504 const wxSize
& size
= wxDefaultSize
,
506 const wxString
& name
= wxPyPanelNameStr
)
507 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
510 // Overridable virtuals
512 // this function must be overridden in the derived class and it should
513 // return the height of the given line in pixels
514 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
517 // this function doesn't have to be overridden but it may be useful to do
518 // it if calculating the lines heights is a relatively expensive operation
519 // as it gives the user code a possibility to calculate several of them at
522 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
523 // shouldn't rely on the latter being called for all lines in the interval
524 // specified here. It is also possible that OnGetLineHeight() will be
525 // called for the lines outside of this interval, so this is really just a
526 // hint, not a promise.
528 // finally note that lineMin is inclusive, while lineMax is exclusive, as
530 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
533 // when the number of lines changes, we try to estimate the total height
534 // of all lines which is a rather expensive operation in terms of lines
535 // access, so if the user code may estimate the average height
536 // better/faster than we do, it should override this function to implement
539 // this function should return the best guess for the total height it may
541 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
544 // Also expose some other interesting protected methods
547 // find the index of the line we need to show at the top of the window such
548 // that the last (fully or partially) visible line is the given one
549 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
550 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
552 // get the total height of the lines between lineMin (inclusive) and
553 // lineMax (exclusive)
554 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
555 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
561 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
563 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
564 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
565 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
568 SWIGSTATIC(PyObject
* )
569 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
571 return (value
> (unsigned long)(LONG_MAX
)) ?
572 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
576 #include <wx/vlbox.h>
578 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
580 class wxPyVListBox
: public wxVListBox
582 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
584 wxPyVListBox() : wxVListBox() {}
586 wxPyVListBox(wxWindow
*parent
,
587 wxWindowID id
= wxID_ANY
,
588 const wxPoint
& pos
= wxDefaultPosition
,
589 const wxSize
& size
= wxDefaultSize
,
591 const wxString
& name
= wxPyVListBoxNameStr
)
592 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
595 // Overridable virtuals
597 // the derived class must implement this function to actually draw the item
598 // with the given index on the provided DC
599 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
600 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
603 // the derived class must implement this method to return the height of the
605 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
606 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
609 // this method may be used to draw separators between the lines; note that
610 // the rectangle may be modified, typically to deflate it a bit before
611 // passing to OnDrawItem()
613 // the base class version doesn't do anything
614 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
615 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
618 // this method is used to draw the items background and, maybe, a border
621 // the base class version implements a reasonable default behaviour which
622 // consists in drawing the selected item with the standard background
623 // colour and drawing a border around the item if it is either selected or
625 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
626 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
632 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
634 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
635 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
636 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
637 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
641 #include <wx/htmllbox.h>
644 class wxPyHtmlListBox
: public wxHtmlListBox
646 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
648 wxPyHtmlListBox() : wxHtmlListBox() {}
650 wxPyHtmlListBox(wxWindow
*parent
,
651 wxWindowID id
= wxID_ANY
,
652 const wxPoint
& pos
= wxDefaultPosition
,
653 const wxSize
& size
= wxDefaultSize
,
655 const wxString
& name
= wxPyVListBoxNameStr
)
656 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
659 // Overridable virtuals
661 // this method must be implemented in the derived class and should return
662 // the body (i.e. without <html>) of the HTML for the given item
663 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
665 // this function may be overridden to decorate HTML returned by OnGetItem()
666 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
669 // // this method allows to customize the selection appearance: it may be used
670 // // to specify the colour of the text which normally has the given colour
671 // // colFg when it is inside the selection
673 // // by default, the original colour is not used at all and all text has the
674 // // same (default for this system) colour inside selection
675 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
677 // // this is the same as GetSelectedTextColour() but allows to customize the
678 // // background colour -- this is even more rarely used as you can change it
679 // // globally using SetSelectionBackground()
680 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
687 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
689 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
690 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
697 // implement dummy classes and such for wxMac
699 class wxTaskBarIcon
: public wxEvtHandler
702 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
706 class wxTaskBarIconEvent
: public wxEvent
709 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
710 { wxPyRaiseNotImplemented(); }
711 virtual wxEvent
* Clone() const { return NULL
; }
715 wxEVT_TASKBAR_MOVE
= 0,
716 wxEVT_TASKBAR_LEFT_DOWN
= 0,
717 wxEVT_TASKBAR_LEFT_UP
= 0,
718 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
719 wxEVT_TASKBAR_RIGHT_UP
= 0,
720 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
721 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
725 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
726 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
727 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
728 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
729 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
730 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
731 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
733 self
->GetFilenames(arr
);
734 return wxArrayString2PyList_helper(arr
);
736 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
739 return wxArrayString2PyList_helper(arr
);
741 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
742 return wxArrayInt2PyList_helper(self
->GetSelections());
744 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
745 return new wxSingleChoiceDialog(parent
, message
, caption
,
746 choices
, choices_array
, NULL
, style
, pos
);
751 // C++ version of Python aware wxWindow
752 class wxPyWindow
: public wxWindow
754 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
756 wxPyWindow() : wxWindow() {}
757 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
758 const wxPoint
& pos
= wxDefaultPosition
,
759 const wxSize
& size
= wxDefaultSize
,
761 const wxString
& name
= wxPyPanelNameStr
)
762 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
765 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
766 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
767 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
768 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
770 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
771 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
772 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
774 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
775 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
777 DEC_PYCALLBACK__(InitDialog
);
778 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
779 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
780 DEC_PYCALLBACK_BOOL_(Validate
);
782 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
783 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
784 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
786 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
787 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
792 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
794 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
795 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
796 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
797 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
799 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
800 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
801 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
803 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
804 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
806 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
807 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
808 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
809 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
811 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
812 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
813 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
815 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
816 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
819 // C++ version of Python aware wxPanel
820 class wxPyPanel
: public wxPanel
822 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
824 wxPyPanel() : wxPanel() {}
825 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
826 const wxPoint
& pos
= wxDefaultPosition
,
827 const wxSize
& size
= wxDefaultSize
,
829 const wxString
& name
= wxPyPanelNameStr
)
830 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
833 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
834 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
835 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
836 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
838 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
839 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
840 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
842 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
843 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
845 DEC_PYCALLBACK__(InitDialog
);
846 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
847 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
848 DEC_PYCALLBACK_BOOL_(Validate
);
850 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
851 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
852 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
854 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
855 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
860 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
862 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
863 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
864 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
865 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
867 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
868 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
869 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
871 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
872 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
874 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
875 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
876 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
877 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
879 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
880 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
881 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
883 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
884 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
888 #include "wx/wxPython/printfw.h"
891 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
892 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
896 // Since this one would be tough and ugly to do with the Macros...
897 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
901 wxPyBeginBlockThreads();
902 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
903 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
904 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
907 val
= PyTuple_GetItem(result
, 0);
908 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
911 val
= PyTuple_GetItem(result
, 1);
912 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
915 val
= PyTuple_GetItem(result
, 2);
916 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
919 val
= PyTuple_GetItem(result
, 3);
920 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
927 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
932 wxPyEndBlockThreads();
934 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
937 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
938 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
942 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
943 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
944 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
945 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
946 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
947 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
948 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
954 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
955 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
956 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
959 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
960 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
963 wxPyBeginBlockThreads(); \
964 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
965 PyObject* win = wxPyMake_wxObject(a); \
966 PyObject* dc = wxPyMake_wxObject(&b); \
967 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
971 wxPyEndBlockThreads(); \
973 rval = PCLASS::CBNAME(a, b); \
976 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
977 return PCLASS::CBNAME(a, b); \
983 class wxPyPrintPreview
: public wxPrintPreview
985 DECLARE_CLASS(wxPyPrintPreview
)
987 wxPyPrintPreview(wxPyPrintout
* printout
,
988 wxPyPrintout
* printoutForPrinting
,
989 wxPrintData
* data
=NULL
)
990 : wxPrintPreview(printout
, printoutForPrinting
, data
)
993 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
994 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
995 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
996 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
997 DEC_PYCALLBACK_VOID_INT(SetZoom
);
998 DEC_PYCALLBACK_BOOL_BOOL(Print
);
999 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1004 // Stupid renamed classes... Fix this in 2.5...
1005 #if defined(__WXMSW__)
1006 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1007 #elif defined(__WXMAC__)
1008 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1010 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1013 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1014 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1015 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1016 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1017 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1018 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1019 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1022 class wxPyPreviewFrame
: public wxPreviewFrame
1024 DECLARE_CLASS(wxPyPreviewFrame
);
1026 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1027 const wxString
& title
,
1028 const wxPoint
& pos
= wxDefaultPosition
,
1029 const wxSize
& size
= wxDefaultSize
,
1030 long style
= wxDEFAULT_FRAME_STYLE
,
1031 const wxString
& name
= wxPyFrameNameStr
)
1032 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1035 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1036 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1038 DEC_PYCALLBACK_VOID_(Initialize
);
1039 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1040 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1045 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1047 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1048 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1049 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1052 class wxPyPreviewControlBar
: public wxPreviewControlBar
1054 DECLARE_CLASS(wxPyPreviewControlBar
);
1056 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1059 const wxPoint
& pos
= wxDefaultPosition
,
1060 const wxSize
& size
= wxDefaultSize
,
1062 const wxString
& name
= wxPyPanelNameStr
)
1063 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1066 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1068 DEC_PYCALLBACK_VOID_(CreateButtons
);
1069 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1074 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1075 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1076 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1081 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
*resultobj
;
1083 wxWindow
*arg1
= (wxWindow
*) 0 ;
1084 int arg2
= (int) (int)-1 ;
1085 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1086 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1087 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1088 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1089 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1090 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1091 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1095 bool temp6
= False
;
1096 PyObject
* obj0
= 0 ;
1097 PyObject
* obj1
= 0 ;
1098 PyObject
* obj2
= 0 ;
1099 PyObject
* obj3
= 0 ;
1100 PyObject
* obj4
= 0 ;
1101 PyObject
* obj5
= 0 ;
1103 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1110 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
1111 if (PyErr_Occurred()) SWIG_fail
;
1117 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1123 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1128 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
1129 if (PyErr_Occurred()) SWIG_fail
;
1134 arg6
= wxString_in_helper(obj5
);
1135 if (arg6
== NULL
) SWIG_fail
;
1140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1141 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1143 wxPyEndAllowThreads(__tstate
);
1144 if (PyErr_Occurred()) SWIG_fail
;
1146 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1161 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1162 PyObject
*resultobj
;
1168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1171 result
= (wxPanel
*)new wxPanel();
1173 wxPyEndAllowThreads(__tstate
);
1174 if (PyErr_Occurred()) SWIG_fail
;
1176 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1183 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
*resultobj
;
1185 wxPanel
*arg1
= (wxPanel
*) 0 ;
1186 wxWindow
*arg2
= (wxWindow
*) 0 ;
1188 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1189 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1190 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1191 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1192 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1193 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1194 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1198 bool temp7
= False
;
1199 PyObject
* obj0
= 0 ;
1200 PyObject
* obj1
= 0 ;
1201 PyObject
* obj2
= 0 ;
1202 PyObject
* obj3
= 0 ;
1203 PyObject
* obj4
= 0 ;
1204 PyObject
* obj5
= 0 ;
1205 PyObject
* obj6
= 0 ;
1207 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1212 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1214 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
1215 if (PyErr_Occurred()) SWIG_fail
;
1220 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1226 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1231 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1232 if (PyErr_Occurred()) SWIG_fail
;
1237 arg7
= wxString_in_helper(obj6
);
1238 if (arg7
== NULL
) SWIG_fail
;
1243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1244 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1246 wxPyEndAllowThreads(__tstate
);
1247 if (PyErr_Occurred()) SWIG_fail
;
1249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1264 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1265 PyObject
*resultobj
;
1266 wxPanel
*arg1
= (wxPanel
*) 0 ;
1267 PyObject
* obj0
= 0 ;
1269 (char *) "self", NULL
1272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1276 (arg1
)->InitDialog();
1278 wxPyEndAllowThreads(__tstate
);
1279 if (PyErr_Occurred()) SWIG_fail
;
1281 Py_INCREF(Py_None
); resultobj
= Py_None
;
1288 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1291 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1293 return Py_BuildValue((char *)"");
1295 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
*resultobj
;
1297 wxWindow
*arg1
= (wxWindow
*) 0 ;
1298 int arg2
= (int) (int)-1 ;
1299 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1300 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1301 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1302 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1303 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1304 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1305 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1306 wxScrolledWindow
*result
;
1309 bool temp6
= False
;
1310 PyObject
* obj0
= 0 ;
1311 PyObject
* obj1
= 0 ;
1312 PyObject
* obj2
= 0 ;
1313 PyObject
* obj3
= 0 ;
1314 PyObject
* obj4
= 0 ;
1315 PyObject
* obj5
= 0 ;
1317 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1324 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
1325 if (PyErr_Occurred()) SWIG_fail
;
1331 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1337 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1342 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
1343 if (PyErr_Occurred()) SWIG_fail
;
1348 arg6
= wxString_in_helper(obj5
);
1349 if (arg6
== NULL
) SWIG_fail
;
1354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1355 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1357 wxPyEndAllowThreads(__tstate
);
1358 if (PyErr_Occurred()) SWIG_fail
;
1360 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1375 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
*resultobj
;
1377 wxScrolledWindow
*result
;
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1385 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1387 wxPyEndAllowThreads(__tstate
);
1388 if (PyErr_Occurred()) SWIG_fail
;
1390 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1397 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1398 PyObject
*resultobj
;
1399 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1400 wxWindow
*arg2
= (wxWindow
*) 0 ;
1401 int arg3
= (int) (int)-1 ;
1402 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1403 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1404 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1405 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1406 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1407 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1408 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1412 bool temp7
= False
;
1413 PyObject
* obj0
= 0 ;
1414 PyObject
* obj1
= 0 ;
1415 PyObject
* obj2
= 0 ;
1416 PyObject
* obj3
= 0 ;
1417 PyObject
* obj4
= 0 ;
1418 PyObject
* obj5
= 0 ;
1419 PyObject
* obj6
= 0 ;
1421 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1426 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1429 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
1430 if (PyErr_Occurred()) SWIG_fail
;
1436 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1442 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1447 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1448 if (PyErr_Occurred()) SWIG_fail
;
1453 arg7
= wxString_in_helper(obj6
);
1454 if (arg7
== NULL
) SWIG_fail
;
1459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1460 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1462 wxPyEndAllowThreads(__tstate
);
1463 if (PyErr_Occurred()) SWIG_fail
;
1465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1480 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
*resultobj
;
1482 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1487 int arg6
= (int) 0 ;
1488 int arg7
= (int) 0 ;
1489 bool arg8
= (bool) False
;
1490 PyObject
* obj0
= 0 ;
1491 PyObject
* obj1
= 0 ;
1492 PyObject
* obj2
= 0 ;
1493 PyObject
* obj3
= 0 ;
1494 PyObject
* obj4
= 0 ;
1495 PyObject
* obj5
= 0 ;
1496 PyObject
* obj6
= 0 ;
1497 PyObject
* obj7
= 0 ;
1499 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1505 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1506 if (PyErr_Occurred()) SWIG_fail
;
1509 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1510 if (PyErr_Occurred()) SWIG_fail
;
1513 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
1514 if (PyErr_Occurred()) SWIG_fail
;
1517 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
1518 if (PyErr_Occurred()) SWIG_fail
;
1522 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
1523 if (PyErr_Occurred()) SWIG_fail
;
1528 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
1529 if (PyErr_Occurred()) SWIG_fail
;
1534 arg8
= (bool) SWIG_PyObj_AsBool(obj7
);
1535 if (PyErr_Occurred()) SWIG_fail
;
1539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1540 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1542 wxPyEndAllowThreads(__tstate
);
1543 if (PyErr_Occurred()) SWIG_fail
;
1545 Py_INCREF(Py_None
); resultobj
= Py_None
;
1552 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
*resultobj
;
1554 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1557 PyObject
* obj0
= 0 ;
1558 PyObject
* obj1
= 0 ;
1559 PyObject
* obj2
= 0 ;
1561 (char *) "self",(char *) "x",(char *) "y", NULL
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1567 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1568 if (PyErr_Occurred()) SWIG_fail
;
1571 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1572 if (PyErr_Occurred()) SWIG_fail
;
1575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1576 (arg1
)->Scroll(arg2
,arg3
);
1578 wxPyEndAllowThreads(__tstate
);
1579 if (PyErr_Occurred()) SWIG_fail
;
1581 Py_INCREF(Py_None
); resultobj
= Py_None
;
1588 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
*resultobj
;
1590 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1593 PyObject
* obj0
= 0 ;
1594 PyObject
* obj1
= 0 ;
1596 (char *) "self",(char *) "orient", NULL
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1602 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1607 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1609 wxPyEndAllowThreads(__tstate
);
1610 if (PyErr_Occurred()) SWIG_fail
;
1612 resultobj
= SWIG_PyObj_FromInt((int)result
);
1619 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
*resultobj
;
1621 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1624 PyObject
* obj0
= 0 ;
1625 PyObject
* obj1
= 0 ;
1626 PyObject
* obj2
= 0 ;
1628 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1634 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1635 if (PyErr_Occurred()) SWIG_fail
;
1638 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1643 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1645 wxPyEndAllowThreads(__tstate
);
1646 if (PyErr_Occurred()) SWIG_fail
;
1648 Py_INCREF(Py_None
); resultobj
= Py_None
;
1655 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1656 PyObject
*resultobj
;
1657 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1660 PyObject
* obj0
= 0 ;
1661 PyObject
* obj1
= 0 ;
1662 PyObject
* obj2
= 0 ;
1664 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1670 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1671 if (PyErr_Occurred()) SWIG_fail
;
1674 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1675 if (PyErr_Occurred()) SWIG_fail
;
1678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1679 (arg1
)->SetScrollRate(arg2
,arg3
);
1681 wxPyEndAllowThreads(__tstate
);
1682 if (PyErr_Occurred()) SWIG_fail
;
1684 Py_INCREF(Py_None
); resultobj
= Py_None
;
1691 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
*resultobj
;
1693 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1694 int *arg2
= (int *) 0 ;
1695 int *arg3
= (int *) 0 ;
1698 PyObject
* obj0
= 0 ;
1700 (char *) "self", NULL
1705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1709 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1711 wxPyEndAllowThreads(__tstate
);
1712 if (PyErr_Occurred()) SWIG_fail
;
1714 Py_INCREF(Py_None
); resultobj
= Py_None
;
1716 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1717 resultobj
= t_output_helper(resultobj
,o
);
1720 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1721 resultobj
= t_output_helper(resultobj
,o
);
1729 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
*resultobj
;
1731 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1734 PyObject
* obj0
= 0 ;
1735 PyObject
* obj1
= 0 ;
1736 PyObject
* obj2
= 0 ;
1738 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1744 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1748 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
1749 if (PyErr_Occurred()) SWIG_fail
;
1752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1753 (arg1
)->EnableScrolling(arg2
,arg3
);
1755 wxPyEndAllowThreads(__tstate
);
1756 if (PyErr_Occurred()) SWIG_fail
;
1758 Py_INCREF(Py_None
); resultobj
= Py_None
;
1765 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
*resultobj
;
1767 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1768 int *arg2
= (int *) 0 ;
1769 int *arg3
= (int *) 0 ;
1772 PyObject
* obj0
= 0 ;
1774 (char *) "self", NULL
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1783 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1785 wxPyEndAllowThreads(__tstate
);
1786 if (PyErr_Occurred()) SWIG_fail
;
1788 Py_INCREF(Py_None
); resultobj
= Py_None
;
1790 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1791 resultobj
= t_output_helper(resultobj
,o
);
1794 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1795 resultobj
= t_output_helper(resultobj
,o
);
1803 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
*resultobj
;
1805 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1808 PyObject
* obj0
= 0 ;
1809 PyObject
* obj1
= 0 ;
1810 PyObject
* obj2
= 0 ;
1812 (char *) "self",(char *) "xs",(char *) "ys", NULL
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1818 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
1819 if (PyErr_Occurred()) SWIG_fail
;
1822 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
1823 if (PyErr_Occurred()) SWIG_fail
;
1826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1827 (arg1
)->SetScale(arg2
,arg3
);
1829 wxPyEndAllowThreads(__tstate
);
1830 if (PyErr_Occurred()) SWIG_fail
;
1832 Py_INCREF(Py_None
); resultobj
= Py_None
;
1839 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
*resultobj
;
1841 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1843 PyObject
* obj0
= 0 ;
1845 (char *) "self", NULL
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1852 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1854 wxPyEndAllowThreads(__tstate
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1857 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1864 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
*resultobj
;
1866 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1868 PyObject
* obj0
= 0 ;
1870 (char *) "self", NULL
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1877 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1879 wxPyEndAllowThreads(__tstate
);
1880 if (PyErr_Occurred()) SWIG_fail
;
1882 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1889 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1890 PyObject
*resultobj
;
1891 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1895 PyObject
* obj0
= 0 ;
1896 PyObject
* obj1
= 0 ;
1898 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1902 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1906 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1908 wxPyEndAllowThreads(__tstate
);
1909 if (PyErr_Occurred()) SWIG_fail
;
1912 wxPoint
* resultptr
;
1913 resultptr
= new wxPoint((wxPoint
&) result
);
1914 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1922 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1923 PyObject
*resultobj
;
1924 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1927 int *arg4
= (int *) 0 ;
1928 int *arg5
= (int *) 0 ;
1931 PyObject
* obj0
= 0 ;
1932 PyObject
* obj1
= 0 ;
1933 PyObject
* obj2
= 0 ;
1937 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
1938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1940 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1941 if (PyErr_Occurred()) SWIG_fail
;
1944 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1949 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
1951 wxPyEndAllowThreads(__tstate
);
1952 if (PyErr_Occurred()) SWIG_fail
;
1954 Py_INCREF(Py_None
); resultobj
= Py_None
;
1956 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1957 resultobj
= t_output_helper(resultobj
,o
);
1960 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1961 resultobj
= t_output_helper(resultobj
,o
);
1969 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
1974 argc
= PyObject_Length(args
);
1975 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1976 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1982 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1991 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1994 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2002 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2011 SWIG_PyObj_AsInt(argv
[1]);
2012 if (PyErr_Occurred()) {
2021 SWIG_PyObj_AsInt(argv
[2]);
2022 if (PyErr_Occurred()) {
2030 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2036 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2041 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2042 PyObject
*resultobj
;
2043 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2047 PyObject
* obj0
= 0 ;
2048 PyObject
* obj1
= 0 ;
2050 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2054 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2064 wxPoint
* resultptr
;
2065 resultptr
= new wxPoint((wxPoint
&) result
);
2066 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2074 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2075 PyObject
*resultobj
;
2076 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2079 int *arg4
= (int *) 0 ;
2080 int *arg5
= (int *) 0 ;
2083 PyObject
* obj0
= 0 ;
2084 PyObject
* obj1
= 0 ;
2085 PyObject
* obj2
= 0 ;
2089 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2092 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2093 if (PyErr_Occurred()) SWIG_fail
;
2096 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2097 if (PyErr_Occurred()) SWIG_fail
;
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) SWIG_fail
;
2106 Py_INCREF(Py_None
); resultobj
= Py_None
;
2108 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2109 resultobj
= t_output_helper(resultobj
,o
);
2112 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2113 resultobj
= t_output_helper(resultobj
,o
);
2121 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2126 argc
= PyObject_Length(args
);
2127 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2128 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2134 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2143 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2146 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2154 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2163 SWIG_PyObj_AsInt(argv
[1]);
2164 if (PyErr_Occurred()) {
2173 SWIG_PyObj_AsInt(argv
[2]);
2174 if (PyErr_Occurred()) {
2182 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2188 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2193 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
*resultobj
;
2195 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2196 PyObject
* obj0
= 0 ;
2198 (char *) "self", NULL
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2205 (arg1
)->AdjustScrollbars();
2207 wxPyEndAllowThreads(__tstate
);
2208 if (PyErr_Occurred()) SWIG_fail
;
2210 Py_INCREF(Py_None
); resultobj
= Py_None
;
2217 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
*resultobj
;
2219 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2220 wxScrollWinEvent
*arg2
= 0 ;
2222 PyObject
* obj0
= 0 ;
2223 PyObject
* obj1
= 0 ;
2225 (char *) "self",(char *) "event", NULL
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2230 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2232 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2241 resultobj
= SWIG_PyObj_FromInt((int)result
);
2248 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
*resultobj
;
2250 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2251 wxWindow
*arg2
= (wxWindow
*) 0 ;
2252 PyObject
* obj0
= 0 ;
2253 PyObject
* obj1
= 0 ;
2255 (char *) "self",(char *) "target", NULL
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2260 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 (arg1
)->SetTargetWindow(arg2
);
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) SWIG_fail
;
2268 Py_INCREF(Py_None
); resultobj
= Py_None
;
2275 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
*resultobj
;
2277 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2279 PyObject
* obj0
= 0 ;
2281 (char *) "self", NULL
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2288 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2290 wxPyEndAllowThreads(__tstate
);
2291 if (PyErr_Occurred()) SWIG_fail
;
2294 resultobj
= wxPyMake_wxObject(result
);
2302 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
*resultobj
;
2304 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2307 PyObject
* obj0
= 0 ;
2308 PyObject
* obj1
= 0 ;
2310 (char *) "self",(char *) "rect", NULL
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2317 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) SWIG_fail
;
2326 Py_INCREF(Py_None
); resultobj
= Py_None
;
2333 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
*resultobj
;
2335 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2337 PyObject
* obj0
= 0 ;
2339 (char *) "self", NULL
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2346 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2348 wxPyEndAllowThreads(__tstate
);
2349 if (PyErr_Occurred()) SWIG_fail
;
2353 resultptr
= new wxRect((wxRect
&) result
);
2354 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
2362 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2365 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2367 return Py_BuildValue((char *)"");
2369 static int _wrap_FrameNameStr_set(PyObject
*) {
2370 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2375 static PyObject
*_wrap_FrameNameStr_get() {
2380 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2382 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2389 static int _wrap_DialogNameStr_set(PyObject
*) {
2390 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2395 static PyObject
*_wrap_DialogNameStr_get() {
2400 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2402 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2409 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2410 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2415 static PyObject
*_wrap_StatusLineNameStr_get() {
2420 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2422 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2429 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2430 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2435 static PyObject
*_wrap_ToolBarNameStr_get() {
2440 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2442 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2449 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2452 bool arg2
= (bool) True
;
2453 PyObject
* obj0
= 0 ;
2454 PyObject
* obj1
= 0 ;
2456 (char *) "self",(char *) "maximize", NULL
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2463 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2464 if (PyErr_Occurred()) SWIG_fail
;
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 (arg1
)->Maximize(arg2
);
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) SWIG_fail
;
2474 Py_INCREF(Py_None
); resultobj
= Py_None
;
2481 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
*resultobj
;
2483 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2484 PyObject
* obj0
= 0 ;
2486 (char *) "self", NULL
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) SWIG_fail
;
2498 Py_INCREF(Py_None
); resultobj
= Py_None
;
2505 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
*resultobj
;
2507 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2508 bool arg2
= (bool) True
;
2509 PyObject
* obj0
= 0 ;
2510 PyObject
* obj1
= 0 ;
2512 (char *) "self",(char *) "iconize", NULL
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2519 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2520 if (PyErr_Occurred()) SWIG_fail
;
2524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2525 (arg1
)->Iconize(arg2
);
2527 wxPyEndAllowThreads(__tstate
);
2528 if (PyErr_Occurred()) SWIG_fail
;
2530 Py_INCREF(Py_None
); resultobj
= Py_None
;
2537 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
*resultobj
;
2539 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2541 PyObject
* obj0
= 0 ;
2543 (char *) "self", NULL
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2550 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2552 wxPyEndAllowThreads(__tstate
);
2553 if (PyErr_Occurred()) SWIG_fail
;
2555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2562 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
*resultobj
;
2564 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2566 PyObject
* obj0
= 0 ;
2568 (char *) "self", NULL
2571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2575 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2577 wxPyEndAllowThreads(__tstate
);
2578 if (PyErr_Occurred()) SWIG_fail
;
2580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2587 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2588 PyObject
*resultobj
;
2589 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2591 PyObject
* obj0
= 0 ;
2593 (char *) "self", NULL
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2600 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2602 wxPyEndAllowThreads(__tstate
);
2603 if (PyErr_Occurred()) SWIG_fail
;
2607 resultptr
= new wxIcon((wxIcon
&) result
);
2608 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
2616 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
*resultobj
;
2618 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2620 PyObject
* obj0
= 0 ;
2621 PyObject
* obj1
= 0 ;
2623 (char *) "self",(char *) "icon", NULL
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2628 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2630 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2634 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2636 wxPyEndAllowThreads(__tstate
);
2637 if (PyErr_Occurred()) SWIG_fail
;
2639 Py_INCREF(Py_None
); resultobj
= Py_None
;
2646 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
*resultobj
;
2648 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2649 wxIconBundle
*arg2
= 0 ;
2650 PyObject
* obj0
= 0 ;
2651 PyObject
* obj1
= 0 ;
2653 (char *) "self",(char *) "icons", NULL
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2658 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2660 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2664 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2666 wxPyEndAllowThreads(__tstate
);
2667 if (PyErr_Occurred()) SWIG_fail
;
2669 Py_INCREF(Py_None
); resultobj
= Py_None
;
2676 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
*resultobj
;
2678 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2680 long arg3
= (long) wxFULLSCREEN_ALL
;
2682 PyObject
* obj0
= 0 ;
2683 PyObject
* obj1
= 0 ;
2684 PyObject
* obj2
= 0 ;
2686 (char *) "self",(char *) "show",(char *) "style", NULL
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2692 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2697 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2703 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2705 wxPyEndAllowThreads(__tstate
);
2706 if (PyErr_Occurred()) SWIG_fail
;
2708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2715 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2716 PyObject
*resultobj
;
2717 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2719 PyObject
* obj0
= 0 ;
2721 (char *) "self", NULL
2724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2728 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2730 wxPyEndAllowThreads(__tstate
);
2731 if (PyErr_Occurred()) SWIG_fail
;
2733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2740 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
*resultobj
;
2742 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2743 wxString
*arg2
= 0 ;
2744 bool temp2
= False
;
2745 PyObject
* obj0
= 0 ;
2746 PyObject
* obj1
= 0 ;
2748 (char *) "self",(char *) "title", NULL
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2754 arg2
= wxString_in_helper(obj1
);
2755 if (arg2
== NULL
) SWIG_fail
;
2759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2760 (arg1
)->SetTitle((wxString
const &)*arg2
);
2762 wxPyEndAllowThreads(__tstate
);
2763 if (PyErr_Occurred()) SWIG_fail
;
2765 Py_INCREF(Py_None
); resultobj
= Py_None
;
2780 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
*resultobj
;
2782 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2784 PyObject
* obj0
= 0 ;
2786 (char *) "self", NULL
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2793 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) SWIG_fail
;
2800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2811 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2812 PyObject
*resultobj
;
2813 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2814 wxRegion
*arg2
= 0 ;
2816 PyObject
* obj0
= 0 ;
2817 PyObject
* obj1
= 0 ;
2819 (char *) "self",(char *) "region", NULL
2822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2824 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2826 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2830 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2832 wxPyEndAllowThreads(__tstate
);
2833 if (PyErr_Occurred()) SWIG_fail
;
2835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2842 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2845 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2847 return Py_BuildValue((char *)"");
2849 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
*resultobj
;
2851 wxWindow
*arg1
= (wxWindow
*) 0 ;
2853 wxString
*arg3
= 0 ;
2854 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2855 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2856 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2857 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2858 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2859 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2860 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2862 bool temp3
= False
;
2865 bool temp7
= False
;
2866 PyObject
* obj0
= 0 ;
2867 PyObject
* obj1
= 0 ;
2868 PyObject
* obj2
= 0 ;
2869 PyObject
* obj3
= 0 ;
2870 PyObject
* obj4
= 0 ;
2871 PyObject
* obj5
= 0 ;
2872 PyObject
* obj6
= 0 ;
2874 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2880 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2881 if (PyErr_Occurred()) SWIG_fail
;
2884 arg3
= wxString_in_helper(obj2
);
2885 if (arg3
== NULL
) SWIG_fail
;
2891 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2897 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2902 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2908 arg7
= wxString_in_helper(obj6
);
2909 if (arg7
== NULL
) SWIG_fail
;
2914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2915 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2917 wxPyEndAllowThreads(__tstate
);
2918 if (PyErr_Occurred()) SWIG_fail
;
2921 resultobj
= wxPyMake_wxObject(result
);
2945 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
*resultobj
;
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2955 result
= (wxFrame
*)new wxFrame();
2957 wxPyEndAllowThreads(__tstate
);
2958 if (PyErr_Occurred()) SWIG_fail
;
2961 resultobj
= wxPyMake_wxObject(result
);
2969 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
*resultobj
;
2971 wxFrame
*arg1
= (wxFrame
*) 0 ;
2972 wxWindow
*arg2
= (wxWindow
*) 0 ;
2974 wxString
*arg4
= 0 ;
2975 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2976 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2977 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2978 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2979 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2980 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2981 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2983 bool temp4
= False
;
2986 bool temp8
= False
;
2987 PyObject
* obj0
= 0 ;
2988 PyObject
* obj1
= 0 ;
2989 PyObject
* obj2
= 0 ;
2990 PyObject
* obj3
= 0 ;
2991 PyObject
* obj4
= 0 ;
2992 PyObject
* obj5
= 0 ;
2993 PyObject
* obj6
= 0 ;
2994 PyObject
* obj7
= 0 ;
2996 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3001 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3003 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
3004 if (PyErr_Occurred()) SWIG_fail
;
3007 arg4
= wxString_in_helper(obj3
);
3008 if (arg4
== NULL
) SWIG_fail
;
3014 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3020 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3025 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3026 if (PyErr_Occurred()) SWIG_fail
;
3031 arg8
= wxString_in_helper(obj7
);
3032 if (arg8
== NULL
) SWIG_fail
;
3037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3038 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3040 wxPyEndAllowThreads(__tstate
);
3041 if (PyErr_Occurred()) SWIG_fail
;
3043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3066 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
*resultobj
;
3068 wxFrame
*arg1
= (wxFrame
*) 0 ;
3070 PyObject
* obj0
= 0 ;
3072 (char *) "self", NULL
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) SWIG_fail
;
3085 wxPoint
* resultptr
;
3086 resultptr
= new wxPoint((wxPoint
&) result
);
3087 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3095 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3096 PyObject
*resultobj
;
3097 wxFrame
*arg1
= (wxFrame
*) 0 ;
3098 PyObject
* obj0
= 0 ;
3100 (char *) "self", NULL
3103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3107 (arg1
)->SendSizeEvent();
3109 wxPyEndAllowThreads(__tstate
);
3110 if (PyErr_Occurred()) SWIG_fail
;
3112 Py_INCREF(Py_None
); resultobj
= Py_None
;
3119 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
*resultobj
;
3121 wxFrame
*arg1
= (wxFrame
*) 0 ;
3122 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3123 PyObject
* obj0
= 0 ;
3124 PyObject
* obj1
= 0 ;
3126 (char *) "self",(char *) "menubar", NULL
3129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3131 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3134 (arg1
)->SetMenuBar(arg2
);
3136 wxPyEndAllowThreads(__tstate
);
3137 if (PyErr_Occurred()) SWIG_fail
;
3139 Py_INCREF(Py_None
); resultobj
= Py_None
;
3146 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
*resultobj
;
3148 wxFrame
*arg1
= (wxFrame
*) 0 ;
3150 PyObject
* obj0
= 0 ;
3152 (char *) "self", NULL
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) SWIG_fail
;
3165 resultobj
= wxPyMake_wxObject(result
);
3173 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3174 PyObject
*resultobj
;
3175 wxFrame
*arg1
= (wxFrame
*) 0 ;
3178 PyObject
* obj0
= 0 ;
3179 PyObject
* obj1
= 0 ;
3181 (char *) "self",(char *) "winid", NULL
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3187 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3192 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3194 wxPyEndAllowThreads(__tstate
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3204 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
;
3206 wxFrame
*arg1
= (wxFrame
*) 0 ;
3207 int arg2
= (int) 1 ;
3208 long arg3
= (long) wxST_SIZEGRIP
;
3209 int arg4
= (int) 0 ;
3210 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3211 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3212 wxStatusBar
*result
;
3213 bool temp5
= False
;
3214 PyObject
* obj0
= 0 ;
3215 PyObject
* obj1
= 0 ;
3216 PyObject
* obj2
= 0 ;
3217 PyObject
* obj3
= 0 ;
3218 PyObject
* obj4
= 0 ;
3220 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3227 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3233 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3239 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3240 if (PyErr_Occurred()) SWIG_fail
;
3245 arg5
= wxString_in_helper(obj4
);
3246 if (arg5
== NULL
) SWIG_fail
;
3251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3252 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3254 wxPyEndAllowThreads(__tstate
);
3255 if (PyErr_Occurred()) SWIG_fail
;
3258 resultobj
= wxPyMake_wxObject(result
);
3274 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
*resultobj
;
3276 wxFrame
*arg1
= (wxFrame
*) 0 ;
3277 wxStatusBar
*result
;
3278 PyObject
* obj0
= 0 ;
3280 (char *) "self", NULL
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3287 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3289 wxPyEndAllowThreads(__tstate
);
3290 if (PyErr_Occurred()) SWIG_fail
;
3293 resultobj
= wxPyMake_wxObject(result
);
3301 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
*resultobj
;
3303 wxFrame
*arg1
= (wxFrame
*) 0 ;
3304 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3305 PyObject
* obj0
= 0 ;
3306 PyObject
* obj1
= 0 ;
3308 (char *) "self",(char *) "statBar", NULL
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3313 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3316 (arg1
)->SetStatusBar(arg2
);
3318 wxPyEndAllowThreads(__tstate
);
3319 if (PyErr_Occurred()) SWIG_fail
;
3321 Py_INCREF(Py_None
); resultobj
= Py_None
;
3328 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
*resultobj
;
3330 wxFrame
*arg1
= (wxFrame
*) 0 ;
3331 wxString
*arg2
= 0 ;
3332 int arg3
= (int) 0 ;
3333 bool temp2
= False
;
3334 PyObject
* obj0
= 0 ;
3335 PyObject
* obj1
= 0 ;
3336 PyObject
* obj2
= 0 ;
3338 (char *) "self",(char *) "text",(char *) "number", NULL
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3344 arg2
= wxString_in_helper(obj1
);
3345 if (arg2
== NULL
) SWIG_fail
;
3350 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3361 Py_INCREF(Py_None
); resultobj
= Py_None
;
3376 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
*resultobj
;
3378 wxFrame
*arg1
= (wxFrame
*) 0 ;
3380 int *arg3
= (int *) 0 ;
3381 PyObject
* obj0
= 0 ;
3382 PyObject
* obj1
= 0 ;
3384 (char *) "self",(char *) "widths", NULL
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3390 arg2
= PyList_Size(obj1
);
3391 arg3
= int_LIST_helper(obj1
);
3392 if (arg3
== NULL
) SWIG_fail
;
3395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3396 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3401 Py_INCREF(Py_None
); resultobj
= Py_None
;
3403 if (arg3
) delete [] arg3
;
3408 if (arg3
) delete [] arg3
;
3414 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
*resultobj
;
3416 wxFrame
*arg1
= (wxFrame
*) 0 ;
3417 wxString
*arg2
= 0 ;
3418 int arg3
= (int) 0 ;
3419 bool temp2
= False
;
3420 PyObject
* obj0
= 0 ;
3421 PyObject
* obj1
= 0 ;
3422 PyObject
* obj2
= 0 ;
3424 (char *) "self",(char *) "text",(char *) "number", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3430 arg2
= wxString_in_helper(obj1
);
3431 if (arg2
== NULL
) SWIG_fail
;
3436 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3447 Py_INCREF(Py_None
); resultobj
= Py_None
;
3462 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
*resultobj
;
3464 wxFrame
*arg1
= (wxFrame
*) 0 ;
3465 int arg2
= (int) 0 ;
3466 PyObject
* obj0
= 0 ;
3467 PyObject
* obj1
= 0 ;
3469 (char *) "self",(char *) "number", NULL
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3476 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3482 (arg1
)->PopStatusText(arg2
);
3484 wxPyEndAllowThreads(__tstate
);
3485 if (PyErr_Occurred()) SWIG_fail
;
3487 Py_INCREF(Py_None
); resultobj
= Py_None
;
3494 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3495 PyObject
*resultobj
;
3496 wxFrame
*arg1
= (wxFrame
*) 0 ;
3498 PyObject
* obj0
= 0 ;
3499 PyObject
* obj1
= 0 ;
3501 (char *) "self",(char *) "n", NULL
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3507 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 (arg1
)->SetStatusBarPane(arg2
);
3514 wxPyEndAllowThreads(__tstate
);
3515 if (PyErr_Occurred()) SWIG_fail
;
3517 Py_INCREF(Py_None
); resultobj
= Py_None
;
3524 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
*resultobj
;
3526 wxFrame
*arg1
= (wxFrame
*) 0 ;
3528 PyObject
* obj0
= 0 ;
3530 (char *) "self", NULL
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3542 resultobj
= SWIG_PyObj_FromInt((int)result
);
3549 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
*resultobj
;
3551 wxFrame
*arg1
= (wxFrame
*) 0 ;
3552 long arg2
= (long) -1 ;
3553 int arg3
= (int) -1 ;
3554 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3555 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3557 bool temp4
= False
;
3558 PyObject
* obj0
= 0 ;
3559 PyObject
* obj1
= 0 ;
3560 PyObject
* obj2
= 0 ;
3561 PyObject
* obj3
= 0 ;
3563 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3570 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3576 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3582 arg4
= wxString_in_helper(obj3
);
3583 if (arg4
== NULL
) SWIG_fail
;
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3595 resultobj
= wxPyMake_wxObject(result
);
3611 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
*resultobj
;
3613 wxFrame
*arg1
= (wxFrame
*) 0 ;
3615 PyObject
* obj0
= 0 ;
3617 (char *) "self", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3630 resultobj
= wxPyMake_wxObject(result
);
3638 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
*resultobj
;
3640 wxFrame
*arg1
= (wxFrame
*) 0 ;
3641 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3642 PyObject
* obj0
= 0 ;
3643 PyObject
* obj1
= 0 ;
3645 (char *) "self",(char *) "toolbar", NULL
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3650 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 (arg1
)->SetToolBar(arg2
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 Py_INCREF(Py_None
); resultobj
= Py_None
;
3665 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
;
3667 wxFrame
*arg1
= (wxFrame
*) 0 ;
3668 wxString
*arg2
= 0 ;
3670 bool temp2
= False
;
3671 PyObject
* obj0
= 0 ;
3672 PyObject
* obj1
= 0 ;
3673 PyObject
* obj2
= 0 ;
3675 (char *) "self",(char *) "text",(char *) "show", NULL
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3681 arg2
= wxString_in_helper(obj1
);
3682 if (arg2
== NULL
) SWIG_fail
;
3686 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3691 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3693 wxPyEndAllowThreads(__tstate
);
3694 if (PyErr_Occurred()) SWIG_fail
;
3696 Py_INCREF(Py_None
); resultobj
= Py_None
;
3711 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
*resultobj
;
3713 wxFrame
*arg1
= (wxFrame
*) 0 ;
3714 wxMenu
*arg2
= (wxMenu
*) NULL
;
3715 PyObject
* obj0
= 0 ;
3716 PyObject
* obj1
= 0 ;
3718 (char *) "self",(char *) "menu", NULL
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3724 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 (arg1
)->DoMenuUpdates(arg2
);
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) SWIG_fail
;
3733 Py_INCREF(Py_None
); resultobj
= Py_None
;
3740 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3743 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3745 return Py_BuildValue((char *)"");
3747 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3748 PyObject
*resultobj
;
3749 wxWindow
*arg1
= (wxWindow
*) 0 ;
3751 wxString
*arg3
= 0 ;
3752 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3753 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3754 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3755 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3756 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3757 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3758 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3760 bool temp3
= False
;
3763 bool temp7
= False
;
3764 PyObject
* obj0
= 0 ;
3765 PyObject
* obj1
= 0 ;
3766 PyObject
* obj2
= 0 ;
3767 PyObject
* obj3
= 0 ;
3768 PyObject
* obj4
= 0 ;
3769 PyObject
* obj5
= 0 ;
3770 PyObject
* obj6
= 0 ;
3772 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3778 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3782 arg3
= wxString_in_helper(obj2
);
3783 if (arg3
== NULL
) SWIG_fail
;
3789 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3795 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3800 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3806 arg7
= wxString_in_helper(obj6
);
3807 if (arg7
== NULL
) SWIG_fail
;
3812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3813 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3815 wxPyEndAllowThreads(__tstate
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3818 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3841 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
*resultobj
;
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (wxDialog
*)new wxDialog();
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3863 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
;
3865 wxDialog
*arg1
= (wxDialog
*) 0 ;
3866 wxWindow
*arg2
= (wxWindow
*) 0 ;
3868 wxString
*arg4
= 0 ;
3869 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3870 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3871 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3872 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3873 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3874 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3875 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3877 bool temp4
= False
;
3880 bool temp8
= False
;
3881 PyObject
* obj0
= 0 ;
3882 PyObject
* obj1
= 0 ;
3883 PyObject
* obj2
= 0 ;
3884 PyObject
* obj3
= 0 ;
3885 PyObject
* obj4
= 0 ;
3886 PyObject
* obj5
= 0 ;
3887 PyObject
* obj6
= 0 ;
3888 PyObject
* obj7
= 0 ;
3890 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3895 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3897 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
3898 if (PyErr_Occurred()) SWIG_fail
;
3901 arg4
= wxString_in_helper(obj3
);
3902 if (arg4
== NULL
) SWIG_fail
;
3908 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3914 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3919 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3925 arg8
= wxString_in_helper(obj7
);
3926 if (arg8
== NULL
) SWIG_fail
;
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3960 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
*resultobj
;
3962 wxDialog
*arg1
= (wxDialog
*) 0 ;
3964 PyObject
* obj0
= 0 ;
3965 PyObject
* obj1
= 0 ;
3967 (char *) "self",(char *) "returnCode", NULL
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
3971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3973 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3978 (arg1
)->SetReturnCode(arg2
);
3980 wxPyEndAllowThreads(__tstate
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3983 Py_INCREF(Py_None
); resultobj
= Py_None
;
3990 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
*resultobj
;
3992 wxDialog
*arg1
= (wxDialog
*) 0 ;
3994 PyObject
* obj0
= 0 ;
3996 (char *) "self", NULL
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4008 resultobj
= SWIG_PyObj_FromInt((int)result
);
4015 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
*resultobj
;
4017 wxDialog
*arg1
= (wxDialog
*) 0 ;
4018 wxString
*arg2
= 0 ;
4020 bool temp2
= False
;
4021 PyObject
* obj0
= 0 ;
4022 PyObject
* obj1
= 0 ;
4024 (char *) "self",(char *) "message", NULL
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4030 arg2
= wxString_in_helper(obj1
);
4031 if (arg2
== NULL
) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4042 resultobj
= wxPyMake_wxSizer(result
);
4058 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4059 PyObject
*resultobj
;
4060 wxDialog
*arg1
= (wxDialog
*) 0 ;
4063 PyObject
* obj0
= 0 ;
4064 PyObject
* obj1
= 0 ;
4066 (char *) "self",(char *) "flags", NULL
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4072 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4083 resultobj
= wxPyMake_wxSizer(result
);
4091 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
*resultobj
;
4093 wxDialog
*arg1
= (wxDialog
*) 0 ;
4095 PyObject
* obj0
= 0 ;
4097 (char *) "self", NULL
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4116 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
*resultobj
;
4118 wxDialog
*arg1
= (wxDialog
*) 0 ;
4120 PyObject
* obj0
= 0 ;
4122 (char *) "self", NULL
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 result
= (int)(arg1
)->ShowModal();
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 resultobj
= SWIG_PyObj_FromInt((int)result
);
4141 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4143 wxDialog
*arg1
= (wxDialog
*) 0 ;
4145 PyObject
* obj0
= 0 ;
4146 PyObject
* obj1
= 0 ;
4148 (char *) "self",(char *) "retCode", NULL
4151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4154 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 (arg1
)->EndModal(arg2
);
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4164 Py_INCREF(Py_None
); resultobj
= Py_None
;
4171 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
*resultobj
;
4173 wxDialog
*arg1
= (wxDialog
*) 0 ;
4175 PyObject
* obj0
= 0 ;
4177 (char *) "self", NULL
4180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 result
= (bool)wxDialog_IsModalShowing(arg1
);
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4196 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4199 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4201 return Py_BuildValue((char *)"");
4203 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
;
4205 wxWindow
*arg1
= (wxWindow
*) 0 ;
4207 wxString
*arg3
= 0 ;
4208 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4209 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4210 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4211 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4212 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4213 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4214 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4215 wxMiniFrame
*result
;
4216 bool temp3
= False
;
4219 bool temp7
= False
;
4220 PyObject
* obj0
= 0 ;
4221 PyObject
* obj1
= 0 ;
4222 PyObject
* obj2
= 0 ;
4223 PyObject
* obj3
= 0 ;
4224 PyObject
* obj4
= 0 ;
4225 PyObject
* obj5
= 0 ;
4226 PyObject
* obj6
= 0 ;
4228 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4234 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4238 arg3
= wxString_in_helper(obj2
);
4239 if (arg3
== NULL
) SWIG_fail
;
4245 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4251 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4256 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4262 arg7
= wxString_in_helper(obj6
);
4263 if (arg7
== NULL
) SWIG_fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4297 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
*resultobj
;
4299 wxMiniFrame
*result
;
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 result
= (wxMiniFrame
*)new wxMiniFrame();
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4319 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
;
4321 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4322 wxWindow
*arg2
= (wxWindow
*) 0 ;
4324 wxString
*arg4
= 0 ;
4325 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4326 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4327 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4328 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4329 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4330 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4331 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4333 bool temp4
= False
;
4336 bool temp8
= False
;
4337 PyObject
* obj0
= 0 ;
4338 PyObject
* obj1
= 0 ;
4339 PyObject
* obj2
= 0 ;
4340 PyObject
* obj3
= 0 ;
4341 PyObject
* obj4
= 0 ;
4342 PyObject
* obj5
= 0 ;
4343 PyObject
* obj6
= 0 ;
4344 PyObject
* obj7
= 0 ;
4346 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMiniFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4351 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4353 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4357 arg4
= wxString_in_helper(obj3
);
4358 if (arg4
== NULL
) SWIG_fail
;
4364 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4370 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4375 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4381 arg8
= wxString_in_helper(obj7
);
4382 if (arg8
== NULL
) SWIG_fail
;
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) SWIG_fail
;
4393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4416 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4419 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4421 return Py_BuildValue((char *)"");
4423 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
*resultobj
;
4425 wxBitmap
*arg1
= 0 ;
4426 wxWindow
*arg2
= (wxWindow
*) 0 ;
4428 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4429 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4430 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4431 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4432 long arg6
= (long) wxNO_BORDER
;
4433 wxSplashScreenWindow
*result
;
4436 PyObject
* obj0
= 0 ;
4437 PyObject
* obj1
= 0 ;
4438 PyObject
* obj2
= 0 ;
4439 PyObject
* obj3
= 0 ;
4440 PyObject
* obj4
= 0 ;
4441 PyObject
* obj5
= 0 ;
4443 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4449 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4451 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4453 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4459 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4465 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4470 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 1);
4488 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4491 wxBitmap
*arg2
= 0 ;
4492 PyObject
* obj0
= 0 ;
4493 PyObject
* obj1
= 0 ;
4495 (char *) "self",(char *) "bitmap", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4500 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4502 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4511 Py_INCREF(Py_None
); resultobj
= Py_None
;
4518 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
*resultobj
;
4520 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4522 PyObject
* obj0
= 0 ;
4524 (char *) "self", NULL
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4533 result
= (wxBitmap
*) &_result_ref
;
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4539 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
4546 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4549 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4551 return Py_BuildValue((char *)"");
4553 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxBitmap
*arg1
= 0 ;
4558 wxWindow
*arg4
= (wxWindow
*) 0 ;
4560 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4561 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4562 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4563 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4564 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4565 wxSplashScreen
*result
;
4568 PyObject
* obj0
= 0 ;
4569 PyObject
* obj1
= 0 ;
4570 PyObject
* obj2
= 0 ;
4571 PyObject
* obj3
= 0 ;
4572 PyObject
* obj4
= 0 ;
4573 PyObject
* obj5
= 0 ;
4574 PyObject
* obj6
= 0 ;
4575 PyObject
* obj7
= 0 ;
4577 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4583 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4586 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4590 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4593 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4595 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4596 if (PyErr_Occurred()) SWIG_fail
;
4601 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4607 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4612 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreen
, 1);
4630 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
;
4632 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4634 PyObject
* obj0
= 0 ;
4636 (char *) "self", NULL
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4648 resultobj
= SWIG_PyObj_FromLong((long)result
);
4655 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
*resultobj
;
4657 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4658 wxSplashScreenWindow
*result
;
4659 PyObject
* obj0
= 0 ;
4661 (char *) "self", NULL
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4668 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4670 wxPyEndAllowThreads(__tstate
);
4671 if (PyErr_Occurred()) SWIG_fail
;
4673 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 0);
4680 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
*resultobj
;
4682 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4684 PyObject
* obj0
= 0 ;
4686 (char *) "self", NULL
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4698 resultobj
= SWIG_PyObj_FromInt((int)result
);
4705 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4708 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4710 return Py_BuildValue((char *)"");
4712 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
;
4714 wxWindow
*arg1
= (wxWindow
*) 0 ;
4715 int arg2
= (int) -1 ;
4716 long arg3
= (long) wxST_SIZEGRIP
;
4717 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4718 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4719 wxStatusBar
*result
;
4720 bool temp4
= False
;
4721 PyObject
* obj0
= 0 ;
4722 PyObject
* obj1
= 0 ;
4723 PyObject
* obj2
= 0 ;
4724 PyObject
* obj3
= 0 ;
4726 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4733 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4739 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
4740 if (PyErr_Occurred()) SWIG_fail
;
4745 arg4
= wxString_in_helper(obj3
);
4746 if (arg4
== NULL
) SWIG_fail
;
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4758 resultobj
= wxPyMake_wxObject(result
);
4774 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4776 wxStatusBar
*result
;
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= (wxStatusBar
*)new wxStatusBar();
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4790 resultobj
= wxPyMake_wxObject(result
);
4798 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
*resultobj
;
4800 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4801 wxWindow
*arg2
= (wxWindow
*) 0 ;
4803 long arg4
= (long) wxST_SIZEGRIP
;
4804 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4805 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4807 bool temp5
= False
;
4808 PyObject
* obj0
= 0 ;
4809 PyObject
* obj1
= 0 ;
4810 PyObject
* obj2
= 0 ;
4811 PyObject
* obj3
= 0 ;
4812 PyObject
* obj4
= 0 ;
4814 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4819 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4821 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4826 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4832 arg5
= wxString_in_helper(obj4
);
4833 if (arg5
== NULL
) SWIG_fail
;
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4859 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
*resultobj
;
4861 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4862 int arg2
= (int) 1 ;
4863 PyObject
* obj0
= 0 ;
4864 PyObject
* obj1
= 0 ;
4866 (char *) "self",(char *) "number", NULL
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4873 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 (arg1
)->SetFieldsCount(arg2
);
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4884 Py_INCREF(Py_None
); resultobj
= Py_None
;
4891 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
*resultobj
;
4893 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4895 PyObject
* obj0
= 0 ;
4897 (char *) "self", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4909 resultobj
= SWIG_PyObj_FromInt((int)result
);
4916 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
;
4918 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4919 wxString
*arg2
= 0 ;
4920 int arg3
= (int) 0 ;
4921 bool temp2
= False
;
4922 PyObject
* obj0
= 0 ;
4923 PyObject
* obj1
= 0 ;
4924 PyObject
* obj2
= 0 ;
4926 (char *) "self",(char *) "text",(char *) "number", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4932 arg2
= wxString_in_helper(obj1
);
4933 if (arg2
== NULL
) SWIG_fail
;
4938 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 Py_INCREF(Py_None
); resultobj
= Py_None
;
4964 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4967 int arg2
= (int) 0 ;
4969 PyObject
* obj0
= 0 ;
4970 PyObject
* obj1
= 0 ;
4972 (char *) "self",(char *) "number", NULL
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
4976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4979 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5003 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
*resultobj
;
5005 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5006 wxString
*arg2
= 0 ;
5007 int arg3
= (int) 0 ;
5008 bool temp2
= False
;
5009 PyObject
* obj0
= 0 ;
5010 PyObject
* obj1
= 0 ;
5011 PyObject
* obj2
= 0 ;
5013 (char *) "self",(char *) "text",(char *) "number", NULL
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5019 arg2
= wxString_in_helper(obj1
);
5020 if (arg2
== NULL
) SWIG_fail
;
5025 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 Py_INCREF(Py_None
); resultobj
= Py_None
;
5051 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
;
5053 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5054 int arg2
= (int) 0 ;
5055 PyObject
* obj0
= 0 ;
5056 PyObject
* obj1
= 0 ;
5058 (char *) "self",(char *) "number", NULL
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5065 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 (arg1
)->PopStatusText(arg2
);
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5076 Py_INCREF(Py_None
); resultobj
= Py_None
;
5083 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
;
5085 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5087 int *arg3
= (int *) 0 ;
5088 PyObject
* obj0
= 0 ;
5089 PyObject
* obj1
= 0 ;
5091 (char *) "self",(char *) "widths", NULL
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5097 arg2
= PyList_Size(obj1
);
5098 arg3
= int_LIST_helper(obj1
);
5099 if (arg3
== NULL
) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 Py_INCREF(Py_None
); resultobj
= Py_None
;
5110 if (arg3
) delete [] arg3
;
5115 if (arg3
) delete [] arg3
;
5121 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
*resultobj
;
5123 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5126 PyObject
* obj0
= 0 ;
5127 PyObject
* obj1
= 0 ;
5129 (char *) "self",(char *) "i", NULL
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5135 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5147 resultptr
= new wxRect((wxRect
&) result
);
5148 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
5156 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
*resultobj
;
5158 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5160 PyObject
* obj0
= 0 ;
5161 PyObject
* obj1
= 0 ;
5163 (char *) "self",(char *) "height", NULL
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5169 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 (arg1
)->SetMinHeight(arg2
);
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5179 Py_INCREF(Py_None
); resultobj
= Py_None
;
5186 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
*resultobj
;
5188 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5190 PyObject
* obj0
= 0 ;
5192 (char *) "self", NULL
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= SWIG_PyObj_FromInt((int)result
);
5211 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
;
5213 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5215 PyObject
* obj0
= 0 ;
5217 (char *) "self", NULL
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 resultobj
= SWIG_PyObj_FromInt((int)result
);
5236 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5239 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5241 return Py_BuildValue((char *)"");
5243 static int _wrap_SplitterNameStr_set(PyObject
*) {
5244 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5249 static PyObject
*_wrap_SplitterNameStr_get() {
5254 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5256 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5263 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
*resultobj
;
5265 wxWindow
*arg1
= (wxWindow
*) 0 ;
5267 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5268 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5269 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5270 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5271 long arg5
= (long) wxSP_3D
;
5272 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5273 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5274 wxSplitterWindow
*result
;
5277 bool temp6
= False
;
5278 PyObject
* obj0
= 0 ;
5279 PyObject
* obj1
= 0 ;
5280 PyObject
* obj2
= 0 ;
5281 PyObject
* obj3
= 0 ;
5282 PyObject
* obj4
= 0 ;
5283 PyObject
* obj5
= 0 ;
5285 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5291 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5297 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5303 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5308 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
5309 if (PyErr_Occurred()) SWIG_fail
;
5314 arg6
= wxString_in_helper(obj5
);
5315 if (arg6
== NULL
) SWIG_fail
;
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) SWIG_fail
;
5326 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5341 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
;
5343 wxSplitterWindow
*result
;
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5363 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
;
5365 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5366 wxWindow
*arg2
= (wxWindow
*) 0 ;
5368 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5369 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5370 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5371 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5372 long arg6
= (long) wxSP_3D
;
5373 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5374 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5378 bool temp7
= False
;
5379 PyObject
* obj0
= 0 ;
5380 PyObject
* obj1
= 0 ;
5381 PyObject
* obj2
= 0 ;
5382 PyObject
* obj3
= 0 ;
5383 PyObject
* obj4
= 0 ;
5384 PyObject
* obj5
= 0 ;
5385 PyObject
* obj6
= 0 ;
5387 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5392 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5394 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5400 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5406 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5411 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5417 arg7
= wxString_in_helper(obj6
);
5418 if (arg7
== NULL
) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5444 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
*resultobj
;
5446 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5448 PyObject
* obj0
= 0 ;
5450 (char *) "self", NULL
5453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= wxPyMake_wxObject(result
);
5471 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
*resultobj
;
5473 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5475 PyObject
* obj0
= 0 ;
5477 (char *) "self", NULL
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5490 resultobj
= wxPyMake_wxObject(result
);
5498 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
*resultobj
;
5500 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5502 PyObject
* obj0
= 0 ;
5503 PyObject
* obj1
= 0 ;
5505 (char *) "self",(char *) "mode", NULL
5508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5511 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 (arg1
)->SetSplitMode(arg2
);
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5521 Py_INCREF(Py_None
); resultobj
= Py_None
;
5528 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
;
5530 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5532 PyObject
* obj0
= 0 ;
5534 (char *) "self", NULL
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5546 resultobj
= SWIG_PyObj_FromInt((int)result
);
5553 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
*resultobj
;
5555 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5556 wxWindow
*arg2
= (wxWindow
*) 0 ;
5557 PyObject
* obj0
= 0 ;
5558 PyObject
* obj1
= 0 ;
5560 (char *) "self",(char *) "window", NULL
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5565 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 (arg1
)->Initialize(arg2
);
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 Py_INCREF(Py_None
); resultobj
= Py_None
;
5580 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5583 wxWindow
*arg2
= (wxWindow
*) 0 ;
5584 wxWindow
*arg3
= (wxWindow
*) 0 ;
5585 int arg4
= (int) 0 ;
5587 PyObject
* obj0
= 0 ;
5588 PyObject
* obj1
= 0 ;
5589 PyObject
* obj2
= 0 ;
5590 PyObject
* obj3
= 0 ;
5592 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5597 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5598 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5601 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5619 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5622 wxWindow
*arg2
= (wxWindow
*) 0 ;
5623 wxWindow
*arg3
= (wxWindow
*) 0 ;
5624 int arg4
= (int) 0 ;
5626 PyObject
* obj0
= 0 ;
5627 PyObject
* obj1
= 0 ;
5628 PyObject
* obj2
= 0 ;
5629 PyObject
* obj3
= 0 ;
5631 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5636 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5637 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5640 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5658 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5659 PyObject
*resultobj
;
5660 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5661 wxWindow
*arg2
= (wxWindow
*) NULL
;
5663 PyObject
* obj0
= 0 ;
5664 PyObject
* obj1
= 0 ;
5666 (char *) "self",(char *) "toRemove", NULL
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5672 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5676 result
= (bool)(arg1
)->Unsplit(arg2
);
5678 wxPyEndAllowThreads(__tstate
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5688 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
*resultobj
;
5690 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5691 wxWindow
*arg2
= (wxWindow
*) 0 ;
5692 wxWindow
*arg3
= (wxWindow
*) 0 ;
5694 PyObject
* obj0
= 0 ;
5695 PyObject
* obj1
= 0 ;
5696 PyObject
* obj2
= 0 ;
5698 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5703 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5704 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5719 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
;
5721 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5723 PyObject
* obj0
= 0 ;
5725 (char *) "self", NULL
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5744 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
*resultobj
;
5746 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5748 PyObject
* obj0
= 0 ;
5749 PyObject
* obj1
= 0 ;
5751 (char *) "self",(char *) "width", NULL
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5757 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 (arg1
)->SetSashSize(arg2
);
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5767 Py_INCREF(Py_None
); resultobj
= Py_None
;
5774 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5778 PyObject
* obj0
= 0 ;
5779 PyObject
* obj1
= 0 ;
5781 (char *) "self",(char *) "width", NULL
5784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5787 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 (arg1
)->SetBorderSize(arg2
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5797 Py_INCREF(Py_None
); resultobj
= Py_None
;
5804 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
;
5806 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5808 PyObject
* obj0
= 0 ;
5810 (char *) "self", NULL
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5822 resultobj
= SWIG_PyObj_FromInt((int)result
);
5829 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
;
5831 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5833 PyObject
* obj0
= 0 ;
5835 (char *) "self", NULL
5838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5847 resultobj
= SWIG_PyObj_FromInt((int)result
);
5854 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
*resultobj
;
5856 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5858 bool arg3
= (bool) True
;
5859 PyObject
* obj0
= 0 ;
5860 PyObject
* obj1
= 0 ;
5861 PyObject
* obj2
= 0 ;
5863 (char *) "self",(char *) "position",(char *) "redraw", NULL
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5869 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5874 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 (arg1
)->SetSashPosition(arg2
,arg3
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 Py_INCREF(Py_None
); resultobj
= Py_None
;
5892 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5894 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5896 PyObject
* obj0
= 0 ;
5898 (char *) "self", NULL
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5910 resultobj
= SWIG_PyObj_FromInt((int)result
);
5917 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
;
5919 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5921 PyObject
* obj0
= 0 ;
5922 PyObject
* obj1
= 0 ;
5924 (char *) "self",(char *) "min", NULL
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5930 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 (arg1
)->SetMinimumPaneSize(arg2
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5940 Py_INCREF(Py_None
); resultobj
= Py_None
;
5947 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
;
5949 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5951 PyObject
* obj0
= 0 ;
5953 (char *) "self", NULL
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5965 resultobj
= SWIG_PyObj_FromInt((int)result
);
5972 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
*resultobj
;
5974 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5977 int arg4
= (int) 5 ;
5979 PyObject
* obj0
= 0 ;
5980 PyObject
* obj1
= 0 ;
5981 PyObject
* obj2
= 0 ;
5982 PyObject
* obj3
= 0 ;
5984 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5990 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5994 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5999 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) SWIG_fail
;
6010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6017 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
*resultobj
;
6019 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6020 PyObject
* obj0
= 0 ;
6022 (char *) "self", NULL
6025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 (arg1
)->SizeWindows();
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6034 Py_INCREF(Py_None
); resultobj
= Py_None
;
6041 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
*resultobj
;
6043 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6045 PyObject
* obj0
= 0 ;
6046 PyObject
* obj1
= 0 ;
6048 (char *) "self",(char *) "needUpdating", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6054 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 (arg1
)->SetNeedUpdating(arg2
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6064 Py_INCREF(Py_None
); resultobj
= Py_None
;
6071 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
*resultobj
;
6073 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6075 PyObject
* obj0
= 0 ;
6077 (char *) "self", NULL
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6096 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6099 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6101 return Py_BuildValue((char *)"");
6103 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
*resultobj
;
6105 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6106 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6107 wxSplitterEvent
*result
;
6108 PyObject
* obj0
= 0 ;
6109 PyObject
* obj1
= 0 ;
6111 (char *) "type",(char *) "splitter", NULL
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6117 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6122 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6131 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterEvent
, 1);
6138 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
;
6140 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6142 PyObject
* obj0
= 0 ;
6143 PyObject
* obj1
= 0 ;
6145 (char *) "self",(char *) "pos", NULL
6148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6151 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 (arg1
)->SetSashPosition(arg2
);
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6161 Py_INCREF(Py_None
); resultobj
= Py_None
;
6168 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
*resultobj
;
6170 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6172 PyObject
* obj0
= 0 ;
6174 (char *) "self", NULL
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6186 resultobj
= SWIG_PyObj_FromInt((int)result
);
6193 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
;
6195 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6197 PyObject
* obj0
= 0 ;
6199 (char *) "self", NULL
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= wxPyMake_wxObject(result
);
6220 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
;
6222 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6224 PyObject
* obj0
= 0 ;
6226 (char *) "self", NULL
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6238 resultobj
= SWIG_PyObj_FromInt((int)result
);
6245 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
;
6247 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6249 PyObject
* obj0
= 0 ;
6251 (char *) "self", NULL
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6263 resultobj
= SWIG_PyObj_FromInt((int)result
);
6270 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6273 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6275 return Py_BuildValue((char *)"");
6277 static int _wrap_SashNameStr_set(PyObject
*) {
6278 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6283 static PyObject
*_wrap_SashNameStr_get() {
6288 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6290 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6297 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
6298 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6303 static PyObject
*_wrap_SashLayoutNameStr_get() {
6308 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6310 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6317 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
;
6319 wxWindow
*arg1
= (wxWindow
*) 0 ;
6321 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6322 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6323 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6324 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6325 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6326 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6327 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6328 wxSashWindow
*result
;
6331 bool temp6
= False
;
6332 PyObject
* obj0
= 0 ;
6333 PyObject
* obj1
= 0 ;
6334 PyObject
* obj2
= 0 ;
6335 PyObject
* obj3
= 0 ;
6336 PyObject
* obj4
= 0 ;
6337 PyObject
* obj5
= 0 ;
6339 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6345 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6351 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6357 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6362 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
6363 if (PyErr_Occurred()) SWIG_fail
;
6368 arg6
= wxString_in_helper(obj5
);
6369 if (arg6
== NULL
) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
6395 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6397 wxSashWindow
*result
;
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 result
= (wxSashWindow
*)new wxSashWindow();
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6410 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
6417 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
;
6419 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6420 wxWindow
*arg2
= (wxWindow
*) 0 ;
6422 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6423 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6424 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6425 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6426 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6427 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6428 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6432 bool temp7
= False
;
6433 PyObject
* obj0
= 0 ;
6434 PyObject
* obj1
= 0 ;
6435 PyObject
* obj2
= 0 ;
6436 PyObject
* obj3
= 0 ;
6437 PyObject
* obj4
= 0 ;
6438 PyObject
* obj5
= 0 ;
6439 PyObject
* obj6
= 0 ;
6441 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6446 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6448 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6454 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6460 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6465 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6471 arg7
= wxString_in_helper(obj6
);
6472 if (arg7
== NULL
) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6498 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
*resultobj
;
6500 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6503 PyObject
* obj0
= 0 ;
6504 PyObject
* obj1
= 0 ;
6505 PyObject
* obj2
= 0 ;
6507 (char *) "self",(char *) "edge",(char *) "sash", NULL
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6513 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6517 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 Py_INCREF(Py_None
); resultobj
= Py_None
;
6534 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
*resultobj
;
6536 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6539 PyObject
* obj0
= 0 ;
6540 PyObject
* obj1
= 0 ;
6542 (char *) "self",(char *) "edge", NULL
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6548 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6565 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6566 PyObject
*resultobj
;
6567 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6570 PyObject
* obj0
= 0 ;
6571 PyObject
* obj1
= 0 ;
6572 PyObject
* obj2
= 0 ;
6574 (char *) "self",(char *) "edge",(char *) "border", NULL
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6580 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6584 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6589 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6591 wxPyEndAllowThreads(__tstate
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6594 Py_INCREF(Py_None
); resultobj
= Py_None
;
6601 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
*resultobj
;
6603 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6606 PyObject
* obj0
= 0 ;
6607 PyObject
* obj1
= 0 ;
6609 (char *) "self",(char *) "edge", NULL
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6615 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6632 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
*resultobj
;
6634 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6637 PyObject
* obj0
= 0 ;
6638 PyObject
* obj1
= 0 ;
6640 (char *) "self",(char *) "edge", NULL
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6646 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 resultobj
= SWIG_PyObj_FromInt((int)result
);
6663 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
*resultobj
;
6665 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6667 PyObject
* obj0
= 0 ;
6668 PyObject
* obj1
= 0 ;
6670 (char *) "self",(char *) "width", NULL
6673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6676 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 (arg1
)->SetDefaultBorderSize(arg2
);
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6686 Py_INCREF(Py_None
); resultobj
= Py_None
;
6693 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
;
6695 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6697 PyObject
* obj0
= 0 ;
6699 (char *) "self", NULL
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6708 wxPyEndAllowThreads(__tstate
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6711 resultobj
= SWIG_PyObj_FromInt((int)result
);
6718 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6719 PyObject
*resultobj
;
6720 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6722 PyObject
* obj0
= 0 ;
6723 PyObject
* obj1
= 0 ;
6725 (char *) "self",(char *) "width", NULL
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6731 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 (arg1
)->SetExtraBorderSize(arg2
);
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 Py_INCREF(Py_None
); resultobj
= Py_None
;
6748 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
;
6750 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6752 PyObject
* obj0
= 0 ;
6754 (char *) "self", NULL
6757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6766 resultobj
= SWIG_PyObj_FromInt((int)result
);
6773 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6775 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6777 PyObject
* obj0
= 0 ;
6778 PyObject
* obj1
= 0 ;
6780 (char *) "self",(char *) "min", NULL
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6786 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6791 (arg1
)->SetMinimumSizeX(arg2
);
6793 wxPyEndAllowThreads(__tstate
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6796 Py_INCREF(Py_None
); resultobj
= Py_None
;
6803 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
*resultobj
;
6805 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6807 PyObject
* obj0
= 0 ;
6808 PyObject
* obj1
= 0 ;
6810 (char *) "self",(char *) "min", NULL
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6816 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6821 (arg1
)->SetMinimumSizeY(arg2
);
6823 wxPyEndAllowThreads(__tstate
);
6824 if (PyErr_Occurred()) SWIG_fail
;
6826 Py_INCREF(Py_None
); resultobj
= Py_None
;
6833 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
*resultobj
;
6835 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6837 PyObject
* obj0
= 0 ;
6839 (char *) "self", NULL
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= SWIG_PyObj_FromInt((int)result
);
6858 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6864 (char *) "self", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 resultobj
= SWIG_PyObj_FromInt((int)result
);
6883 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
;
6885 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6887 PyObject
* obj0
= 0 ;
6888 PyObject
* obj1
= 0 ;
6890 (char *) "self",(char *) "max", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6896 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 (arg1
)->SetMaximumSizeX(arg2
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6906 Py_INCREF(Py_None
); resultobj
= Py_None
;
6913 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
*resultobj
;
6915 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6917 PyObject
* obj0
= 0 ;
6918 PyObject
* obj1
= 0 ;
6920 (char *) "self",(char *) "max", NULL
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6926 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 (arg1
)->SetMaximumSizeY(arg2
);
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6936 Py_INCREF(Py_None
); resultobj
= Py_None
;
6943 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6945 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6947 PyObject
* obj0
= 0 ;
6949 (char *) "self", NULL
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= SWIG_PyObj_FromInt((int)result
);
6968 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
*resultobj
;
6970 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6972 PyObject
* obj0
= 0 ;
6974 (char *) "self", NULL
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= SWIG_PyObj_FromInt((int)result
);
6993 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
*resultobj
;
6995 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6998 int arg4
= (int) 2 ;
7000 PyObject
* obj0
= 0 ;
7001 PyObject
* obj1
= 0 ;
7002 PyObject
* obj2
= 0 ;
7003 PyObject
* obj3
= 0 ;
7005 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7011 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7015 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7020 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= SWIG_PyObj_FromInt((int)result
);
7038 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
;
7040 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7041 PyObject
* obj0
= 0 ;
7043 (char *) "self", NULL
7046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 (arg1
)->SizeWindows();
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7055 Py_INCREF(Py_None
); resultobj
= Py_None
;
7062 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7065 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7067 return Py_BuildValue((char *)"");
7069 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
;
7071 int arg1
= (int) 0 ;
7072 int arg2
= (int) wxSASH_NONE
;
7073 wxSashEvent
*result
;
7074 PyObject
* obj0
= 0 ;
7075 PyObject
* obj1
= 0 ;
7077 (char *) "id",(char *) "edge", NULL
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7083 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7089 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashEvent
, 1);
7107 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
*resultobj
;
7109 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7111 PyObject
* obj0
= 0 ;
7112 PyObject
* obj1
= 0 ;
7114 (char *) "self",(char *) "edge", NULL
7117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7120 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7130 Py_INCREF(Py_None
); resultobj
= Py_None
;
7137 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
;
7139 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7141 PyObject
* obj0
= 0 ;
7143 (char *) "self", NULL
7146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7155 resultobj
= SWIG_PyObj_FromInt((int)result
);
7162 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
*resultobj
;
7164 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7167 PyObject
* obj0
= 0 ;
7168 PyObject
* obj1
= 0 ;
7170 (char *) "self",(char *) "rect", NULL
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7177 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 Py_INCREF(Py_None
); resultobj
= Py_None
;
7193 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
;
7195 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7197 PyObject
* obj0
= 0 ;
7199 (char *) "self", NULL
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7213 resultptr
= new wxRect((wxRect
&) result
);
7214 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
7222 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
;
7224 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7226 PyObject
* obj0
= 0 ;
7227 PyObject
* obj1
= 0 ;
7229 (char *) "self",(char *) "status", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7235 arg2
= (wxSashDragStatus
) SWIG_PyObj_AsInt(obj1
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 Py_INCREF(Py_None
); resultobj
= Py_None
;
7252 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7256 PyObject
* obj0
= 0 ;
7258 (char *) "self", NULL
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 resultobj
= SWIG_PyObj_FromInt((int)result
);
7277 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7280 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7282 return Py_BuildValue((char *)"");
7284 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7285 PyObject
*resultobj
;
7286 int arg1
= (int) 0 ;
7287 wxQueryLayoutInfoEvent
*result
;
7288 PyObject
* obj0
= 0 ;
7293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7296 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7314 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
*resultobj
;
7316 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7318 PyObject
* obj0
= 0 ;
7319 PyObject
* obj1
= 0 ;
7321 (char *) "self",(char *) "length", NULL
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7327 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 (arg1
)->SetRequestedLength(arg2
);
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7337 Py_INCREF(Py_None
); resultobj
= Py_None
;
7344 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
*resultobj
;
7346 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7348 PyObject
* obj0
= 0 ;
7350 (char *) "self", NULL
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7362 resultobj
= SWIG_PyObj_FromInt((int)result
);
7369 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
*resultobj
;
7371 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7373 PyObject
* obj0
= 0 ;
7374 PyObject
* obj1
= 0 ;
7376 (char *) "self",(char *) "flags", NULL
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7382 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 (arg1
)->SetFlags(arg2
);
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 Py_INCREF(Py_None
); resultobj
= Py_None
;
7399 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7403 PyObject
* obj0
= 0 ;
7405 (char *) "self", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= SWIG_PyObj_FromInt((int)result
);
7424 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7429 PyObject
* obj0
= 0 ;
7430 PyObject
* obj1
= 0 ;
7432 (char *) "self",(char *) "size", NULL
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7439 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 (arg1
)->SetSize((wxSize
const &)*arg2
);
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7448 Py_INCREF(Py_None
); resultobj
= Py_None
;
7455 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
*resultobj
;
7457 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7459 PyObject
* obj0
= 0 ;
7461 (char *) "self", NULL
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7470 wxPyEndAllowThreads(__tstate
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7475 resultptr
= new wxSize((wxSize
&) result
);
7476 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
7484 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
*resultobj
;
7486 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7488 PyObject
* obj0
= 0 ;
7489 PyObject
* obj1
= 0 ;
7491 (char *) "self",(char *) "orient", NULL
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7497 arg2
= (wxLayoutOrientation
) SWIG_PyObj_AsInt(obj1
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7502 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7504 wxPyEndAllowThreads(__tstate
);
7505 if (PyErr_Occurred()) SWIG_fail
;
7507 Py_INCREF(Py_None
); resultobj
= Py_None
;
7514 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
;
7516 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7518 PyObject
* obj0
= 0 ;
7520 (char *) "self", NULL
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7529 wxPyEndAllowThreads(__tstate
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7532 resultobj
= SWIG_PyObj_FromInt((int)result
);
7539 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
*resultobj
;
7541 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7543 PyObject
* obj0
= 0 ;
7544 PyObject
* obj1
= 0 ;
7546 (char *) "self",(char *) "align", NULL
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7552 arg2
= (wxLayoutAlignment
) SWIG_PyObj_AsInt(obj1
);
7553 if (PyErr_Occurred()) SWIG_fail
;
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 Py_INCREF(Py_None
); resultobj
= Py_None
;
7569 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
;
7571 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7573 PyObject
* obj0
= 0 ;
7575 (char *) "self", NULL
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= SWIG_PyObj_FromInt((int)result
);
7594 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7597 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7599 return Py_BuildValue((char *)"");
7601 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
*resultobj
;
7603 int arg1
= (int) 0 ;
7604 wxCalculateLayoutEvent
*result
;
7605 PyObject
* obj0
= 0 ;
7610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7613 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7631 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
;
7633 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7635 PyObject
* obj0
= 0 ;
7636 PyObject
* obj1
= 0 ;
7638 (char *) "self",(char *) "flags", NULL
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7644 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 (arg1
)->SetFlags(arg2
);
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7654 Py_INCREF(Py_None
); resultobj
= Py_None
;
7661 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7667 (char *) "self", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7679 resultobj
= SWIG_PyObj_FromInt((int)result
);
7686 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
;
7688 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7691 PyObject
* obj0
= 0 ;
7692 PyObject
* obj1
= 0 ;
7694 (char *) "self",(char *) "rect", NULL
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7701 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 (arg1
)->SetRect((wxRect
const &)*arg2
);
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7710 Py_INCREF(Py_None
); resultobj
= Py_None
;
7717 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
;
7719 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7721 PyObject
* obj0
= 0 ;
7723 (char *) "self", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7737 resultptr
= new wxRect((wxRect
&) result
);
7738 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
7746 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7749 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7751 return Py_BuildValue((char *)"");
7753 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7755 wxWindow
*arg1
= (wxWindow
*) 0 ;
7757 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7758 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7759 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7760 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7761 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7762 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7763 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7764 wxSashLayoutWindow
*result
;
7767 bool temp6
= False
;
7768 PyObject
* obj0
= 0 ;
7769 PyObject
* obj1
= 0 ;
7770 PyObject
* obj2
= 0 ;
7771 PyObject
* obj3
= 0 ;
7772 PyObject
* obj4
= 0 ;
7773 PyObject
* obj5
= 0 ;
7775 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7781 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7787 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7793 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7798 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7804 arg6
= wxString_in_helper(obj5
);
7805 if (arg6
== NULL
) SWIG_fail
;
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7816 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7831 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
;
7833 wxSashLayoutWindow
*result
;
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7853 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
*resultobj
;
7855 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7856 wxWindow
*arg2
= (wxWindow
*) 0 ;
7858 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7859 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7860 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7861 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7862 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7863 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7864 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7868 bool temp7
= False
;
7869 PyObject
* obj0
= 0 ;
7870 PyObject
* obj1
= 0 ;
7871 PyObject
* obj2
= 0 ;
7872 PyObject
* obj3
= 0 ;
7873 PyObject
* obj4
= 0 ;
7874 PyObject
* obj5
= 0 ;
7875 PyObject
* obj6
= 0 ;
7877 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7882 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7884 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7890 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7896 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7901 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7907 arg7
= wxString_in_helper(obj6
);
7908 if (arg7
== NULL
) SWIG_fail
;
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7916 wxPyEndAllowThreads(__tstate
);
7917 if (PyErr_Occurred()) SWIG_fail
;
7919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7934 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
;
7936 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7938 PyObject
* obj0
= 0 ;
7940 (char *) "self", NULL
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 result
= (int)(arg1
)->GetAlignment();
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7952 resultobj
= SWIG_PyObj_FromInt((int)result
);
7959 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
;
7961 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7963 PyObject
* obj0
= 0 ;
7965 (char *) "self", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 result
= (int)(arg1
)->GetOrientation();
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7977 resultobj
= SWIG_PyObj_FromInt((int)result
);
7984 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
*resultobj
;
7986 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7989 PyObject
* obj1
= 0 ;
7991 (char *) "self",(char *) "alignment", NULL
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7997 arg2
= (wxLayoutAlignment
) SWIG_PyObj_AsInt(obj1
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8007 Py_INCREF(Py_None
); resultobj
= Py_None
;
8014 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
;
8016 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8019 PyObject
* obj0
= 0 ;
8020 PyObject
* obj1
= 0 ;
8022 (char *) "self",(char *) "size", NULL
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8029 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8033 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8035 wxPyEndAllowThreads(__tstate
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8038 Py_INCREF(Py_None
); resultobj
= Py_None
;
8045 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
;
8047 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8049 PyObject
* obj0
= 0 ;
8050 PyObject
* obj1
= 0 ;
8052 (char *) "self",(char *) "orientation", NULL
8055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8058 arg2
= (wxLayoutOrientation
) SWIG_PyObj_AsInt(obj1
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8068 Py_INCREF(Py_None
); resultobj
= Py_None
;
8075 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8078 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8080 return Py_BuildValue((char *)"");
8082 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
;
8084 wxLayoutAlgorithm
*result
;
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8104 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8107 PyObject
* obj0
= 0 ;
8109 (char *) "self", NULL
8112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8121 Py_INCREF(Py_None
); resultobj
= Py_None
;
8128 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8129 PyObject
*resultobj
;
8130 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8131 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8132 wxRect
*arg3
= (wxRect
*) NULL
;
8134 PyObject
* obj0
= 0 ;
8135 PyObject
* obj1
= 0 ;
8136 PyObject
* obj2
= 0 ;
8138 (char *) "self",(char *) "frame",(char *) "rect", NULL
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8143 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8145 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8161 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
*resultobj
;
8163 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8164 wxFrame
*arg2
= (wxFrame
*) 0 ;
8165 wxWindow
*arg3
= (wxWindow
*) NULL
;
8167 PyObject
* obj0
= 0 ;
8168 PyObject
* obj1
= 0 ;
8169 PyObject
* obj2
= 0 ;
8171 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8176 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8178 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8194 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
;
8196 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8197 wxWindow
*arg2
= (wxWindow
*) 0 ;
8198 wxWindow
*arg3
= (wxWindow
*) NULL
;
8200 PyObject
* obj0
= 0 ;
8201 PyObject
* obj1
= 0 ;
8202 PyObject
* obj2
= 0 ;
8204 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8209 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8211 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8227 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8230 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8232 return Py_BuildValue((char *)"");
8234 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8235 PyObject
*resultobj
;
8236 wxWindow
*arg1
= (wxWindow
*) 0 ;
8237 int arg2
= (int) wxBORDER_NONE
;
8238 wxPopupWindow
*result
;
8239 PyObject
* obj0
= 0 ;
8240 PyObject
* obj1
= 0 ;
8242 (char *) "parent",(char *) "flags", NULL
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8249 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8250 if (PyErr_Occurred()) SWIG_fail
;
8254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8255 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8257 wxPyEndAllowThreads(__tstate
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8260 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
8267 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
*resultobj
;
8269 wxPopupWindow
*result
;
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 result
= (wxPopupWindow
*)new wxPopupWindow();
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8282 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
8289 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8290 PyObject
*resultobj
;
8291 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8292 wxWindow
*arg2
= (wxWindow
*) 0 ;
8293 int arg3
= (int) wxBORDER_NONE
;
8295 PyObject
* obj0
= 0 ;
8296 PyObject
* obj1
= 0 ;
8297 PyObject
* obj2
= 0 ;
8299 (char *) "self",(char *) "parent",(char *) "flags", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8304 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8307 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8313 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8325 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
*resultobj
;
8327 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8332 PyObject
* obj0
= 0 ;
8333 PyObject
* obj1
= 0 ;
8334 PyObject
* obj2
= 0 ;
8336 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8343 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8347 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8353 wxPyEndAllowThreads(__tstate
);
8354 if (PyErr_Occurred()) SWIG_fail
;
8356 Py_INCREF(Py_None
); resultobj
= Py_None
;
8363 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8366 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8368 return Py_BuildValue((char *)"");
8370 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
*resultobj
;
8372 wxWindow
*arg1
= (wxWindow
*) 0 ;
8373 int arg2
= (int) wxBORDER_NONE
;
8374 wxPyPopupTransientWindow
*result
;
8375 PyObject
* obj0
= 0 ;
8376 PyObject
* obj1
= 0 ;
8378 (char *) "parent",(char *) "style", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8385 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8403 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
*resultobj
;
8405 wxPyPopupTransientWindow
*result
;
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8415 wxPyEndAllowThreads(__tstate
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8425 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
*resultobj
;
8427 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8428 PyObject
*arg2
= (PyObject
*) 0 ;
8429 PyObject
*arg3
= (PyObject
*) 0 ;
8430 PyObject
* obj0
= 0 ;
8431 PyObject
* obj1
= 0 ;
8432 PyObject
* obj2
= 0 ;
8434 (char *) "self",(char *) "self",(char *) "_class", NULL
8437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 Py_INCREF(Py_None
); resultobj
= Py_None
;
8455 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
;
8457 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8458 wxWindow
*arg2
= (wxWindow
*) NULL
;
8459 PyObject
* obj0
= 0 ;
8460 PyObject
* obj1
= 0 ;
8462 (char *) "self",(char *) "focus", NULL
8465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8468 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8472 (arg1
)->Popup(arg2
);
8474 wxPyEndAllowThreads(__tstate
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8477 Py_INCREF(Py_None
); resultobj
= Py_None
;
8484 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
*resultobj
;
8486 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8487 PyObject
* obj0
= 0 ;
8489 (char *) "self", NULL
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8501 Py_INCREF(Py_None
); resultobj
= Py_None
;
8508 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8511 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8513 return Py_BuildValue((char *)"");
8515 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8516 PyObject
*resultobj
;
8517 wxWindow
*arg1
= (wxWindow
*) 0 ;
8518 wxString
*arg2
= 0 ;
8519 int arg3
= (int) 100 ;
8520 wxRect
*arg4
= (wxRect
*) NULL
;
8521 wxTipWindow
*result
;
8522 bool temp2
= False
;
8523 PyObject
* obj0
= 0 ;
8524 PyObject
* obj1
= 0 ;
8525 PyObject
* obj2
= 0 ;
8526 PyObject
* obj3
= 0 ;
8528 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8534 arg2
= wxString_in_helper(obj1
);
8535 if (arg2
== NULL
) SWIG_fail
;
8540 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8541 if (PyErr_Occurred()) SWIG_fail
;
8545 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipWindow
, 1);
8569 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8570 PyObject
*resultobj
;
8571 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8574 PyObject
* obj0
= 0 ;
8575 PyObject
* obj1
= 0 ;
8577 (char *) "self",(char *) "rectBound", NULL
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8584 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8593 Py_INCREF(Py_None
); resultobj
= Py_None
;
8600 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
*resultobj
;
8602 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8603 PyObject
* obj0
= 0 ;
8605 (char *) "self", NULL
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8617 Py_INCREF(Py_None
); resultobj
= Py_None
;
8624 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8627 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8629 return Py_BuildValue((char *)"");
8631 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
*resultobj
;
8633 wxWindow
*arg1
= (wxWindow
*) 0 ;
8634 int arg2
= (int) wxID_ANY
;
8635 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8636 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8637 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8638 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8639 long arg5
= (long) 0 ;
8640 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8641 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8642 wxPyVScrolledWindow
*result
;
8645 bool temp6
= False
;
8646 PyObject
* obj0
= 0 ;
8647 PyObject
* obj1
= 0 ;
8648 PyObject
* obj2
= 0 ;
8649 PyObject
* obj3
= 0 ;
8650 PyObject
* obj4
= 0 ;
8651 PyObject
* obj5
= 0 ;
8653 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8660 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8667 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8673 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8678 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8684 arg6
= wxString_in_helper(obj5
);
8685 if (arg6
== NULL
) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8711 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
*resultobj
;
8713 wxPyVScrolledWindow
*result
;
8718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8733 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
*resultobj
;
8735 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8736 PyObject
*arg2
= (PyObject
*) 0 ;
8737 PyObject
*arg3
= (PyObject
*) 0 ;
8738 PyObject
* obj0
= 0 ;
8739 PyObject
* obj1
= 0 ;
8740 PyObject
* obj2
= 0 ;
8742 (char *) "self",(char *) "self",(char *) "_class", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8751 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8753 wxPyEndAllowThreads(__tstate
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8756 Py_INCREF(Py_None
); resultobj
= Py_None
;
8763 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
*resultobj
;
8765 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8766 wxWindow
*arg2
= (wxWindow
*) 0 ;
8767 int arg3
= (int) wxID_ANY
;
8768 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8769 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8770 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8771 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8772 long arg6
= (long) 0 ;
8773 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8774 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8778 bool temp7
= False
;
8779 PyObject
* obj0
= 0 ;
8780 PyObject
* obj1
= 0 ;
8781 PyObject
* obj2
= 0 ;
8782 PyObject
* obj3
= 0 ;
8783 PyObject
* obj4
= 0 ;
8784 PyObject
* obj5
= 0 ;
8785 PyObject
* obj6
= 0 ;
8787 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8792 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8795 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8802 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8808 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8813 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8819 arg7
= wxString_in_helper(obj6
);
8820 if (arg7
== NULL
) SWIG_fail
;
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8828 wxPyEndAllowThreads(__tstate
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8846 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
*resultobj
;
8848 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8850 PyObject
* obj0
= 0 ;
8851 PyObject
* obj1
= 0 ;
8853 (char *) "self",(char *) "count", NULL
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8859 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 (arg1
)->SetLineCount(arg2
);
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8869 Py_INCREF(Py_None
); resultobj
= Py_None
;
8876 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
;
8878 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8881 PyObject
* obj0
= 0 ;
8882 PyObject
* obj1
= 0 ;
8884 (char *) "self",(char *) "line", NULL
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8890 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8907 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8908 PyObject
*resultobj
;
8909 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8912 PyObject
* obj0
= 0 ;
8913 PyObject
* obj1
= 0 ;
8915 (char *) "self",(char *) "lines", NULL
8918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
8919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8921 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8922 if (PyErr_Occurred()) SWIG_fail
;
8925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8926 result
= (bool)(arg1
)->ScrollLines(arg2
);
8928 wxPyEndAllowThreads(__tstate
);
8929 if (PyErr_Occurred()) SWIG_fail
;
8931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8938 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8939 PyObject
*resultobj
;
8940 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8943 PyObject
* obj0
= 0 ;
8944 PyObject
* obj1
= 0 ;
8946 (char *) "self",(char *) "pages", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
8950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8952 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8957 result
= (bool)(arg1
)->ScrollPages(arg2
);
8959 wxPyEndAllowThreads(__tstate
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8969 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8970 PyObject
*resultobj
;
8971 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8973 PyObject
* obj0
= 0 ;
8974 PyObject
* obj1
= 0 ;
8976 (char *) "self",(char *) "line", NULL
8979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8982 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8987 (arg1
)->RefreshLine(arg2
);
8989 wxPyEndAllowThreads(__tstate
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 Py_INCREF(Py_None
); resultobj
= Py_None
;
8999 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
;
9001 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9004 PyObject
* obj0
= 0 ;
9005 PyObject
* obj1
= 0 ;
9006 PyObject
* obj2
= 0 ;
9008 (char *) "self",(char *) "from",(char *) "to", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9014 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9018 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9023 (arg1
)->RefreshLines(arg2
,arg3
);
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9028 Py_INCREF(Py_None
); resultobj
= Py_None
;
9035 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
*resultobj
;
9037 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9041 PyObject
* obj0
= 0 ;
9042 PyObject
* obj1
= 0 ;
9043 PyObject
* obj2
= 0 ;
9045 (char *) "self",(char *) "x",(char *) "y", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9051 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9055 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 resultobj
= SWIG_PyObj_FromInt((int)result
);
9072 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9073 PyObject
*resultobj
;
9074 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9078 PyObject
* obj0
= 0 ;
9079 PyObject
* obj1
= 0 ;
9081 (char *) "self",(char *) "pt", NULL
9084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9088 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 resultobj
= SWIG_PyObj_FromInt((int)result
);
9104 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9106 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9107 PyObject
* obj0
= 0 ;
9109 (char *) "self", NULL
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 (arg1
)->RefreshAll();
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 Py_INCREF(Py_None
); resultobj
= Py_None
;
9128 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9132 PyObject
* obj0
= 0 ;
9134 (char *) "self", NULL
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9146 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9153 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
;
9155 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9157 PyObject
* obj0
= 0 ;
9159 (char *) "self", NULL
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9171 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9178 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9179 PyObject
*resultobj
;
9180 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9182 PyObject
* obj0
= 0 ;
9184 (char *) "self", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9203 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
;
9205 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9208 PyObject
* obj0
= 0 ;
9209 PyObject
* obj1
= 0 ;
9211 (char *) "self",(char *) "line", NULL
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9217 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9234 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9237 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9239 return Py_BuildValue((char *)"");
9241 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9242 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9247 static PyObject
*_wrap_VListBoxNameStr_get() {
9252 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9254 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9261 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
*resultobj
;
9263 wxWindow
*arg1
= (wxWindow
*) 0 ;
9264 int arg2
= (int) wxID_ANY
;
9265 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9266 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9267 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9268 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9269 long arg5
= (long) 0 ;
9270 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9271 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9272 wxPyVListBox
*result
;
9275 bool temp6
= False
;
9276 PyObject
* obj0
= 0 ;
9277 PyObject
* obj1
= 0 ;
9278 PyObject
* obj2
= 0 ;
9279 PyObject
* obj3
= 0 ;
9280 PyObject
* obj4
= 0 ;
9281 PyObject
* obj5
= 0 ;
9283 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9290 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9297 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9303 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9308 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9314 arg6
= wxString_in_helper(obj5
);
9315 if (arg6
== NULL
) SWIG_fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
9341 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
*resultobj
;
9343 wxPyVListBox
*result
;
9348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9351 result
= (wxPyVListBox
*)new wxPyVListBox();
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9356 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
9363 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
;
9365 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9366 PyObject
*arg2
= (PyObject
*) 0 ;
9367 PyObject
*arg3
= (PyObject
*) 0 ;
9368 PyObject
* obj0
= 0 ;
9369 PyObject
* obj1
= 0 ;
9370 PyObject
* obj2
= 0 ;
9372 (char *) "self",(char *) "self",(char *) "_class", NULL
9375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9386 Py_INCREF(Py_None
); resultobj
= Py_None
;
9393 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
*resultobj
;
9395 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9396 wxWindow
*arg2
= (wxWindow
*) 0 ;
9397 int arg3
= (int) wxID_ANY
;
9398 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9399 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9400 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9401 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9402 long arg6
= (long) 0 ;
9403 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9404 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9408 bool temp7
= False
;
9409 PyObject
* obj0
= 0 ;
9410 PyObject
* obj1
= 0 ;
9411 PyObject
* obj2
= 0 ;
9412 PyObject
* obj3
= 0 ;
9413 PyObject
* obj4
= 0 ;
9414 PyObject
* obj5
= 0 ;
9415 PyObject
* obj6
= 0 ;
9417 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9422 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9425 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9432 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9438 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9443 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9449 arg7
= wxString_in_helper(obj6
);
9450 if (arg7
== NULL
) SWIG_fail
;
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9476 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
*resultobj
;
9478 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9480 PyObject
* obj0
= 0 ;
9482 (char *) "self", NULL
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9494 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9501 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
;
9503 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9505 PyObject
* obj0
= 0 ;
9507 (char *) "self", NULL
9510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9526 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
*resultobj
;
9528 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9530 PyObject
* obj0
= 0 ;
9532 (char *) "self", NULL
9535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= SWIG_PyObj_FromInt((int)result
);
9551 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
;
9553 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9556 PyObject
* obj0
= 0 ;
9557 PyObject
* obj1
= 0 ;
9559 (char *) "self",(char *) "item", NULL
9562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9565 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9582 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9583 PyObject
*resultobj
;
9584 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9587 PyObject
* obj0
= 0 ;
9588 PyObject
* obj1
= 0 ;
9590 (char *) "self",(char *) "item", NULL
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9596 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9613 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
;
9615 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9617 PyObject
* obj0
= 0 ;
9619 (char *) "self", NULL
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9631 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9638 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
*resultobj
;
9640 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9641 unsigned long *arg2
= 0 ;
9643 PyObject
* obj0
= 0 ;
9644 PyObject
* obj1
= 0 ;
9646 (char *) "self",(char *) "cookie", NULL
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9651 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9653 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= SWIG_PyObj_FromInt((int)result
);
9669 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
;
9671 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9672 unsigned long *arg2
= 0 ;
9674 PyObject
* obj0
= 0 ;
9675 PyObject
* obj1
= 0 ;
9677 (char *) "self",(char *) "cookie", NULL
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9682 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9684 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9688 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9693 resultobj
= SWIG_PyObj_FromInt((int)result
);
9700 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
;
9702 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9704 PyObject
* obj0
= 0 ;
9706 (char *) "self", NULL
9709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9713 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9719 wxPoint
* resultptr
;
9720 resultptr
= new wxPoint((wxPoint
&) result
);
9721 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
9729 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9730 PyObject
*resultobj
;
9731 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9733 PyObject
* obj0
= 0 ;
9735 (char *) "self", NULL
9738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9743 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9744 result
= (wxColour
*) &_result_ref
;
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9750 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
9757 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
;
9759 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9761 PyObject
* obj0
= 0 ;
9762 PyObject
* obj1
= 0 ;
9764 (char *) "self",(char *) "count", NULL
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9770 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 (arg1
)->SetItemCount(arg2
);
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9780 Py_INCREF(Py_None
); resultobj
= Py_None
;
9787 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
;
9789 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9790 PyObject
* obj0
= 0 ;
9792 (char *) "self", NULL
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 Py_INCREF(Py_None
); resultobj
= Py_None
;
9811 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9813 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9815 PyObject
* obj0
= 0 ;
9816 PyObject
* obj1
= 0 ;
9818 (char *) "self",(char *) "selection", NULL
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9824 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 (arg1
)->SetSelection(arg2
);
9831 wxPyEndAllowThreads(__tstate
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9834 Py_INCREF(Py_None
); resultobj
= Py_None
;
9841 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9842 PyObject
*resultobj
;
9843 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9845 bool arg3
= (bool) True
;
9847 PyObject
* obj0
= 0 ;
9848 PyObject
* obj1
= 0 ;
9849 PyObject
* obj2
= 0 ;
9851 (char *) "self",(char *) "item",(char *) "select", NULL
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9857 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9862 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9880 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
;
9882 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9886 PyObject
* obj0
= 0 ;
9887 PyObject
* obj1
= 0 ;
9888 PyObject
* obj2
= 0 ;
9890 (char *) "self",(char *) "from",(char *) "to", NULL
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9896 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9900 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9917 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
;
9919 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9922 PyObject
* obj1
= 0 ;
9924 (char *) "self",(char *) "item", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
9928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9930 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 (arg1
)->Toggle(arg2
);
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9940 Py_INCREF(Py_None
); resultobj
= Py_None
;
9947 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9948 PyObject
*resultobj
;
9949 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9951 PyObject
* obj0
= 0 ;
9953 (char *) "self", NULL
9956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
9957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 result
= (bool)(arg1
)->SelectAll();
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9972 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9976 PyObject
* obj0
= 0 ;
9978 (char *) "self", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
9982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9985 result
= (bool)(arg1
)->DeselectAll();
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9997 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
*resultobj
;
9999 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10000 wxPoint
*arg2
= 0 ;
10002 PyObject
* obj0
= 0 ;
10003 PyObject
* obj1
= 0 ;
10004 char *kwnames
[] = {
10005 (char *) "self",(char *) "pt", NULL
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10012 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 Py_INCREF(Py_None
); resultobj
= Py_None
;
10028 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
;
10030 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10033 PyObject
* obj0
= 0 ;
10034 PyObject
* obj1
= 0 ;
10035 PyObject
* obj2
= 0 ;
10036 char *kwnames
[] = {
10037 (char *) "self",(char *) "x",(char *) "y", NULL
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10043 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10047 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 (arg1
)->SetMargins(arg2
,arg3
);
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10057 Py_INCREF(Py_None
); resultobj
= Py_None
;
10064 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10067 wxColour
*arg2
= 0 ;
10069 PyObject
* obj0
= 0 ;
10070 PyObject
* obj1
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "self",(char *) "col", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10079 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10088 Py_INCREF(Py_None
); resultobj
= Py_None
;
10095 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10098 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10100 return Py_BuildValue((char *)"");
10102 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10103 PyObject
*resultobj
;
10104 wxWindow
*arg1
= (wxWindow
*) 0 ;
10105 int arg2
= (int) wxID_ANY
;
10106 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10107 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10108 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10109 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10110 long arg5
= (long) 0 ;
10111 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10112 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10113 wxPyHtmlListBox
*result
;
10116 bool temp6
= False
;
10117 PyObject
* obj0
= 0 ;
10118 PyObject
* obj1
= 0 ;
10119 PyObject
* obj2
= 0 ;
10120 PyObject
* obj3
= 0 ;
10121 PyObject
* obj4
= 0 ;
10122 PyObject
* obj5
= 0 ;
10123 char *kwnames
[] = {
10124 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10131 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10138 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10144 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10149 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10155 arg6
= wxString_in_helper(obj5
);
10156 if (arg6
== NULL
) SWIG_fail
;
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
10182 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxPyHtmlListBox
*result
;
10185 char *kwnames
[] = {
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
10204 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
;
10206 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10207 PyObject
*arg2
= (PyObject
*) 0 ;
10208 PyObject
*arg3
= (PyObject
*) 0 ;
10209 PyObject
* obj0
= 0 ;
10210 PyObject
* obj1
= 0 ;
10211 PyObject
* obj2
= 0 ;
10212 char *kwnames
[] = {
10213 (char *) "self",(char *) "self",(char *) "_class", NULL
10216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10222 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10224 wxPyEndAllowThreads(__tstate
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10227 Py_INCREF(Py_None
); resultobj
= Py_None
;
10234 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10235 PyObject
*resultobj
;
10236 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10237 wxWindow
*arg2
= (wxWindow
*) 0 ;
10238 int arg3
= (int) wxID_ANY
;
10239 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10240 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10241 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10242 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10243 long arg6
= (long) 0 ;
10244 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10245 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10249 bool temp7
= False
;
10250 PyObject
* obj0
= 0 ;
10251 PyObject
* obj1
= 0 ;
10252 PyObject
* obj2
= 0 ;
10253 PyObject
* obj3
= 0 ;
10254 PyObject
* obj4
= 0 ;
10255 PyObject
* obj5
= 0 ;
10256 PyObject
* obj6
= 0 ;
10257 char *kwnames
[] = {
10258 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10263 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10266 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10273 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10279 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10284 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10290 arg7
= wxString_in_helper(obj6
);
10291 if (arg7
== NULL
) SWIG_fail
;
10296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10297 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10299 wxPyEndAllowThreads(__tstate
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10317 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
;
10319 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10320 PyObject
* obj0
= 0 ;
10321 char *kwnames
[] = {
10322 (char *) "self", NULL
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10329 (arg1
)->RefreshAll();
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10334 Py_INCREF(Py_None
); resultobj
= Py_None
;
10341 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
;
10343 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10345 PyObject
* obj0
= 0 ;
10346 PyObject
* obj1
= 0 ;
10347 char *kwnames
[] = {
10348 (char *) "self",(char *) "count", NULL
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10354 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 (arg1
)->SetItemCount(arg2
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10364 Py_INCREF(Py_None
); resultobj
= Py_None
;
10371 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10374 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10376 return Py_BuildValue((char *)"");
10378 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
;
10380 wxTaskBarIcon
*result
;
10381 char *kwnames
[] = {
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIcon
, 1);
10400 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10402 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10403 PyObject
* obj0
= 0 ;
10404 char *kwnames
[] = {
10405 (char *) "self", NULL
10408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10417 Py_INCREF(Py_None
); resultobj
= Py_None
;
10424 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
;
10426 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10428 PyObject
* obj0
= 0 ;
10429 char *kwnames
[] = {
10430 (char *) "self", NULL
10433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10449 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
;
10451 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10453 PyObject
* obj0
= 0 ;
10454 char *kwnames
[] = {
10455 (char *) "self", NULL
10458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10474 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
;
10476 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10478 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10479 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10481 bool temp3
= False
;
10482 PyObject
* obj0
= 0 ;
10483 PyObject
* obj1
= 0 ;
10484 PyObject
* obj2
= 0 ;
10485 char *kwnames
[] = {
10486 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10491 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10492 if (arg2
== NULL
) {
10493 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10497 arg3
= wxString_in_helper(obj2
);
10498 if (arg3
== NULL
) SWIG_fail
;
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10524 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
*resultobj
;
10526 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10528 PyObject
* obj0
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 result
= (bool)(arg1
)->RemoveIcon();
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10549 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
;
10551 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10552 wxMenu
*arg2
= (wxMenu
*) 0 ;
10554 PyObject
* obj0
= 0 ;
10555 PyObject
* obj1
= 0 ;
10556 char *kwnames
[] = {
10557 (char *) "self",(char *) "menu", NULL
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
10561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10562 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 result
= (bool)(arg1
)->PopupMenu(arg2
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10577 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10580 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10582 return Py_BuildValue((char *)"");
10584 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
;
10587 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10588 wxTaskBarIconEvent
*result
;
10589 PyObject
* obj0
= 0 ;
10590 PyObject
* obj1
= 0 ;
10591 char *kwnames
[] = {
10592 (char *) "evtType",(char *) "tbIcon", NULL
10595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10597 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10600 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10615 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10618 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10620 return Py_BuildValue((char *)"");
10622 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
10623 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10628 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10633 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10635 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10642 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
10643 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10648 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10653 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10655 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10662 static int _wrap_DirDialogNameStr_set(PyObject
*) {
10663 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10668 static PyObject
*_wrap_DirDialogNameStr_get() {
10673 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10675 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10682 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
10683 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10688 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10693 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10695 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10702 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
10703 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10708 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10713 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10715 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10722 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
10723 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10728 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10733 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10735 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10742 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
;
10744 wxColourData
*result
;
10745 char *kwnames
[] = {
10749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 result
= (wxColourData
*)new wxColourData();
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10757 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 1);
10764 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
;
10766 wxColourData
*arg1
= (wxColourData
*) 0 ;
10767 PyObject
* obj0
= 0 ;
10768 char *kwnames
[] = {
10769 (char *) "self", NULL
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 Py_INCREF(Py_None
); resultobj
= Py_None
;
10788 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10789 PyObject
*resultobj
;
10790 wxColourData
*arg1
= (wxColourData
*) 0 ;
10792 PyObject
* obj0
= 0 ;
10793 char *kwnames
[] = {
10794 (char *) "self", NULL
10797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 result
= (bool)(arg1
)->GetChooseFull();
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10813 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10814 PyObject
*resultobj
;
10815 wxColourData
*arg1
= (wxColourData
*) 0 ;
10817 PyObject
* obj0
= 0 ;
10818 char *kwnames
[] = {
10819 (char *) "self", NULL
10822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
10823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10826 result
= (arg1
)->GetColour();
10828 wxPyEndAllowThreads(__tstate
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10832 wxColour
* resultptr
;
10833 resultptr
= new wxColour((wxColour
&) result
);
10834 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10842 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
;
10844 wxColourData
*arg1
= (wxColourData
*) 0 ;
10847 PyObject
* obj0
= 0 ;
10848 PyObject
* obj1
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self",(char *) "i", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10856 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 result
= (arg1
)->GetCustomColour(arg2
);
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10867 wxColour
* resultptr
;
10868 resultptr
= new wxColour((wxColour
&) result
);
10869 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10877 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10878 PyObject
*resultobj
;
10879 wxColourData
*arg1
= (wxColourData
*) 0 ;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 char *kwnames
[] = {
10884 (char *) "self",(char *) "flag", NULL
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
10888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10890 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10895 (arg1
)->SetChooseFull(arg2
);
10897 wxPyEndAllowThreads(__tstate
);
10898 if (PyErr_Occurred()) SWIG_fail
;
10900 Py_INCREF(Py_None
); resultobj
= Py_None
;
10907 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10908 PyObject
*resultobj
;
10909 wxColourData
*arg1
= (wxColourData
*) 0 ;
10910 wxColour
*arg2
= 0 ;
10912 PyObject
* obj0
= 0 ;
10913 PyObject
* obj1
= 0 ;
10914 char *kwnames
[] = {
10915 (char *) "self",(char *) "colour", NULL
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10922 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10926 (arg1
)->SetColour((wxColour
const &)*arg2
);
10928 wxPyEndAllowThreads(__tstate
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10931 Py_INCREF(Py_None
); resultobj
= Py_None
;
10938 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10939 PyObject
*resultobj
;
10940 wxColourData
*arg1
= (wxColourData
*) 0 ;
10942 wxColour
*arg3
= 0 ;
10944 PyObject
* obj0
= 0 ;
10945 PyObject
* obj1
= 0 ;
10946 PyObject
* obj2
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self",(char *) "i",(char *) "colour", NULL
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10954 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10959 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10968 Py_INCREF(Py_None
); resultobj
= Py_None
;
10975 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
10977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10978 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
10980 return Py_BuildValue((char *)"");
10982 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
;
10984 wxWindow
*arg1
= (wxWindow
*) 0 ;
10985 wxColourData
*arg2
= (wxColourData
*) NULL
;
10986 wxColourDialog
*result
;
10987 PyObject
* obj0
= 0 ;
10988 PyObject
* obj1
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "parent",(char *) "data", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
10994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10996 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11005 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDialog
, 1);
11012 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11015 wxColourData
*result
;
11016 PyObject
* obj0
= 0 ;
11017 char *kwnames
[] = {
11018 (char *) "self", NULL
11021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11027 result
= (wxColourData
*) &_result_ref
;
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11033 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 0);
11040 static PyObject
*_wrap_ColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11044 PyObject
* obj0
= 0 ;
11045 char *kwnames
[] = {
11046 (char *) "self", NULL
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 result
= (int)(arg1
)->ShowModal();
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= SWIG_PyObj_FromInt((int)result
);
11065 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11068 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11070 return Py_BuildValue((char *)"");
11072 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11073 PyObject
*resultobj
;
11074 wxWindow
*arg1
= (wxWindow
*) 0 ;
11075 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11076 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11077 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11078 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11079 long arg4
= (long) 0 ;
11080 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11081 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11082 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11083 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11084 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11085 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11086 wxDirDialog
*result
;
11087 bool temp2
= False
;
11088 bool temp3
= False
;
11091 bool temp7
= False
;
11092 PyObject
* obj0
= 0 ;
11093 PyObject
* obj1
= 0 ;
11094 PyObject
* obj2
= 0 ;
11095 PyObject
* obj3
= 0 ;
11096 PyObject
* obj4
= 0 ;
11097 PyObject
* obj5
= 0 ;
11098 PyObject
* obj6
= 0 ;
11099 char *kwnames
[] = {
11100 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11107 arg2
= wxString_in_helper(obj1
);
11108 if (arg2
== NULL
) SWIG_fail
;
11114 arg3
= wxString_in_helper(obj2
);
11115 if (arg3
== NULL
) SWIG_fail
;
11121 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11128 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11134 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11139 arg7
= wxString_in_helper(obj6
);
11140 if (arg7
== NULL
) SWIG_fail
;
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11151 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirDialog
, 1);
11182 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11184 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11186 PyObject
* obj0
= 0 ;
11187 char *kwnames
[] = {
11188 (char *) "self", NULL
11191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11195 result
= (arg1
)->GetPath();
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11213 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11217 PyObject
* obj0
= 0 ;
11218 char *kwnames
[] = {
11219 (char *) "self", NULL
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11226 result
= (arg1
)->GetMessage();
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11244 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
*resultobj
;
11246 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11248 PyObject
* obj0
= 0 ;
11249 char *kwnames
[] = {
11250 (char *) "self", NULL
11253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 result
= (long)(arg1
)->GetStyle();
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11262 resultobj
= SWIG_PyObj_FromLong((long)result
);
11269 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
;
11271 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11272 wxString
*arg2
= 0 ;
11273 bool temp2
= False
;
11274 PyObject
* obj0
= 0 ;
11275 PyObject
* obj1
= 0 ;
11276 char *kwnames
[] = {
11277 (char *) "self",(char *) "message", NULL
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11283 arg2
= wxString_in_helper(obj1
);
11284 if (arg2
== NULL
) SWIG_fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 (arg1
)->SetMessage((wxString
const &)*arg2
);
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11294 Py_INCREF(Py_None
); resultobj
= Py_None
;
11309 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
*resultobj
;
11311 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11312 wxString
*arg2
= 0 ;
11313 bool temp2
= False
;
11314 PyObject
* obj0
= 0 ;
11315 PyObject
* obj1
= 0 ;
11316 char *kwnames
[] = {
11317 (char *) "self",(char *) "path", NULL
11320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11323 arg2
= wxString_in_helper(obj1
);
11324 if (arg2
== NULL
) SWIG_fail
;
11328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11329 (arg1
)->SetPath((wxString
const &)*arg2
);
11331 wxPyEndAllowThreads(__tstate
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11334 Py_INCREF(Py_None
); resultobj
= Py_None
;
11349 static PyObject
*_wrap_DirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11350 PyObject
*resultobj
;
11351 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11353 PyObject
* obj0
= 0 ;
11354 char *kwnames
[] = {
11355 (char *) "self", NULL
11358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 result
= (int)(arg1
)->ShowModal();
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11367 resultobj
= SWIG_PyObj_FromInt((int)result
);
11374 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11377 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11379 return Py_BuildValue((char *)"");
11381 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
;
11383 wxWindow
*arg1
= (wxWindow
*) 0 ;
11384 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11385 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11386 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11387 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11388 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11389 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11390 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11391 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11392 long arg6
= (long) 0 ;
11393 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11394 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11395 wxFileDialog
*result
;
11396 bool temp2
= False
;
11397 bool temp3
= False
;
11398 bool temp4
= False
;
11399 bool temp5
= False
;
11401 PyObject
* obj0
= 0 ;
11402 PyObject
* obj1
= 0 ;
11403 PyObject
* obj2
= 0 ;
11404 PyObject
* obj3
= 0 ;
11405 PyObject
* obj4
= 0 ;
11406 PyObject
* obj5
= 0 ;
11407 PyObject
* obj6
= 0 ;
11408 char *kwnames
[] = {
11409 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11416 arg2
= wxString_in_helper(obj1
);
11417 if (arg2
== NULL
) SWIG_fail
;
11423 arg3
= wxString_in_helper(obj2
);
11424 if (arg3
== NULL
) SWIG_fail
;
11430 arg4
= wxString_in_helper(obj3
);
11431 if (arg4
== NULL
) SWIG_fail
;
11437 arg5
= wxString_in_helper(obj4
);
11438 if (arg5
== NULL
) SWIG_fail
;
11444 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11451 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11456 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11458 wxPyEndAllowThreads(__tstate
);
11459 if (PyErr_Occurred()) SWIG_fail
;
11461 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDialog
, 1);
11500 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11503 wxString
*arg2
= 0 ;
11504 bool temp2
= False
;
11505 PyObject
* obj0
= 0 ;
11506 PyObject
* obj1
= 0 ;
11507 char *kwnames
[] = {
11508 (char *) "self",(char *) "message", NULL
11511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11514 arg2
= wxString_in_helper(obj1
);
11515 if (arg2
== NULL
) SWIG_fail
;
11519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11520 (arg1
)->SetMessage((wxString
const &)*arg2
);
11522 wxPyEndAllowThreads(__tstate
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11525 Py_INCREF(Py_None
); resultobj
= Py_None
;
11540 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11541 PyObject
*resultobj
;
11542 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11543 wxString
*arg2
= 0 ;
11544 bool temp2
= False
;
11545 PyObject
* obj0
= 0 ;
11546 PyObject
* obj1
= 0 ;
11547 char *kwnames
[] = {
11548 (char *) "self",(char *) "path", NULL
11551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11554 arg2
= wxString_in_helper(obj1
);
11555 if (arg2
== NULL
) SWIG_fail
;
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 (arg1
)->SetPath((wxString
const &)*arg2
);
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11565 Py_INCREF(Py_None
); resultobj
= Py_None
;
11580 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11583 wxString
*arg2
= 0 ;
11584 bool temp2
= False
;
11585 PyObject
* obj0
= 0 ;
11586 PyObject
* obj1
= 0 ;
11587 char *kwnames
[] = {
11588 (char *) "self",(char *) "dir", NULL
11591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11594 arg2
= wxString_in_helper(obj1
);
11595 if (arg2
== NULL
) SWIG_fail
;
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11605 Py_INCREF(Py_None
); resultobj
= Py_None
;
11620 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11621 PyObject
*resultobj
;
11622 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11623 wxString
*arg2
= 0 ;
11624 bool temp2
= False
;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "self",(char *) "name", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11634 arg2
= wxString_in_helper(obj1
);
11635 if (arg2
== NULL
) SWIG_fail
;
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 (arg1
)->SetFilename((wxString
const &)*arg2
);
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11645 Py_INCREF(Py_None
); resultobj
= Py_None
;
11660 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
;
11662 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11663 wxString
*arg2
= 0 ;
11664 bool temp2
= False
;
11665 PyObject
* obj0
= 0 ;
11666 PyObject
* obj1
= 0 ;
11667 char *kwnames
[] = {
11668 (char *) "self",(char *) "wildCard", NULL
11671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11674 arg2
= wxString_in_helper(obj1
);
11675 if (arg2
== NULL
) SWIG_fail
;
11679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11680 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11682 wxPyEndAllowThreads(__tstate
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11685 Py_INCREF(Py_None
); resultobj
= Py_None
;
11700 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11701 PyObject
*resultobj
;
11702 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11704 PyObject
* obj0
= 0 ;
11705 PyObject
* obj1
= 0 ;
11706 char *kwnames
[] = {
11707 (char *) "self",(char *) "style", NULL
11710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11713 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 (arg1
)->SetStyle(arg2
);
11720 wxPyEndAllowThreads(__tstate
);
11721 if (PyErr_Occurred()) SWIG_fail
;
11723 Py_INCREF(Py_None
); resultobj
= Py_None
;
11730 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11731 PyObject
*resultobj
;
11732 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11734 PyObject
* obj0
= 0 ;
11735 PyObject
* obj1
= 0 ;
11736 char *kwnames
[] = {
11737 (char *) "self",(char *) "filterIndex", NULL
11740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11743 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 (arg1
)->SetFilterIndex(arg2
);
11750 wxPyEndAllowThreads(__tstate
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11753 Py_INCREF(Py_None
); resultobj
= Py_None
;
11760 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
*resultobj
;
11762 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11764 PyObject
* obj0
= 0 ;
11765 char *kwnames
[] = {
11766 (char *) "self", NULL
11769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11773 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11780 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11782 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11791 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
;
11793 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11795 PyObject
* obj0
= 0 ;
11796 char *kwnames
[] = {
11797 (char *) "self", NULL
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11811 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11813 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11822 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
*resultobj
;
11824 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11826 PyObject
* obj0
= 0 ;
11827 char *kwnames
[] = {
11828 (char *) "self", NULL
11831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11853 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
;
11855 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11857 PyObject
* obj0
= 0 ;
11858 char *kwnames
[] = {
11859 (char *) "self", NULL
11862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
11863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11866 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
11868 wxPyEndAllowThreads(__tstate
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11875 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11884 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11885 PyObject
*resultobj
;
11886 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11888 PyObject
* obj0
= 0 ;
11889 char *kwnames
[] = {
11890 (char *) "self", NULL
11893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
11894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11897 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11915 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11916 PyObject
*resultobj
;
11917 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11919 PyObject
* obj0
= 0 ;
11920 char *kwnames
[] = {
11921 (char *) "self", NULL
11924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11928 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= SWIG_PyObj_FromLong((long)result
);
11940 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
;
11942 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11944 PyObject
* obj0
= 0 ;
11945 char *kwnames
[] = {
11946 (char *) "self", NULL
11949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
11950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 resultobj
= SWIG_PyObj_FromInt((int)result
);
11965 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11967 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11969 PyObject
* obj0
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
11975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11978 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
11980 wxPyEndAllowThreads(__tstate
);
11981 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= result
;
11990 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
;
11992 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11994 PyObject
* obj0
= 0 ;
11995 char *kwnames
[] = {
11996 (char *) "self", NULL
11999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12008 resultobj
= result
;
12015 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12018 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12020 return Py_BuildValue((char *)"");
12022 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
;
12024 wxWindow
*arg1
= (wxWindow
*) 0 ;
12025 wxString
*arg2
= 0 ;
12026 wxString
*arg3
= 0 ;
12027 int arg4
= (int) 0 ;
12028 wxString
*arg5
= (wxString
*) 0 ;
12029 long arg6
= (long) wxCHOICEDLG_STYLE
;
12030 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12031 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12032 wxMultiChoiceDialog
*result
;
12033 bool temp2
= False
;
12034 bool temp3
= False
;
12036 PyObject
* obj0
= 0 ;
12037 PyObject
* obj1
= 0 ;
12038 PyObject
* obj2
= 0 ;
12039 PyObject
* obj3
= 0 ;
12040 PyObject
* obj4
= 0 ;
12041 PyObject
* obj5
= 0 ;
12042 char *kwnames
[] = {
12043 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12049 arg2
= wxString_in_helper(obj1
);
12050 if (arg2
== NULL
) SWIG_fail
;
12054 arg3
= wxString_in_helper(obj2
);
12055 if (arg3
== NULL
) SWIG_fail
;
12060 arg4
= PyList_Size(obj3
);
12061 arg5
= wxString_LIST_helper(obj3
);
12062 if (arg5
== NULL
) SWIG_fail
;
12067 arg6
= (long) SWIG_PyObj_AsLong(obj4
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12074 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12094 if (arg5
) delete [] arg5
;
12107 if (arg5
) delete [] arg5
;
12113 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12114 PyObject
*resultobj
;
12115 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12116 wxArrayInt
*arg2
= 0 ;
12117 PyObject
* obj0
= 0 ;
12118 PyObject
* obj1
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self",(char *) "selections", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12126 if (! PySequence_Check(obj1
)) {
12127 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12130 arg2
= new wxArrayInt
;
12131 int i
, len
=PySequence_Length(obj1
);
12132 for (i
=0; i
<len
; i
++) {
12133 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12134 PyObject
* number
= PyNumber_Int(item
);
12135 arg2
->Add(PyInt_AS_LONG(number
));
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 Py_INCREF(Py_None
); resultobj
= Py_None
;
12149 if (arg2
) delete arg2
;
12154 if (arg2
) delete arg2
;
12160 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12161 PyObject
*resultobj
;
12162 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12164 PyObject
* obj0
= 0 ;
12165 char *kwnames
[] = {
12166 (char *) "self", NULL
12169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12178 resultobj
= result
;
12185 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12188 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12190 return Py_BuildValue((char *)"");
12192 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
;
12194 wxWindow
*arg1
= (wxWindow
*) 0 ;
12195 wxString
*arg2
= 0 ;
12196 wxString
*arg3
= 0 ;
12198 wxString
*arg5
= (wxString
*) 0 ;
12199 long arg6
= (long) wxCHOICEDLG_STYLE
;
12200 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12201 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12202 wxSingleChoiceDialog
*result
;
12203 bool temp2
= False
;
12204 bool temp3
= False
;
12206 PyObject
* obj0
= 0 ;
12207 PyObject
* obj1
= 0 ;
12208 PyObject
* obj2
= 0 ;
12209 PyObject
* obj3
= 0 ;
12210 PyObject
* obj4
= 0 ;
12211 PyObject
* obj5
= 0 ;
12212 char *kwnames
[] = {
12213 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12219 arg2
= wxString_in_helper(obj1
);
12220 if (arg2
== NULL
) SWIG_fail
;
12224 arg3
= wxString_in_helper(obj2
);
12225 if (arg3
== NULL
) SWIG_fail
;
12229 arg4
= PyList_Size(obj3
);
12230 arg5
= wxString_LIST_helper(obj3
);
12231 if (arg5
== NULL
) SWIG_fail
;
12235 arg6
= (long) SWIG_PyObj_AsLong(obj4
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12242 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12252 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12262 if (arg5
) delete [] arg5
;
12275 if (arg5
) delete [] arg5
;
12281 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
;
12283 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12285 PyObject
* obj0
= 0 ;
12286 char *kwnames
[] = {
12287 (char *) "self", NULL
12290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 result
= (int)(arg1
)->GetSelection();
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= SWIG_PyObj_FromInt((int)result
);
12306 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12307 PyObject
*resultobj
;
12308 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12310 PyObject
* obj0
= 0 ;
12311 char *kwnames
[] = {
12312 (char *) "self", NULL
12315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12319 result
= (arg1
)->GetStringSelection();
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12337 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
;
12339 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12341 PyObject
* obj0
= 0 ;
12342 PyObject
* obj1
= 0 ;
12343 char *kwnames
[] = {
12344 (char *) "self",(char *) "sel", NULL
12347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12350 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12351 if (PyErr_Occurred()) SWIG_fail
;
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 (arg1
)->SetSelection(arg2
);
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 Py_INCREF(Py_None
); resultobj
= Py_None
;
12367 static PyObject
*_wrap_SingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
;
12369 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12371 PyObject
* obj0
= 0 ;
12372 char *kwnames
[] = {
12373 (char *) "self", NULL
12376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 result
= (int)(arg1
)->ShowModal();
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 resultobj
= SWIG_PyObj_FromInt((int)result
);
12392 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12395 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12397 return Py_BuildValue((char *)"");
12399 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
;
12401 wxWindow
*arg1
= (wxWindow
*) 0 ;
12402 wxString
*arg2
= 0 ;
12403 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12404 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12405 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12406 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12407 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12408 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12409 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12410 wxTextEntryDialog
*result
;
12411 bool temp2
= False
;
12412 bool temp3
= False
;
12413 bool temp4
= False
;
12415 PyObject
* obj0
= 0 ;
12416 PyObject
* obj1
= 0 ;
12417 PyObject
* obj2
= 0 ;
12418 PyObject
* obj3
= 0 ;
12419 PyObject
* obj4
= 0 ;
12420 PyObject
* obj5
= 0 ;
12421 char *kwnames
[] = {
12422 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12428 arg2
= wxString_in_helper(obj1
);
12429 if (arg2
== NULL
) SWIG_fail
;
12434 arg3
= wxString_in_helper(obj2
);
12435 if (arg3
== NULL
) SWIG_fail
;
12441 arg4
= wxString_in_helper(obj3
);
12442 if (arg4
== NULL
) SWIG_fail
;
12448 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12455 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12465 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextEntryDialog
, 1);
12496 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12497 PyObject
*resultobj
;
12498 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12500 PyObject
* obj0
= 0 ;
12501 char *kwnames
[] = {
12502 (char *) "self", NULL
12505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12509 result
= (arg1
)->GetValue();
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12527 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12528 PyObject
*resultobj
;
12529 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12530 wxString
*arg2
= 0 ;
12531 bool temp2
= False
;
12532 PyObject
* obj0
= 0 ;
12533 PyObject
* obj1
= 0 ;
12534 char *kwnames
[] = {
12535 (char *) "self",(char *) "value", NULL
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12541 arg2
= wxString_in_helper(obj1
);
12542 if (arg2
== NULL
) SWIG_fail
;
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 (arg1
)->SetValue((wxString
const &)*arg2
);
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12552 Py_INCREF(Py_None
); resultobj
= Py_None
;
12567 static PyObject
*_wrap_TextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
;
12569 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12571 PyObject
* obj0
= 0 ;
12572 char *kwnames
[] = {
12573 (char *) "self", NULL
12576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 result
= (int)(arg1
)->ShowModal();
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 resultobj
= SWIG_PyObj_FromInt((int)result
);
12592 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12595 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12597 return Py_BuildValue((char *)"");
12599 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12600 PyObject
*resultobj
;
12601 wxFontData
*result
;
12602 char *kwnames
[] = {
12606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12609 result
= (wxFontData
*)new wxFontData();
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12614 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 1);
12621 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxFontData
*arg1
= (wxFontData
*) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 Py_INCREF(Py_None
); resultobj
= Py_None
;
12645 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
;
12647 wxFontData
*arg1
= (wxFontData
*) 0 ;
12649 PyObject
* obj0
= 0 ;
12650 PyObject
* obj1
= 0 ;
12651 char *kwnames
[] = {
12652 (char *) "self",(char *) "enable", NULL
12655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12658 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 (arg1
)->EnableEffects(arg2
);
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12668 Py_INCREF(Py_None
); resultobj
= Py_None
;
12675 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12676 PyObject
*resultobj
;
12677 wxFontData
*arg1
= (wxFontData
*) 0 ;
12679 PyObject
* obj0
= 0 ;
12680 char *kwnames
[] = {
12681 (char *) "self", NULL
12684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 result
= (bool)(arg1
)->GetAllowSymbols();
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12700 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
;
12702 wxFontData
*arg1
= (wxFontData
*) 0 ;
12704 PyObject
* obj0
= 0 ;
12705 char *kwnames
[] = {
12706 (char *) "self", NULL
12709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 result
= (arg1
)->GetColour();
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12719 wxColour
* resultptr
;
12720 resultptr
= new wxColour((wxColour
&) result
);
12721 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
12729 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxFontData
*arg1
= (wxFontData
*) 0 ;
12733 PyObject
* obj0
= 0 ;
12734 char *kwnames
[] = {
12735 (char *) "self", NULL
12738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 result
= (arg1
)->GetChosenFont();
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12748 wxFont
* resultptr
;
12749 resultptr
= new wxFont((wxFont
&) result
);
12750 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
12758 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12759 PyObject
*resultobj
;
12760 wxFontData
*arg1
= (wxFontData
*) 0 ;
12762 PyObject
* obj0
= 0 ;
12763 char *kwnames
[] = {
12764 (char *) "self", NULL
12767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (bool)(arg1
)->GetEnableEffects();
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12783 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 wxFontData
*arg1
= (wxFontData
*) 0 ;
12787 PyObject
* obj0
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "self", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 result
= (arg1
)->GetInitialFont();
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12802 wxFont
* resultptr
;
12803 resultptr
= new wxFont((wxFont
&) result
);
12804 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
12812 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxFontData
*arg1
= (wxFontData
*) 0 ;
12816 PyObject
* obj0
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 result
= (bool)(arg1
)->GetShowHelp();
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12837 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxFontData
*arg1
= (wxFontData
*) 0 ;
12841 PyObject
* obj0
= 0 ;
12842 PyObject
* obj1
= 0 ;
12843 char *kwnames
[] = {
12844 (char *) "self",(char *) "allowSymbols", NULL
12847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12850 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 (arg1
)->SetAllowSymbols(arg2
);
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12860 Py_INCREF(Py_None
); resultobj
= Py_None
;
12867 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
;
12869 wxFontData
*arg1
= (wxFontData
*) 0 ;
12871 PyObject
* obj0
= 0 ;
12872 PyObject
* obj1
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self",(char *) "font", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12879 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12880 if (arg2
== NULL
) {
12881 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 Py_INCREF(Py_None
); resultobj
= Py_None
;
12897 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
;
12899 wxFontData
*arg1
= (wxFontData
*) 0 ;
12900 wxColour
*arg2
= 0 ;
12902 PyObject
* obj0
= 0 ;
12903 PyObject
* obj1
= 0 ;
12904 char *kwnames
[] = {
12905 (char *) "self",(char *) "colour", NULL
12908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12912 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 (arg1
)->SetColour((wxColour
const &)*arg2
);
12918 wxPyEndAllowThreads(__tstate
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12921 Py_INCREF(Py_None
); resultobj
= Py_None
;
12928 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12929 PyObject
*resultobj
;
12930 wxFontData
*arg1
= (wxFontData
*) 0 ;
12932 PyObject
* obj0
= 0 ;
12933 PyObject
* obj1
= 0 ;
12934 char *kwnames
[] = {
12935 (char *) "self",(char *) "font", NULL
12938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12940 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12941 if (arg2
== NULL
) {
12942 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 Py_INCREF(Py_None
); resultobj
= Py_None
;
12958 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
;
12960 wxFontData
*arg1
= (wxFontData
*) 0 ;
12963 PyObject
* obj0
= 0 ;
12964 PyObject
* obj1
= 0 ;
12965 PyObject
* obj2
= 0 ;
12966 char *kwnames
[] = {
12967 (char *) "self",(char *) "min",(char *) "max", NULL
12970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12973 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12974 if (PyErr_Occurred()) SWIG_fail
;
12977 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12982 (arg1
)->SetRange(arg2
,arg3
);
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12987 Py_INCREF(Py_None
); resultobj
= Py_None
;
12994 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
;
12996 wxFontData
*arg1
= (wxFontData
*) 0 ;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 char *kwnames
[] = {
13001 (char *) "self",(char *) "showHelp", NULL
13004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13007 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 (arg1
)->SetShowHelp(arg2
);
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 Py_INCREF(Py_None
); resultobj
= Py_None
;
13024 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13027 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13029 return Py_BuildValue((char *)"");
13031 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13032 PyObject
*resultobj
;
13033 wxWindow
*arg1
= (wxWindow
*) 0 ;
13034 wxFontData
*arg2
= 0 ;
13035 wxFontDialog
*result
;
13036 PyObject
* obj0
= 0 ;
13037 PyObject
* obj1
= 0 ;
13038 char *kwnames
[] = {
13039 (char *) "parent",(char *) "data", NULL
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13044 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13045 if (arg2
== NULL
) {
13046 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13055 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontDialog
, 1);
13062 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13063 PyObject
*resultobj
;
13064 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13065 wxFontData
*result
;
13066 PyObject
* obj0
= 0 ;
13067 char *kwnames
[] = {
13068 (char *) "self", NULL
13071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13077 result
= (wxFontData
*) &_result_ref
;
13080 wxPyEndAllowThreads(__tstate
);
13081 if (PyErr_Occurred()) SWIG_fail
;
13083 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 0);
13090 static PyObject
*_wrap_FontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13091 PyObject
*resultobj
;
13092 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13094 PyObject
* obj0
= 0 ;
13095 char *kwnames
[] = {
13096 (char *) "self", NULL
13099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
13100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 result
= (int)(arg1
)->ShowModal();
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13108 resultobj
= SWIG_PyObj_FromInt((int)result
);
13115 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13118 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13120 return Py_BuildValue((char *)"");
13122 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
;
13124 wxWindow
*arg1
= (wxWindow
*) 0 ;
13125 wxString
*arg2
= 0 ;
13126 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13127 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13128 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13129 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13130 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13131 wxMessageDialog
*result
;
13132 bool temp2
= False
;
13133 bool temp3
= False
;
13135 PyObject
* obj0
= 0 ;
13136 PyObject
* obj1
= 0 ;
13137 PyObject
* obj2
= 0 ;
13138 PyObject
* obj3
= 0 ;
13139 PyObject
* obj4
= 0 ;
13140 char *kwnames
[] = {
13141 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13147 arg2
= wxString_in_helper(obj1
);
13148 if (arg2
== NULL
) SWIG_fail
;
13153 arg3
= wxString_in_helper(obj2
);
13154 if (arg3
== NULL
) SWIG_fail
;
13160 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13167 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMessageDialog
, 1);
13200 static PyObject
*_wrap_MessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxMessageDialog
*arg1
= (wxMessageDialog
*) 0 ;
13204 PyObject
* obj0
= 0 ;
13205 char *kwnames
[] = {
13206 (char *) "self", NULL
13209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MessageDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
13210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMessageDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 result
= (int)(arg1
)->ShowModal();
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 resultobj
= SWIG_PyObj_FromInt((int)result
);
13225 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13228 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13230 return Py_BuildValue((char *)"");
13232 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13233 PyObject
*resultobj
;
13234 wxString
*arg1
= 0 ;
13235 wxString
*arg2
= 0 ;
13236 int arg3
= (int) 100 ;
13237 wxWindow
*arg4
= (wxWindow
*) NULL
;
13238 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13239 wxProgressDialog
*result
;
13240 bool temp1
= False
;
13241 bool temp2
= False
;
13242 PyObject
* obj0
= 0 ;
13243 PyObject
* obj1
= 0 ;
13244 PyObject
* obj2
= 0 ;
13245 PyObject
* obj3
= 0 ;
13246 PyObject
* obj4
= 0 ;
13247 char *kwnames
[] = {
13248 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13253 arg1
= wxString_in_helper(obj0
);
13254 if (arg1
== NULL
) SWIG_fail
;
13258 arg2
= wxString_in_helper(obj1
);
13259 if (arg2
== NULL
) SWIG_fail
;
13264 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13269 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13273 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13279 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13281 wxPyEndAllowThreads(__tstate
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13284 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProgressDialog
, 1);
13307 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
*resultobj
;
13309 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13311 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13312 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13314 bool temp3
= False
;
13315 PyObject
* obj0
= 0 ;
13316 PyObject
* obj1
= 0 ;
13317 PyObject
* obj2
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13325 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13330 arg3
= wxString_in_helper(obj2
);
13331 if (arg3
== NULL
) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13357 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
;
13359 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13360 PyObject
* obj0
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "self", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 Py_INCREF(Py_None
); resultobj
= Py_None
;
13381 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13384 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13386 return Py_BuildValue((char *)"");
13388 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13389 PyObject
*resultobj
;
13390 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13391 int arg2
= (int) 0 ;
13392 wxFindDialogEvent
*result
;
13393 PyObject
* obj0
= 0 ;
13394 PyObject
* obj1
= 0 ;
13395 char *kwnames
[] = {
13396 (char *) "commandType",(char *) "id", NULL
13399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13402 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13408 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13419 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindDialogEvent
, 1);
13426 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13427 PyObject
*resultobj
;
13428 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13430 PyObject
* obj0
= 0 ;
13431 char *kwnames
[] = {
13432 (char *) "self", NULL
13435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 result
= (int)(arg1
)->GetFlags();
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 resultobj
= SWIG_PyObj_FromInt((int)result
);
13451 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
*resultobj
;
13453 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13455 PyObject
* obj0
= 0 ;
13456 char *kwnames
[] = {
13457 (char *) "self", NULL
13460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 wxString
const &_result_ref
= (arg1
)->GetFindString();
13466 result
= (wxString
*) &_result_ref
;
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13474 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13476 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13485 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
;
13487 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13489 PyObject
* obj0
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "self", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13500 result
= (wxString
*) &_result_ref
;
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13508 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13510 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13519 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13520 PyObject
*resultobj
;
13521 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13522 wxFindReplaceDialog
*result
;
13523 PyObject
* obj0
= 0 ;
13524 char *kwnames
[] = {
13525 (char *) "self", NULL
13528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 0);
13544 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13545 PyObject
*resultobj
;
13546 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13548 PyObject
* obj0
= 0 ;
13549 PyObject
* obj1
= 0 ;
13550 char *kwnames
[] = {
13551 (char *) "self",(char *) "flags", NULL
13554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13557 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13562 (arg1
)->SetFlags(arg2
);
13564 wxPyEndAllowThreads(__tstate
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 Py_INCREF(Py_None
); resultobj
= Py_None
;
13574 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13575 PyObject
*resultobj
;
13576 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13577 wxString
*arg2
= 0 ;
13578 bool temp2
= False
;
13579 PyObject
* obj0
= 0 ;
13580 PyObject
* obj1
= 0 ;
13581 char *kwnames
[] = {
13582 (char *) "self",(char *) "str", NULL
13585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13588 arg2
= wxString_in_helper(obj1
);
13589 if (arg2
== NULL
) SWIG_fail
;
13593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13594 (arg1
)->SetFindString((wxString
const &)*arg2
);
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13599 Py_INCREF(Py_None
); resultobj
= Py_None
;
13614 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13615 PyObject
*resultobj
;
13616 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13617 wxString
*arg2
= 0 ;
13618 bool temp2
= False
;
13619 PyObject
* obj0
= 0 ;
13620 PyObject
* obj1
= 0 ;
13621 char *kwnames
[] = {
13622 (char *) "self",(char *) "str", NULL
13625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13628 arg2
= wxString_in_helper(obj1
);
13629 if (arg2
== NULL
) SWIG_fail
;
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13639 Py_INCREF(Py_None
); resultobj
= Py_None
;
13654 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13657 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13659 return Py_BuildValue((char *)"");
13661 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13662 PyObject
*resultobj
;
13663 int arg1
= (int) 0 ;
13664 wxFindReplaceData
*result
;
13665 PyObject
* obj0
= 0 ;
13666 char *kwnames
[] = {
13667 (char *) "flags", NULL
13670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13673 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13679 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13681 wxPyEndAllowThreads(__tstate
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13684 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 1);
13691 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13692 PyObject
*resultobj
;
13693 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13694 PyObject
* obj0
= 0 ;
13695 char *kwnames
[] = {
13696 (char *) "self", NULL
13699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13708 Py_INCREF(Py_None
); resultobj
= Py_None
;
13715 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
;
13717 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13719 PyObject
* obj0
= 0 ;
13720 char *kwnames
[] = {
13721 (char *) "self", NULL
13724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13729 wxString
const &_result_ref
= (arg1
)->GetFindString();
13730 result
= (wxString
*) &_result_ref
;
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13738 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13740 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13749 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13750 PyObject
*resultobj
;
13751 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13753 PyObject
* obj0
= 0 ;
13754 char *kwnames
[] = {
13755 (char *) "self", NULL
13758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13764 result
= (wxString
*) &_result_ref
;
13767 wxPyEndAllowThreads(__tstate
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13772 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13774 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13783 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
;
13785 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13787 PyObject
* obj0
= 0 ;
13788 char *kwnames
[] = {
13789 (char *) "self", NULL
13792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13796 result
= (int)(arg1
)->GetFlags();
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 resultobj
= SWIG_PyObj_FromInt((int)result
);
13808 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13809 PyObject
*resultobj
;
13810 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13812 PyObject
* obj0
= 0 ;
13813 PyObject
* obj1
= 0 ;
13814 char *kwnames
[] = {
13815 (char *) "self",(char *) "flags", NULL
13818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13821 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 (arg1
)->SetFlags(arg2
);
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13831 Py_INCREF(Py_None
); resultobj
= Py_None
;
13838 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
*resultobj
;
13840 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13841 wxString
*arg2
= 0 ;
13842 bool temp2
= False
;
13843 PyObject
* obj0
= 0 ;
13844 PyObject
* obj1
= 0 ;
13845 char *kwnames
[] = {
13846 (char *) "self",(char *) "str", NULL
13849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13852 arg2
= wxString_in_helper(obj1
);
13853 if (arg2
== NULL
) SWIG_fail
;
13857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 (arg1
)->SetFindString((wxString
const &)*arg2
);
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13863 Py_INCREF(Py_None
); resultobj
= Py_None
;
13878 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13879 PyObject
*resultobj
;
13880 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13881 wxString
*arg2
= 0 ;
13882 bool temp2
= False
;
13883 PyObject
* obj0
= 0 ;
13884 PyObject
* obj1
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "self",(char *) "str", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13892 arg2
= wxString_in_helper(obj1
);
13893 if (arg2
== NULL
) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13903 Py_INCREF(Py_None
); resultobj
= Py_None
;
13918 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
13920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13921 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
13923 return Py_BuildValue((char *)"");
13925 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13926 PyObject
*resultobj
;
13927 wxWindow
*arg1
= (wxWindow
*) 0 ;
13928 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13929 wxString
*arg3
= 0 ;
13930 int arg4
= (int) 0 ;
13931 wxFindReplaceDialog
*result
;
13932 bool temp3
= False
;
13933 PyObject
* obj0
= 0 ;
13934 PyObject
* obj1
= 0 ;
13935 PyObject
* obj2
= 0 ;
13936 PyObject
* obj3
= 0 ;
13937 char *kwnames
[] = {
13938 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13943 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13945 arg3
= wxString_in_helper(obj2
);
13946 if (arg3
== NULL
) SWIG_fail
;
13951 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13957 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13959 wxPyEndAllowThreads(__tstate
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
13977 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
;
13979 wxFindReplaceDialog
*result
;
13980 char *kwnames
[] = {
13984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
13989 wxPyEndAllowThreads(__tstate
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13992 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
13999 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14000 PyObject
*resultobj
;
14001 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14002 wxWindow
*arg2
= (wxWindow
*) 0 ;
14003 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14004 wxString
*arg4
= 0 ;
14005 int arg5
= (int) 0 ;
14007 bool temp4
= False
;
14008 PyObject
* obj0
= 0 ;
14009 PyObject
* obj1
= 0 ;
14010 PyObject
* obj2
= 0 ;
14011 PyObject
* obj3
= 0 ;
14012 PyObject
* obj4
= 0 ;
14013 char *kwnames
[] = {
14014 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14019 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14020 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14022 arg4
= wxString_in_helper(obj3
);
14023 if (arg4
== NULL
) SWIG_fail
;
14028 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14029 if (PyErr_Occurred()) SWIG_fail
;
14033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14034 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14036 wxPyEndAllowThreads(__tstate
);
14037 if (PyErr_Occurred()) SWIG_fail
;
14039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14054 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14055 PyObject
*resultobj
;
14056 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14057 wxFindReplaceData
*result
;
14058 PyObject
* obj0
= 0 ;
14059 char *kwnames
[] = {
14060 (char *) "self", NULL
14063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14067 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14069 wxPyEndAllowThreads(__tstate
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14072 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 0);
14079 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14080 PyObject
*resultobj
;
14081 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14082 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14083 PyObject
* obj0
= 0 ;
14084 PyObject
* obj1
= 0 ;
14085 char *kwnames
[] = {
14086 (char *) "self",(char *) "data", NULL
14089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14091 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 (arg1
)->SetData(arg2
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 Py_INCREF(Py_None
); resultobj
= Py_None
;
14106 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14109 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14111 return Py_BuildValue((char *)"");
14113 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14114 PyObject
*resultobj
;
14115 wxWindow
*arg1
= (wxWindow
*) 0 ;
14117 wxString
*arg3
= 0 ;
14118 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14119 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14120 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14121 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14122 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14123 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14124 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14125 wxMDIParentFrame
*result
;
14126 bool temp3
= False
;
14129 bool temp7
= False
;
14130 PyObject
* obj0
= 0 ;
14131 PyObject
* obj1
= 0 ;
14132 PyObject
* obj2
= 0 ;
14133 PyObject
* obj3
= 0 ;
14134 PyObject
* obj4
= 0 ;
14135 PyObject
* obj5
= 0 ;
14136 PyObject
* obj6
= 0 ;
14137 char *kwnames
[] = {
14138 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14144 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14148 arg3
= wxString_in_helper(obj2
);
14149 if (arg3
== NULL
) SWIG_fail
;
14155 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14161 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14166 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14167 if (PyErr_Occurred()) SWIG_fail
;
14172 arg7
= wxString_in_helper(obj6
);
14173 if (arg7
== NULL
) SWIG_fail
;
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14179 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14181 wxPyEndAllowThreads(__tstate
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14184 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
14207 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14208 PyObject
*resultobj
;
14209 wxMDIParentFrame
*result
;
14210 char *kwnames
[] = {
14214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14217 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14219 wxPyEndAllowThreads(__tstate
);
14220 if (PyErr_Occurred()) SWIG_fail
;
14222 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
14229 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14230 PyObject
*resultobj
;
14231 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14232 wxWindow
*arg2
= (wxWindow
*) 0 ;
14234 wxString
*arg4
= 0 ;
14235 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14236 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14237 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14238 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14239 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14240 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14241 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14243 bool temp4
= False
;
14246 bool temp8
= False
;
14247 PyObject
* obj0
= 0 ;
14248 PyObject
* obj1
= 0 ;
14249 PyObject
* obj2
= 0 ;
14250 PyObject
* obj3
= 0 ;
14251 PyObject
* obj4
= 0 ;
14252 PyObject
* obj5
= 0 ;
14253 PyObject
* obj6
= 0 ;
14254 PyObject
* obj7
= 0 ;
14255 char *kwnames
[] = {
14256 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14261 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14263 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14267 arg4
= wxString_in_helper(obj3
);
14268 if (arg4
== NULL
) SWIG_fail
;
14274 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14280 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14285 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14291 arg8
= wxString_in_helper(obj7
);
14292 if (arg8
== NULL
) SWIG_fail
;
14297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14298 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14326 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14327 PyObject
*resultobj
;
14328 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14329 PyObject
* obj0
= 0 ;
14330 char *kwnames
[] = {
14331 (char *) "self", NULL
14334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 (arg1
)->ActivateNext();
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 Py_INCREF(Py_None
); resultobj
= Py_None
;
14350 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14353 PyObject
* obj0
= 0 ;
14354 char *kwnames
[] = {
14355 (char *) "self", NULL
14358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 (arg1
)->ActivatePrevious();
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 Py_INCREF(Py_None
); resultobj
= Py_None
;
14374 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
;
14376 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14377 PyObject
* obj0
= 0 ;
14378 char *kwnames
[] = {
14379 (char *) "self", NULL
14382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14386 (arg1
)->ArrangeIcons();
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14391 Py_INCREF(Py_None
); resultobj
= Py_None
;
14398 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14399 PyObject
*resultobj
;
14400 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14401 PyObject
* obj0
= 0 ;
14402 char *kwnames
[] = {
14403 (char *) "self", NULL
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14415 Py_INCREF(Py_None
); resultobj
= Py_None
;
14422 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14423 PyObject
*resultobj
;
14424 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14425 wxMDIChildFrame
*result
;
14426 PyObject
* obj0
= 0 ;
14427 char *kwnames
[] = {
14428 (char *) "self", NULL
14431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14435 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14441 resultobj
= wxPyMake_wxObject(result
);
14449 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14452 wxMDIClientWindow
*result
;
14453 PyObject
* obj0
= 0 ;
14454 char *kwnames
[] = {
14455 (char *) "self", NULL
14458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14462 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14468 resultobj
= wxPyMake_wxObject(result
);
14476 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
;
14478 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14480 PyObject
* obj0
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "self", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 result
= (wxWindow
*)(arg1
)->GetToolBar();
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14495 resultobj
= wxPyMake_wxObject(result
);
14503 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14504 PyObject
*resultobj
;
14505 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14507 PyObject
* obj0
= 0 ;
14508 char *kwnames
[] = {
14509 (char *) "self", NULL
14512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
14513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= wxPyMake_wxObject(result
);
14530 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
;
14532 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14533 wxMenu
*arg2
= (wxMenu
*) 0 ;
14534 PyObject
* obj0
= 0 ;
14535 PyObject
* obj1
= 0 ;
14536 char *kwnames
[] = {
14537 (char *) "self",(char *) "menu", NULL
14540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
14541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14542 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 (arg1
)->SetWindowMenu(arg2
);
14547 wxPyEndAllowThreads(__tstate
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14550 Py_INCREF(Py_None
); resultobj
= Py_None
;
14557 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14558 PyObject
*resultobj
;
14559 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14560 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
14561 PyObject
* obj0
= 0 ;
14562 PyObject
* obj1
= 0 ;
14563 char *kwnames
[] = {
14564 (char *) "self",(char *) "toolbar", NULL
14567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
14568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14569 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14572 (arg1
)->SetToolBar(arg2
);
14574 wxPyEndAllowThreads(__tstate
);
14575 if (PyErr_Occurred()) SWIG_fail
;
14577 Py_INCREF(Py_None
); resultobj
= Py_None
;
14584 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14585 PyObject
*resultobj
;
14586 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14587 PyObject
* obj0
= 0 ;
14588 char *kwnames
[] = {
14589 (char *) "self", NULL
14592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14601 Py_INCREF(Py_None
); resultobj
= Py_None
;
14608 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14611 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14613 return Py_BuildValue((char *)"");
14615 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14616 PyObject
*resultobj
;
14617 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14619 wxString
*arg3
= 0 ;
14620 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14621 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14622 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14623 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14624 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14625 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14626 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14627 wxMDIChildFrame
*result
;
14628 bool temp3
= False
;
14631 bool temp7
= False
;
14632 PyObject
* obj0
= 0 ;
14633 PyObject
* obj1
= 0 ;
14634 PyObject
* obj2
= 0 ;
14635 PyObject
* obj3
= 0 ;
14636 PyObject
* obj4
= 0 ;
14637 PyObject
* obj5
= 0 ;
14638 PyObject
* obj6
= 0 ;
14639 char *kwnames
[] = {
14640 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14646 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14650 arg3
= wxString_in_helper(obj2
);
14651 if (arg3
== NULL
) SWIG_fail
;
14657 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14663 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14668 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14674 arg7
= wxString_in_helper(obj6
);
14675 if (arg7
== NULL
) SWIG_fail
;
14680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14681 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14683 wxPyEndAllowThreads(__tstate
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14687 resultobj
= wxPyMake_wxObject(result
);
14711 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14712 PyObject
*resultobj
;
14713 wxMDIChildFrame
*result
;
14714 char *kwnames
[] = {
14718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14727 resultobj
= wxPyMake_wxObject(result
);
14735 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14736 PyObject
*resultobj
;
14737 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14738 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14740 wxString
*arg4
= 0 ;
14741 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14742 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14743 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14744 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14745 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14746 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14747 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14749 bool temp4
= False
;
14752 bool temp8
= False
;
14753 PyObject
* obj0
= 0 ;
14754 PyObject
* obj1
= 0 ;
14755 PyObject
* obj2
= 0 ;
14756 PyObject
* obj3
= 0 ;
14757 PyObject
* obj4
= 0 ;
14758 PyObject
* obj5
= 0 ;
14759 PyObject
* obj6
= 0 ;
14760 PyObject
* obj7
= 0 ;
14761 char *kwnames
[] = {
14762 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14767 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14769 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14773 arg4
= wxString_in_helper(obj3
);
14774 if (arg4
== NULL
) SWIG_fail
;
14780 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14786 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14791 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
14792 if (PyErr_Occurred()) SWIG_fail
;
14797 arg8
= wxString_in_helper(obj7
);
14798 if (arg8
== NULL
) SWIG_fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14832 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14833 PyObject
*resultobj
;
14834 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14835 PyObject
* obj0
= 0 ;
14836 char *kwnames
[] = {
14837 (char *) "self", NULL
14840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 (arg1
)->Activate();
14846 wxPyEndAllowThreads(__tstate
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14849 Py_INCREF(Py_None
); resultobj
= Py_None
;
14856 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14857 PyObject
*resultobj
;
14858 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14860 PyObject
* obj0
= 0 ;
14861 PyObject
* obj1
= 0 ;
14862 char *kwnames
[] = {
14863 (char *) "self",(char *) "maximize", NULL
14866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14869 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14870 if (PyErr_Occurred()) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 (arg1
)->Maximize(arg2
);
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14879 Py_INCREF(Py_None
); resultobj
= Py_None
;
14886 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14889 PyObject
* obj0
= 0 ;
14890 char *kwnames
[] = {
14891 (char *) "self", NULL
14894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 wxPyEndAllowThreads(__tstate
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14903 Py_INCREF(Py_None
); resultobj
= Py_None
;
14910 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14913 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14915 return Py_BuildValue((char *)"");
14917 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14920 long arg2
= (long) 0 ;
14921 wxMDIClientWindow
*result
;
14922 PyObject
* obj0
= 0 ;
14923 PyObject
* obj1
= 0 ;
14924 char *kwnames
[] = {
14925 (char *) "parent",(char *) "style", NULL
14928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14932 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14944 resultobj
= wxPyMake_wxObject(result
);
14952 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
;
14954 wxMDIClientWindow
*result
;
14955 char *kwnames
[] = {
14959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14962 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14964 wxPyEndAllowThreads(__tstate
);
14965 if (PyErr_Occurred()) SWIG_fail
;
14968 resultobj
= wxPyMake_wxObject(result
);
14976 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14977 PyObject
*resultobj
;
14978 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14979 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14980 long arg3
= (long) 0 ;
14982 PyObject
* obj0
= 0 ;
14983 PyObject
* obj1
= 0 ;
14984 PyObject
* obj2
= 0 ;
14985 char *kwnames
[] = {
14986 (char *) "self",(char *) "parent",(char *) "style", NULL
14989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIClientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14991 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14994 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15012 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15015 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15017 return Py_BuildValue((char *)"");
15019 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15020 PyObject
*resultobj
;
15021 wxWindow
*arg1
= (wxWindow
*) 0 ;
15023 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15024 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15025 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15026 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15027 long arg5
= (long) 0 ;
15028 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15029 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15030 wxPyWindow
*result
;
15033 bool temp6
= False
;
15034 PyObject
* obj0
= 0 ;
15035 PyObject
* obj1
= 0 ;
15036 PyObject
* obj2
= 0 ;
15037 PyObject
* obj3
= 0 ;
15038 PyObject
* obj4
= 0 ;
15039 PyObject
* obj5
= 0 ;
15040 char *kwnames
[] = {
15041 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15047 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15053 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15059 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15064 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15070 arg6
= wxString_in_helper(obj5
);
15071 if (arg6
== NULL
) SWIG_fail
;
15076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15077 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15082 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyWindow
, 1);
15097 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15098 PyObject
*resultobj
;
15099 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15100 PyObject
*arg2
= (PyObject
*) 0 ;
15101 PyObject
*arg3
= (PyObject
*) 0 ;
15102 PyObject
* obj0
= 0 ;
15103 PyObject
* obj1
= 0 ;
15104 PyObject
* obj2
= 0 ;
15105 char *kwnames
[] = {
15106 (char *) "self",(char *) "self",(char *) "_class", NULL
15109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15115 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15117 wxPyEndAllowThreads(__tstate
);
15118 if (PyErr_Occurred()) SWIG_fail
;
15120 Py_INCREF(Py_None
); resultobj
= Py_None
;
15127 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15128 PyObject
*resultobj
;
15129 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15134 PyObject
* obj0
= 0 ;
15135 PyObject
* obj1
= 0 ;
15136 PyObject
* obj2
= 0 ;
15137 PyObject
* obj3
= 0 ;
15138 PyObject
* obj4
= 0 ;
15139 char *kwnames
[] = {
15140 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15146 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15147 if (PyErr_Occurred()) SWIG_fail
;
15150 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15151 if (PyErr_Occurred()) SWIG_fail
;
15154 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15158 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15163 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15165 wxPyEndAllowThreads(__tstate
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15168 Py_INCREF(Py_None
); resultobj
= Py_None
;
15175 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
;
15177 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15182 int arg6
= (int) wxSIZE_AUTO
;
15183 PyObject
* obj0
= 0 ;
15184 PyObject
* obj1
= 0 ;
15185 PyObject
* obj2
= 0 ;
15186 PyObject
* obj3
= 0 ;
15187 PyObject
* obj4
= 0 ;
15188 PyObject
* obj5
= 0 ;
15189 char *kwnames
[] = {
15190 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15196 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15197 if (PyErr_Occurred()) SWIG_fail
;
15200 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15204 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15208 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15213 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15219 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15221 wxPyEndAllowThreads(__tstate
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15224 Py_INCREF(Py_None
); resultobj
= Py_None
;
15231 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15232 PyObject
*resultobj
;
15233 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15236 PyObject
* obj0
= 0 ;
15237 PyObject
* obj1
= 0 ;
15238 PyObject
* obj2
= 0 ;
15239 char *kwnames
[] = {
15240 (char *) "self",(char *) "width",(char *) "height", NULL
15243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15246 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15250 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 Py_INCREF(Py_None
); resultobj
= Py_None
;
15267 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
;
15269 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15272 PyObject
* obj0
= 0 ;
15273 PyObject
* obj1
= 0 ;
15274 PyObject
* obj2
= 0 ;
15275 char *kwnames
[] = {
15276 (char *) "self",(char *) "x",(char *) "y", NULL
15279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15282 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15286 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15291 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15293 wxPyEndAllowThreads(__tstate
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15296 Py_INCREF(Py_None
); resultobj
= Py_None
;
15303 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15304 PyObject
*resultobj
;
15305 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15306 int *arg2
= (int *) 0 ;
15307 int *arg3
= (int *) 0 ;
15310 PyObject
* obj0
= 0 ;
15311 char *kwnames
[] = {
15312 (char *) "self", NULL
15317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15326 Py_INCREF(Py_None
); resultobj
= Py_None
;
15328 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15329 resultobj
= t_output_helper(resultobj
,o
);
15332 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15333 resultobj
= t_output_helper(resultobj
,o
);
15341 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15342 PyObject
*resultobj
;
15343 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15344 int *arg2
= (int *) 0 ;
15345 int *arg3
= (int *) 0 ;
15348 PyObject
* obj0
= 0 ;
15349 char *kwnames
[] = {
15350 (char *) "self", NULL
15355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15359 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15361 wxPyEndAllowThreads(__tstate
);
15362 if (PyErr_Occurred()) SWIG_fail
;
15364 Py_INCREF(Py_None
); resultobj
= Py_None
;
15366 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15367 resultobj
= t_output_helper(resultobj
,o
);
15370 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15371 resultobj
= t_output_helper(resultobj
,o
);
15379 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15380 PyObject
*resultobj
;
15381 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15382 int *arg2
= (int *) 0 ;
15383 int *arg3
= (int *) 0 ;
15386 PyObject
* obj0
= 0 ;
15387 char *kwnames
[] = {
15388 (char *) "self", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15402 Py_INCREF(Py_None
); resultobj
= Py_None
;
15404 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15405 resultobj
= t_output_helper(resultobj
,o
);
15408 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15409 resultobj
= t_output_helper(resultobj
,o
);
15417 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15418 PyObject
*resultobj
;
15419 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15421 PyObject
* obj0
= 0 ;
15422 char *kwnames
[] = {
15423 (char *) "self", NULL
15426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15432 wxPyEndAllowThreads(__tstate
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15436 wxSize
* resultptr
;
15437 resultptr
= new wxSize((wxSize
&) result
);
15438 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15446 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15447 PyObject
*resultobj
;
15448 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15450 PyObject
* obj0
= 0 ;
15451 char *kwnames
[] = {
15452 (char *) "self", NULL
15455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15459 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15461 wxPyEndAllowThreads(__tstate
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15465 wxSize
* resultptr
;
15466 resultptr
= new wxSize((wxSize
&) result
);
15467 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15475 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15476 PyObject
*resultobj
;
15477 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15478 PyObject
* obj0
= 0 ;
15479 char *kwnames
[] = {
15480 (char *) "self", NULL
15483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15487 (arg1
)->base_InitDialog();
15489 wxPyEndAllowThreads(__tstate
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15492 Py_INCREF(Py_None
); resultobj
= Py_None
;
15499 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15500 PyObject
*resultobj
;
15501 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15503 PyObject
* obj0
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "self", NULL
15508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 result
= (bool)(arg1
)->base_TransferDataToWindow();
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15524 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15525 PyObject
*resultobj
;
15526 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15528 PyObject
* obj0
= 0 ;
15529 char *kwnames
[] = {
15530 (char *) "self", NULL
15533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15537 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15549 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15550 PyObject
*resultobj
;
15551 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15553 PyObject
* obj0
= 0 ;
15554 char *kwnames
[] = {
15555 (char *) "self", NULL
15558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15562 result
= (bool)(arg1
)->base_Validate();
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15574 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15575 PyObject
*resultobj
;
15576 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15578 PyObject
* obj0
= 0 ;
15579 char *kwnames
[] = {
15580 (char *) "self", NULL
15583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15589 wxPyEndAllowThreads(__tstate
);
15590 if (PyErr_Occurred()) SWIG_fail
;
15592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15599 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
;
15601 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15603 PyObject
* obj0
= 0 ;
15604 char *kwnames
[] = {
15605 (char *) "self", NULL
15608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15612 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15614 wxPyEndAllowThreads(__tstate
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15624 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
;
15626 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15628 PyObject
* obj0
= 0 ;
15629 char *kwnames
[] = {
15630 (char *) "self", NULL
15633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15643 wxSize
* resultptr
;
15644 resultptr
= new wxSize((wxSize
&) result
);
15645 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15653 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15654 PyObject
*resultobj
;
15655 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15656 wxWindow
*arg2
= (wxWindow
*) 0 ;
15657 PyObject
* obj0
= 0 ;
15658 PyObject
* obj1
= 0 ;
15659 char *kwnames
[] = {
15660 (char *) "self",(char *) "child", NULL
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15665 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15668 (arg1
)->base_AddChild(arg2
);
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15673 Py_INCREF(Py_None
); resultobj
= Py_None
;
15680 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15681 PyObject
*resultobj
;
15682 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15683 wxWindow
*arg2
= (wxWindow
*) 0 ;
15684 PyObject
* obj0
= 0 ;
15685 PyObject
* obj1
= 0 ;
15686 char *kwnames
[] = {
15687 (char *) "self",(char *) "child", NULL
15690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15692 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 (arg1
)->base_RemoveChild(arg2
);
15697 wxPyEndAllowThreads(__tstate
);
15698 if (PyErr_Occurred()) SWIG_fail
;
15700 Py_INCREF(Py_None
); resultobj
= Py_None
;
15707 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15710 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15712 return Py_BuildValue((char *)"");
15714 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15715 PyObject
*resultobj
;
15716 wxWindow
*arg1
= (wxWindow
*) 0 ;
15718 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15719 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15720 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15721 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15722 long arg5
= (long) 0 ;
15723 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15724 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15728 bool temp6
= False
;
15729 PyObject
* obj0
= 0 ;
15730 PyObject
* obj1
= 0 ;
15731 PyObject
* obj2
= 0 ;
15732 PyObject
* obj3
= 0 ;
15733 PyObject
* obj4
= 0 ;
15734 PyObject
* obj5
= 0 ;
15735 char *kwnames
[] = {
15736 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15742 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15748 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15754 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15759 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15765 arg6
= wxString_in_helper(obj5
);
15766 if (arg6
== NULL
) SWIG_fail
;
15771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15772 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPanel
, 1);
15792 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
;
15794 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15795 PyObject
*arg2
= (PyObject
*) 0 ;
15796 PyObject
*arg3
= (PyObject
*) 0 ;
15797 PyObject
* obj0
= 0 ;
15798 PyObject
* obj1
= 0 ;
15799 PyObject
* obj2
= 0 ;
15800 char *kwnames
[] = {
15801 (char *) "self",(char *) "self",(char *) "_class", NULL
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 Py_INCREF(Py_None
); resultobj
= Py_None
;
15822 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15823 PyObject
*resultobj
;
15824 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15829 PyObject
* obj0
= 0 ;
15830 PyObject
* obj1
= 0 ;
15831 PyObject
* obj2
= 0 ;
15832 PyObject
* obj3
= 0 ;
15833 PyObject
* obj4
= 0 ;
15834 char *kwnames
[] = {
15835 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15841 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15845 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15849 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15853 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15863 Py_INCREF(Py_None
); resultobj
= Py_None
;
15870 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
;
15872 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15877 int arg6
= (int) wxSIZE_AUTO
;
15878 PyObject
* obj0
= 0 ;
15879 PyObject
* obj1
= 0 ;
15880 PyObject
* obj2
= 0 ;
15881 PyObject
* obj3
= 0 ;
15882 PyObject
* obj4
= 0 ;
15883 PyObject
* obj5
= 0 ;
15884 char *kwnames
[] = {
15885 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15891 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15895 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15899 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15903 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15908 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15919 Py_INCREF(Py_None
); resultobj
= Py_None
;
15926 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15927 PyObject
*resultobj
;
15928 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15931 PyObject
* obj0
= 0 ;
15932 PyObject
* obj1
= 0 ;
15933 PyObject
* obj2
= 0 ;
15934 char *kwnames
[] = {
15935 (char *) "self",(char *) "width",(char *) "height", NULL
15938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15941 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15945 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15955 Py_INCREF(Py_None
); resultobj
= Py_None
;
15962 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
;
15964 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15967 PyObject
* obj0
= 0 ;
15968 PyObject
* obj1
= 0 ;
15969 PyObject
* obj2
= 0 ;
15970 char *kwnames
[] = {
15971 (char *) "self",(char *) "x",(char *) "y", NULL
15974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15977 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15981 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15988 wxPyEndAllowThreads(__tstate
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15991 Py_INCREF(Py_None
); resultobj
= Py_None
;
15998 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15999 PyObject
*resultobj
;
16000 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16001 int *arg2
= (int *) 0 ;
16002 int *arg3
= (int *) 0 ;
16005 PyObject
* obj0
= 0 ;
16006 char *kwnames
[] = {
16007 (char *) "self", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16016 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16021 Py_INCREF(Py_None
); resultobj
= Py_None
;
16023 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16024 resultobj
= t_output_helper(resultobj
,o
);
16027 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16028 resultobj
= t_output_helper(resultobj
,o
);
16036 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16037 PyObject
*resultobj
;
16038 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16039 int *arg2
= (int *) 0 ;
16040 int *arg3
= (int *) 0 ;
16043 PyObject
* obj0
= 0 ;
16044 char *kwnames
[] = {
16045 (char *) "self", NULL
16050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16059 Py_INCREF(Py_None
); resultobj
= Py_None
;
16061 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16062 resultobj
= t_output_helper(resultobj
,o
);
16065 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16066 resultobj
= t_output_helper(resultobj
,o
);
16074 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16075 PyObject
*resultobj
;
16076 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16077 int *arg2
= (int *) 0 ;
16078 int *arg3
= (int *) 0 ;
16081 PyObject
* obj0
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self", NULL
16088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16092 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16094 wxPyEndAllowThreads(__tstate
);
16095 if (PyErr_Occurred()) SWIG_fail
;
16097 Py_INCREF(Py_None
); resultobj
= Py_None
;
16099 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16100 resultobj
= t_output_helper(resultobj
,o
);
16103 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16104 resultobj
= t_output_helper(resultobj
,o
);
16112 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16116 PyObject
* obj0
= 0 ;
16117 char *kwnames
[] = {
16118 (char *) "self", NULL
16121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16125 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16127 wxPyEndAllowThreads(__tstate
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16131 wxSize
* resultptr
;
16132 resultptr
= new wxSize((wxSize
&) result
);
16133 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16141 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16142 PyObject
*resultobj
;
16143 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16145 PyObject
* obj0
= 0 ;
16146 char *kwnames
[] = {
16147 (char *) "self", NULL
16150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16156 wxPyEndAllowThreads(__tstate
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16160 wxSize
* resultptr
;
16161 resultptr
= new wxSize((wxSize
&) result
);
16162 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16170 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16171 PyObject
*resultobj
;
16172 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16173 PyObject
* obj0
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 (arg1
)->base_InitDialog();
16184 wxPyEndAllowThreads(__tstate
);
16185 if (PyErr_Occurred()) SWIG_fail
;
16187 Py_INCREF(Py_None
); resultobj
= Py_None
;
16194 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16195 PyObject
*resultobj
;
16196 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16198 PyObject
* obj0
= 0 ;
16199 char *kwnames
[] = {
16200 (char *) "self", NULL
16203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 result
= (bool)(arg1
)->base_TransferDataToWindow();
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16219 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
;
16221 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16223 PyObject
* obj0
= 0 ;
16224 char *kwnames
[] = {
16225 (char *) "self", NULL
16228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16244 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16245 PyObject
*resultobj
;
16246 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16248 PyObject
* obj0
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "self", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 result
= (bool)(arg1
)->base_Validate();
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16269 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16273 PyObject
* obj0
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16282 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16284 wxPyEndAllowThreads(__tstate
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16294 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16295 PyObject
*resultobj
;
16296 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16298 PyObject
* obj0
= 0 ;
16299 char *kwnames
[] = {
16300 (char *) "self", NULL
16303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16309 wxPyEndAllowThreads(__tstate
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16319 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16320 PyObject
*resultobj
;
16321 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16323 PyObject
* obj0
= 0 ;
16324 char *kwnames
[] = {
16325 (char *) "self", NULL
16328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16338 wxSize
* resultptr
;
16339 resultptr
= new wxSize((wxSize
&) result
);
16340 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16348 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16349 PyObject
*resultobj
;
16350 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16351 wxWindow
*arg2
= (wxWindow
*) 0 ;
16352 PyObject
* obj0
= 0 ;
16353 PyObject
* obj1
= 0 ;
16354 char *kwnames
[] = {
16355 (char *) "self",(char *) "child", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16360 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 (arg1
)->base_AddChild(arg2
);
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 Py_INCREF(Py_None
); resultobj
= Py_None
;
16375 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16378 wxWindow
*arg2
= (wxWindow
*) 0 ;
16379 PyObject
* obj0
= 0 ;
16380 PyObject
* obj1
= 0 ;
16381 char *kwnames
[] = {
16382 (char *) "self",(char *) "child", NULL
16385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 (arg1
)->base_RemoveChild(arg2
);
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16395 Py_INCREF(Py_None
); resultobj
= Py_None
;
16402 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16405 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16407 return Py_BuildValue((char *)"");
16409 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
16410 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
16415 static PyObject
*_wrap_PrintoutTitleStr_get() {
16420 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16422 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16429 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
16430 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
16435 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
16440 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16442 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16449 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
;
16451 wxPrintData
*result
;
16452 char *kwnames
[] = {
16456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
16458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16459 result
= (wxPrintData
*)new wxPrintData();
16461 wxPyEndAllowThreads(__tstate
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16464 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 1);
16471 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
;
16473 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16474 PyObject
* obj0
= 0 ;
16475 char *kwnames
[] = {
16476 (char *) "self", NULL
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
16480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16488 Py_INCREF(Py_None
); resultobj
= Py_None
;
16495 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16496 PyObject
*resultobj
;
16497 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16499 PyObject
* obj0
= 0 ;
16500 char *kwnames
[] = {
16501 (char *) "self", NULL
16504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
16505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 result
= (int)(arg1
)->GetNoCopies();
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 resultobj
= SWIG_PyObj_FromInt((int)result
);
16520 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
;
16522 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16524 PyObject
* obj0
= 0 ;
16525 char *kwnames
[] = {
16526 (char *) "self", NULL
16529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
16530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16533 result
= (bool)(arg1
)->GetCollate();
16535 wxPyEndAllowThreads(__tstate
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16545 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
;
16547 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16549 PyObject
* obj0
= 0 ;
16550 char *kwnames
[] = {
16551 (char *) "self", NULL
16554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
16555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 result
= (int)(arg1
)->GetOrientation();
16560 wxPyEndAllowThreads(__tstate
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16563 resultobj
= SWIG_PyObj_FromInt((int)result
);
16570 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
;
16572 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16574 PyObject
* obj0
= 0 ;
16575 char *kwnames
[] = {
16576 (char *) "self", NULL
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
16580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16583 result
= (bool)(arg1
)->Ok();
16585 wxPyEndAllowThreads(__tstate
);
16586 if (PyErr_Occurred()) SWIG_fail
;
16588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16595 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16596 PyObject
*resultobj
;
16597 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16599 PyObject
* obj0
= 0 ;
16600 char *kwnames
[] = {
16601 (char *) "self", NULL
16604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
16605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
16610 result
= (wxString
*) &_result_ref
;
16613 wxPyEndAllowThreads(__tstate
);
16614 if (PyErr_Occurred()) SWIG_fail
;
16618 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16620 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16629 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16630 PyObject
*resultobj
;
16631 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16633 PyObject
* obj0
= 0 ;
16634 char *kwnames
[] = {
16635 (char *) "self", NULL
16638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
16639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16642 result
= (bool)(arg1
)->GetColour();
16644 wxPyEndAllowThreads(__tstate
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16654 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16655 PyObject
*resultobj
;
16656 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16658 PyObject
* obj0
= 0 ;
16659 char *kwnames
[] = {
16660 (char *) "self", NULL
16663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
16664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 result
= (int)(arg1
)->GetDuplex();
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16672 resultobj
= SWIG_PyObj_FromInt((int)result
);
16679 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16680 PyObject
*resultobj
;
16681 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16683 PyObject
* obj0
= 0 ;
16684 char *kwnames
[] = {
16685 (char *) "self", NULL
16688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 result
= (int)(arg1
)->GetPaperId();
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16697 resultobj
= SWIG_PyObj_FromInt((int)result
);
16704 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
;
16706 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16708 PyObject
* obj0
= 0 ;
16709 char *kwnames
[] = {
16710 (char *) "self", NULL
16713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16718 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
16719 result
= (wxSize
*) &_result_ref
;
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
16732 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
;
16734 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16736 PyObject
* obj0
= 0 ;
16737 char *kwnames
[] = {
16738 (char *) "self", NULL
16741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
16742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 result
= (int)(arg1
)->GetQuality();
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16750 resultobj
= SWIG_PyObj_FromInt((int)result
);
16757 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16758 PyObject
*resultobj
;
16759 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16761 PyObject
* obj0
= 0 ;
16762 PyObject
* obj1
= 0 ;
16763 char *kwnames
[] = {
16764 (char *) "self",(char *) "v", NULL
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
16768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16770 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16775 (arg1
)->SetNoCopies(arg2
);
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16780 Py_INCREF(Py_None
); resultobj
= Py_None
;
16787 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16788 PyObject
*resultobj
;
16789 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16791 PyObject
* obj0
= 0 ;
16792 PyObject
* obj1
= 0 ;
16793 char *kwnames
[] = {
16794 (char *) "self",(char *) "flag", NULL
16797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
16798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16800 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16805 (arg1
)->SetCollate(arg2
);
16807 wxPyEndAllowThreads(__tstate
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16810 Py_INCREF(Py_None
); resultobj
= Py_None
;
16817 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16818 PyObject
*resultobj
;
16819 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16821 PyObject
* obj0
= 0 ;
16822 PyObject
* obj1
= 0 ;
16823 char *kwnames
[] = {
16824 (char *) "self",(char *) "orient", NULL
16827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16830 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16835 (arg1
)->SetOrientation(arg2
);
16837 wxPyEndAllowThreads(__tstate
);
16838 if (PyErr_Occurred()) SWIG_fail
;
16840 Py_INCREF(Py_None
); resultobj
= Py_None
;
16847 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16848 PyObject
*resultobj
;
16849 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16850 wxString
*arg2
= 0 ;
16851 bool temp2
= False
;
16852 PyObject
* obj0
= 0 ;
16853 PyObject
* obj1
= 0 ;
16854 char *kwnames
[] = {
16855 (char *) "self",(char *) "name", NULL
16858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
16859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16861 arg2
= wxString_in_helper(obj1
);
16862 if (arg2
== NULL
) SWIG_fail
;
16866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16867 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
16869 wxPyEndAllowThreads(__tstate
);
16870 if (PyErr_Occurred()) SWIG_fail
;
16872 Py_INCREF(Py_None
); resultobj
= Py_None
;
16887 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
;
16889 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16891 PyObject
* obj0
= 0 ;
16892 PyObject
* obj1
= 0 ;
16893 char *kwnames
[] = {
16894 (char *) "self",(char *) "colour", NULL
16897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16900 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16905 (arg1
)->SetColour(arg2
);
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16910 Py_INCREF(Py_None
); resultobj
= Py_None
;
16917 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16921 PyObject
* obj0
= 0 ;
16922 PyObject
* obj1
= 0 ;
16923 char *kwnames
[] = {
16924 (char *) "self",(char *) "duplex", NULL
16927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
16928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16930 arg2
= (wxDuplexMode
) SWIG_PyObj_AsInt(obj1
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16935 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
16937 wxPyEndAllowThreads(__tstate
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16940 Py_INCREF(Py_None
); resultobj
= Py_None
;
16947 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16948 PyObject
*resultobj
;
16949 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16951 PyObject
* obj0
= 0 ;
16952 PyObject
* obj1
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "self",(char *) "sizeId", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
16958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16960 arg2
= (wxPaperSize
) SWIG_PyObj_AsInt(obj1
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16970 Py_INCREF(Py_None
); resultobj
= Py_None
;
16977 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
;
16979 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16982 PyObject
* obj0
= 0 ;
16983 PyObject
* obj1
= 0 ;
16984 char *kwnames
[] = {
16985 (char *) "self",(char *) "sz", NULL
16988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16992 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16996 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17001 Py_INCREF(Py_None
); resultobj
= Py_None
;
17008 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
;
17010 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17012 PyObject
* obj0
= 0 ;
17013 PyObject
* obj1
= 0 ;
17014 char *kwnames
[] = {
17015 (char *) "self",(char *) "quality", NULL
17018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
17019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17021 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17026 (arg1
)->SetQuality(arg2
);
17028 wxPyEndAllowThreads(__tstate
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17031 Py_INCREF(Py_None
); resultobj
= Py_None
;
17038 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17039 PyObject
*resultobj
;
17040 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17042 PyObject
* obj0
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "self", NULL
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
17048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
17053 result
= (wxString
*) &_result_ref
;
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17061 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17063 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17072 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17073 PyObject
*resultobj
;
17074 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17076 PyObject
* obj0
= 0 ;
17077 char *kwnames
[] = {
17078 (char *) "self", NULL
17081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
17082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17086 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
17087 result
= (wxString
*) &_result_ref
;
17090 wxPyEndAllowThreads(__tstate
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17095 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17097 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17106 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
;
17108 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17110 PyObject
* obj0
= 0 ;
17111 char *kwnames
[] = {
17112 (char *) "self", NULL
17115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
17116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
17121 result
= (wxString
*) &_result_ref
;
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17129 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17131 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17140 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17141 PyObject
*resultobj
;
17142 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17144 PyObject
* obj0
= 0 ;
17145 char *kwnames
[] = {
17146 (char *) "self", NULL
17149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
17150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17154 wxString
const &_result_ref
= (arg1
)->GetFilename();
17155 result
= (wxString
*) &_result_ref
;
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17163 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17165 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17174 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17178 PyObject
* obj0
= 0 ;
17179 char *kwnames
[] = {
17180 (char *) "self", NULL
17183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
17184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
17189 result
= (wxString
*) &_result_ref
;
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17197 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17199 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17208 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17209 PyObject
*resultobj
;
17210 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17212 PyObject
* obj0
= 0 ;
17213 char *kwnames
[] = {
17214 (char *) "self", NULL
17217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
17218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 result
= (double)(arg1
)->GetPrinterScaleX();
17223 wxPyEndAllowThreads(__tstate
);
17224 if (PyErr_Occurred()) SWIG_fail
;
17226 resultobj
= SWIG_PyObj_FromDouble((double)result
);
17233 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17234 PyObject
*resultobj
;
17235 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17237 PyObject
* obj0
= 0 ;
17238 char *kwnames
[] = {
17239 (char *) "self", NULL
17242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
17243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 result
= (double)(arg1
)->GetPrinterScaleY();
17248 wxPyEndAllowThreads(__tstate
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17251 resultobj
= SWIG_PyObj_FromDouble((double)result
);
17258 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
;
17260 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17262 PyObject
* obj0
= 0 ;
17263 char *kwnames
[] = {
17264 (char *) "self", NULL
17267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
17268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= (long)(arg1
)->GetPrinterTranslateX();
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17276 resultobj
= SWIG_PyObj_FromLong((long)result
);
17283 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17287 PyObject
* obj0
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "self", NULL
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
17293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17296 result
= (long)(arg1
)->GetPrinterTranslateY();
17298 wxPyEndAllowThreads(__tstate
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17301 resultobj
= SWIG_PyObj_FromLong((long)result
);
17308 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17309 PyObject
*resultobj
;
17310 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17312 PyObject
* obj0
= 0 ;
17313 char *kwnames
[] = {
17314 (char *) "self", NULL
17317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
17318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 result
= (int)(arg1
)->GetPrintMode();
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17326 resultobj
= SWIG_PyObj_FromInt((int)result
);
17333 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
;
17335 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17336 wxString
*arg2
= 0 ;
17337 bool temp2
= False
;
17338 PyObject
* obj0
= 0 ;
17339 PyObject
* obj1
= 0 ;
17340 char *kwnames
[] = {
17341 (char *) "self",(char *) "command", NULL
17344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17347 arg2
= wxString_in_helper(obj1
);
17348 if (arg2
== NULL
) SWIG_fail
;
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17358 Py_INCREF(Py_None
); resultobj
= Py_None
;
17373 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
;
17375 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17376 wxString
*arg2
= 0 ;
17377 bool temp2
= False
;
17378 PyObject
* obj0
= 0 ;
17379 PyObject
* obj1
= 0 ;
17380 char *kwnames
[] = {
17381 (char *) "self",(char *) "options", NULL
17384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
17385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17387 arg2
= wxString_in_helper(obj1
);
17388 if (arg2
== NULL
) SWIG_fail
;
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17398 Py_INCREF(Py_None
); resultobj
= Py_None
;
17413 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
;
17415 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17416 wxString
*arg2
= 0 ;
17417 bool temp2
= False
;
17418 PyObject
* obj0
= 0 ;
17419 PyObject
* obj1
= 0 ;
17420 char *kwnames
[] = {
17421 (char *) "self",(char *) "command", NULL
17424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17427 arg2
= wxString_in_helper(obj1
);
17428 if (arg2
== NULL
) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 Py_INCREF(Py_None
); resultobj
= Py_None
;
17453 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17456 wxString
*arg2
= 0 ;
17457 bool temp2
= False
;
17458 PyObject
* obj0
= 0 ;
17459 PyObject
* obj1
= 0 ;
17460 char *kwnames
[] = {
17461 (char *) "self",(char *) "filename", NULL
17464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
17465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17467 arg2
= wxString_in_helper(obj1
);
17468 if (arg2
== NULL
) SWIG_fail
;
17472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 (arg1
)->SetFilename((wxString
const &)*arg2
);
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17478 Py_INCREF(Py_None
); resultobj
= Py_None
;
17493 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
;
17495 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17496 wxString
*arg2
= 0 ;
17497 bool temp2
= False
;
17498 PyObject
* obj0
= 0 ;
17499 PyObject
* obj1
= 0 ;
17500 char *kwnames
[] = {
17501 (char *) "self",(char *) "path", NULL
17504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17507 arg2
= wxString_in_helper(obj1
);
17508 if (arg2
== NULL
) SWIG_fail
;
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17513 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
17515 wxPyEndAllowThreads(__tstate
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17518 Py_INCREF(Py_None
); resultobj
= Py_None
;
17533 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
;
17535 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17537 PyObject
* obj0
= 0 ;
17538 PyObject
* obj1
= 0 ;
17539 char *kwnames
[] = {
17540 (char *) "self",(char *) "x", NULL
17543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
17544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17546 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17547 if (PyErr_Occurred()) SWIG_fail
;
17550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17551 (arg1
)->SetPrinterScaleX(arg2
);
17553 wxPyEndAllowThreads(__tstate
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 Py_INCREF(Py_None
); resultobj
= Py_None
;
17563 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
;
17565 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17567 PyObject
* obj0
= 0 ;
17568 PyObject
* obj1
= 0 ;
17569 char *kwnames
[] = {
17570 (char *) "self",(char *) "y", NULL
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
17574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17576 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 (arg1
)->SetPrinterScaleY(arg2
);
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 Py_INCREF(Py_None
); resultobj
= Py_None
;
17593 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
;
17595 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17598 PyObject
* obj0
= 0 ;
17599 PyObject
* obj1
= 0 ;
17600 PyObject
* obj2
= 0 ;
17601 char *kwnames
[] = {
17602 (char *) "self",(char *) "x",(char *) "y", NULL
17605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17608 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17612 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 (arg1
)->SetPrinterScaling(arg2
,arg3
);
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17622 Py_INCREF(Py_None
); resultobj
= Py_None
;
17629 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17630 PyObject
*resultobj
;
17631 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17633 PyObject
* obj0
= 0 ;
17634 PyObject
* obj1
= 0 ;
17635 char *kwnames
[] = {
17636 (char *) "self",(char *) "x", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
17640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17642 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 (arg1
)->SetPrinterTranslateX(arg2
);
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 Py_INCREF(Py_None
); resultobj
= Py_None
;
17659 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17660 PyObject
*resultobj
;
17661 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17663 PyObject
* obj0
= 0 ;
17664 PyObject
* obj1
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self",(char *) "y", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
17670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17672 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17677 (arg1
)->SetPrinterTranslateY(arg2
);
17679 wxPyEndAllowThreads(__tstate
);
17680 if (PyErr_Occurred()) SWIG_fail
;
17682 Py_INCREF(Py_None
); resultobj
= Py_None
;
17689 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17690 PyObject
*resultobj
;
17691 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17694 PyObject
* obj0
= 0 ;
17695 PyObject
* obj1
= 0 ;
17696 PyObject
* obj2
= 0 ;
17697 char *kwnames
[] = {
17698 (char *) "self",(char *) "x",(char *) "y", NULL
17701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17704 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17708 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
17715 wxPyEndAllowThreads(__tstate
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17718 Py_INCREF(Py_None
); resultobj
= Py_None
;
17725 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17726 PyObject
*resultobj
;
17727 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17729 PyObject
* obj0
= 0 ;
17730 PyObject
* obj1
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "self",(char *) "printMode", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
17736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17738 arg2
= (wxPrintMode
) SWIG_PyObj_AsInt(obj1
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17748 Py_INCREF(Py_None
); resultobj
= Py_None
;
17755 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
17757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17758 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
17760 return Py_BuildValue((char *)"");
17762 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
;
17764 wxPageSetupDialogData
*result
;
17765 char *kwnames
[] = {
17769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 1);
17784 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
;
17786 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17787 PyObject
* obj0
= 0 ;
17788 char *kwnames
[] = {
17789 (char *) "self", NULL
17792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
17793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17798 wxPyEndAllowThreads(__tstate
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17801 Py_INCREF(Py_None
); resultobj
= Py_None
;
17808 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17809 PyObject
*resultobj
;
17810 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17812 PyObject
* obj0
= 0 ;
17813 PyObject
* obj1
= 0 ;
17814 char *kwnames
[] = {
17815 (char *) "self",(char *) "flag", NULL
17818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17821 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17826 (arg1
)->EnableHelp(arg2
);
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 Py_INCREF(Py_None
); resultobj
= Py_None
;
17838 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
;
17840 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17842 PyObject
* obj0
= 0 ;
17843 PyObject
* obj1
= 0 ;
17844 char *kwnames
[] = {
17845 (char *) "self",(char *) "flag", NULL
17848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17851 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 (arg1
)->EnableMargins(arg2
);
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 Py_INCREF(Py_None
); resultobj
= Py_None
;
17868 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
;
17870 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17872 PyObject
* obj0
= 0 ;
17873 PyObject
* obj1
= 0 ;
17874 char *kwnames
[] = {
17875 (char *) "self",(char *) "flag", NULL
17878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17881 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 (arg1
)->EnableOrientation(arg2
);
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17891 Py_INCREF(Py_None
); resultobj
= Py_None
;
17898 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17899 PyObject
*resultobj
;
17900 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17902 PyObject
* obj0
= 0 ;
17903 PyObject
* obj1
= 0 ;
17904 char *kwnames
[] = {
17905 (char *) "self",(char *) "flag", NULL
17908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
17909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17911 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 (arg1
)->EnablePaper(arg2
);
17918 wxPyEndAllowThreads(__tstate
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17921 Py_INCREF(Py_None
); resultobj
= Py_None
;
17928 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17929 PyObject
*resultobj
;
17930 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17932 PyObject
* obj0
= 0 ;
17933 PyObject
* obj1
= 0 ;
17934 char *kwnames
[] = {
17935 (char *) "self",(char *) "flag", NULL
17938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
17939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17941 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 (arg1
)->EnablePrinter(arg2
);
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17951 Py_INCREF(Py_None
); resultobj
= Py_None
;
17958 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17959 PyObject
*resultobj
;
17960 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17962 PyObject
* obj0
= 0 ;
17963 char *kwnames
[] = {
17964 (char *) "self", NULL
17967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
17968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17971 result
= (bool)(arg1
)->GetDefaultMinMargins();
17973 wxPyEndAllowThreads(__tstate
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17983 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
;
17985 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17987 PyObject
* obj0
= 0 ;
17988 char *kwnames
[] = {
17989 (char *) "self", NULL
17992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
17993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17996 result
= (bool)(arg1
)->GetEnableMargins();
17998 wxPyEndAllowThreads(__tstate
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18008 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18009 PyObject
*resultobj
;
18010 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18012 PyObject
* obj0
= 0 ;
18013 char *kwnames
[] = {
18014 (char *) "self", NULL
18017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
18018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 result
= (bool)(arg1
)->GetEnableOrientation();
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18033 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18037 PyObject
* obj0
= 0 ;
18038 char *kwnames
[] = {
18039 (char *) "self", NULL
18042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
18043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18046 result
= (bool)(arg1
)->GetEnablePaper();
18048 wxPyEndAllowThreads(__tstate
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18058 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
;
18060 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18062 PyObject
* obj0
= 0 ;
18063 char *kwnames
[] = {
18064 (char *) "self", NULL
18067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
18068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 result
= (bool)(arg1
)->GetEnablePrinter();
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18083 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18084 PyObject
*resultobj
;
18085 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18087 PyObject
* obj0
= 0 ;
18088 char *kwnames
[] = {
18089 (char *) "self", NULL
18092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
18093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 result
= (bool)(arg1
)->GetEnableHelp();
18098 wxPyEndAllowThreads(__tstate
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18108 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
;
18110 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18112 PyObject
* obj0
= 0 ;
18113 char *kwnames
[] = {
18114 (char *) "self", NULL
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
18118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 result
= (bool)(arg1
)->GetDefaultInfo();
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18133 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
;
18135 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18137 PyObject
* obj0
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 result
= (arg1
)->GetMarginTopLeft();
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18152 wxPoint
* resultptr
;
18153 resultptr
= new wxPoint((wxPoint
&) result
);
18154 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18162 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18163 PyObject
*resultobj
;
18164 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18166 PyObject
* obj0
= 0 ;
18167 char *kwnames
[] = {
18168 (char *) "self", NULL
18171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 result
= (arg1
)->GetMarginBottomRight();
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18181 wxPoint
* resultptr
;
18182 resultptr
= new wxPoint((wxPoint
&) result
);
18183 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18191 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
;
18193 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18195 PyObject
* obj0
= 0 ;
18196 char *kwnames
[] = {
18197 (char *) "self", NULL
18200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 result
= (arg1
)->GetMinMarginTopLeft();
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18210 wxPoint
* resultptr
;
18211 resultptr
= new wxPoint((wxPoint
&) result
);
18212 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18220 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18221 PyObject
*resultobj
;
18222 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18224 PyObject
* obj0
= 0 ;
18225 char *kwnames
[] = {
18226 (char *) "self", NULL
18229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 result
= (arg1
)->GetMinMarginBottomRight();
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18239 wxPoint
* resultptr
;
18240 resultptr
= new wxPoint((wxPoint
&) result
);
18241 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18249 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18250 PyObject
*resultobj
;
18251 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18253 PyObject
* obj0
= 0 ;
18254 char *kwnames
[] = {
18255 (char *) "self", NULL
18258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18262 result
= (int)(arg1
)->GetPaperId();
18264 wxPyEndAllowThreads(__tstate
);
18265 if (PyErr_Occurred()) SWIG_fail
;
18267 resultobj
= SWIG_PyObj_FromInt((int)result
);
18274 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18275 PyObject
*resultobj
;
18276 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18278 PyObject
* obj0
= 0 ;
18279 char *kwnames
[] = {
18280 (char *) "self", NULL
18283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 result
= (arg1
)->GetPaperSize();
18289 wxPyEndAllowThreads(__tstate
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18293 wxSize
* resultptr
;
18294 resultptr
= new wxSize((wxSize
&) result
);
18295 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
18303 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18304 PyObject
*resultobj
;
18305 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18306 wxPrintData
*result
;
18307 PyObject
* obj0
= 0 ;
18308 char *kwnames
[] = {
18309 (char *) "self", NULL
18312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
18313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18318 result
= (wxPrintData
*) &_result_ref
;
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
18331 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
;
18333 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18335 PyObject
* obj0
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "self", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
18341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18344 result
= (bool)(arg1
)->Ok();
18346 wxPyEndAllowThreads(__tstate
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18356 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18357 PyObject
*resultobj
;
18358 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18360 PyObject
* obj0
= 0 ;
18361 PyObject
* obj1
= 0 ;
18362 char *kwnames
[] = {
18363 (char *) "self",(char *) "flag", NULL
18366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
18367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18369 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 (arg1
)->SetDefaultInfo(arg2
);
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18379 Py_INCREF(Py_None
); resultobj
= Py_None
;
18386 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18387 PyObject
*resultobj
;
18388 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18390 PyObject
* obj0
= 0 ;
18391 PyObject
* obj1
= 0 ;
18392 char *kwnames
[] = {
18393 (char *) "self",(char *) "flag", NULL
18396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18399 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18404 (arg1
)->SetDefaultMinMargins(arg2
);
18406 wxPyEndAllowThreads(__tstate
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18409 Py_INCREF(Py_None
); resultobj
= Py_None
;
18416 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18417 PyObject
*resultobj
;
18418 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18419 wxPoint
*arg2
= 0 ;
18421 PyObject
* obj0
= 0 ;
18422 PyObject
* obj1
= 0 ;
18423 char *kwnames
[] = {
18424 (char *) "self",(char *) "pt", NULL
18427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18431 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18435 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
18437 wxPyEndAllowThreads(__tstate
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18440 Py_INCREF(Py_None
); resultobj
= Py_None
;
18447 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18448 PyObject
*resultobj
;
18449 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18450 wxPoint
*arg2
= 0 ;
18452 PyObject
* obj0
= 0 ;
18453 PyObject
* obj1
= 0 ;
18454 char *kwnames
[] = {
18455 (char *) "self",(char *) "pt", NULL
18458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 Py_INCREF(Py_None
); resultobj
= Py_None
;
18478 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18479 PyObject
*resultobj
;
18480 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18481 wxPoint
*arg2
= 0 ;
18483 PyObject
* obj0
= 0 ;
18484 PyObject
* obj1
= 0 ;
18485 char *kwnames
[] = {
18486 (char *) "self",(char *) "pt", NULL
18489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18493 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18497 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
18499 wxPyEndAllowThreads(__tstate
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18502 Py_INCREF(Py_None
); resultobj
= Py_None
;
18509 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18510 PyObject
*resultobj
;
18511 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18512 wxPoint
*arg2
= 0 ;
18514 PyObject
* obj0
= 0 ;
18515 PyObject
* obj1
= 0 ;
18516 char *kwnames
[] = {
18517 (char *) "self",(char *) "pt", NULL
18520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18524 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 Py_INCREF(Py_None
); resultobj
= Py_None
;
18540 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
;
18542 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18544 PyObject
* obj0
= 0 ;
18545 PyObject
* obj1
= 0 ;
18546 char *kwnames
[] = {
18547 (char *) "self",(char *) "id", NULL
18550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18553 arg2
= (wxPaperSize
) SWIG_PyObj_AsInt(obj1
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18558 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 Py_INCREF(Py_None
); resultobj
= Py_None
;
18570 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18571 PyObject
*resultobj
;
18572 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18575 PyObject
* obj0
= 0 ;
18576 PyObject
* obj1
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "self",(char *) "size", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18585 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18589 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18594 Py_INCREF(Py_None
); resultobj
= Py_None
;
18601 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18603 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18604 wxPrintData
*arg2
= 0 ;
18605 PyObject
* obj0
= 0 ;
18606 PyObject
* obj1
= 0 ;
18607 char *kwnames
[] = {
18608 (char *) "self",(char *) "printData", NULL
18611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18613 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18614 if (arg2
== NULL
) {
18615 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18621 wxPyEndAllowThreads(__tstate
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18624 Py_INCREF(Py_None
); resultobj
= Py_None
;
18631 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
18633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18634 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
18636 return Py_BuildValue((char *)"");
18638 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18639 PyObject
*resultobj
;
18640 wxWindow
*arg1
= (wxWindow
*) 0 ;
18641 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
18642 wxPageSetupDialog
*result
;
18643 PyObject
* obj0
= 0 ;
18644 PyObject
* obj1
= 0 ;
18645 char *kwnames
[] = {
18646 (char *) "parent",(char *) "data", NULL
18649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18652 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialog
, 1);
18668 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18669 PyObject
*resultobj
;
18670 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18671 wxPageSetupDialogData
*result
;
18672 PyObject
* obj0
= 0 ;
18673 char *kwnames
[] = {
18674 (char *) "self", NULL
18677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
18678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18682 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
18683 result
= (wxPageSetupDialogData
*) &_result_ref
;
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18689 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
18696 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
;
18698 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18700 PyObject
* obj0
= 0 ;
18701 char *kwnames
[] = {
18702 (char *) "self", NULL
18705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18709 result
= (int)(arg1
)->ShowModal();
18711 wxPyEndAllowThreads(__tstate
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= SWIG_PyObj_FromInt((int)result
);
18721 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
18723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18724 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
18726 return Py_BuildValue((char *)"");
18728 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
;
18730 wxPrintDialogData
*result
;
18731 char *kwnames
[] = {
18735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
18737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18738 result
= (wxPrintDialogData
*)new wxPrintDialogData();
18740 wxPyEndAllowThreads(__tstate
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18743 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 1);
18750 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
;
18752 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18753 PyObject
* obj0
= 0 ;
18754 char *kwnames
[] = {
18755 (char *) "self", NULL
18758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
18759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 Py_INCREF(Py_None
); resultobj
= Py_None
;
18774 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
18784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18787 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
18789 wxPyEndAllowThreads(__tstate
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18792 resultobj
= SWIG_PyObj_FromInt((int)result
);
18799 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18800 PyObject
*resultobj
;
18801 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18803 PyObject
* obj0
= 0 ;
18804 char *kwnames
[] = {
18805 (char *) "self", NULL
18808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
18809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18812 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
18814 wxPyEndAllowThreads(__tstate
);
18815 if (PyErr_Occurred()) SWIG_fail
;
18817 resultobj
= SWIG_PyObj_FromInt((int)result
);
18824 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18825 PyObject
*resultobj
;
18826 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18828 PyObject
* obj0
= 0 ;
18829 char *kwnames
[] = {
18830 (char *) "self", NULL
18833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
18834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18842 resultobj
= SWIG_PyObj_FromInt((int)result
);
18849 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
;
18851 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18853 PyObject
* obj0
= 0 ;
18854 char *kwnames
[] = {
18855 (char *) "self", NULL
18858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
18859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
18864 wxPyEndAllowThreads(__tstate
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18867 resultobj
= SWIG_PyObj_FromInt((int)result
);
18874 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18878 PyObject
* obj0
= 0 ;
18879 char *kwnames
[] = {
18880 (char *) "self", NULL
18883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18892 resultobj
= SWIG_PyObj_FromInt((int)result
);
18899 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18903 PyObject
* obj0
= 0 ;
18904 char *kwnames
[] = {
18905 (char *) "self", NULL
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
18909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18912 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
18914 wxPyEndAllowThreads(__tstate
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18924 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18925 PyObject
*resultobj
;
18926 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18928 PyObject
* obj0
= 0 ;
18929 char *kwnames
[] = {
18930 (char *) "self", NULL
18933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
18934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18937 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
18939 wxPyEndAllowThreads(__tstate
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18949 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18950 PyObject
*resultobj
;
18951 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18953 PyObject
* obj0
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
18959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
18964 wxPyEndAllowThreads(__tstate
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18974 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
;
18976 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18978 PyObject
* obj0
= 0 ;
18979 char *kwnames
[] = {
18980 (char *) "self", NULL
18983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
18984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18987 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18999 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19000 PyObject
*resultobj
;
19001 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19003 PyObject
* obj0
= 0 ;
19004 char *kwnames
[] = {
19005 (char *) "self", NULL
19008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
19009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19012 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
19014 wxPyEndAllowThreads(__tstate
);
19015 if (PyErr_Occurred()) SWIG_fail
;
19017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19024 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19025 PyObject
*resultobj
;
19026 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19028 PyObject
* obj0
= 0 ;
19029 PyObject
* obj1
= 0 ;
19030 char *kwnames
[] = {
19031 (char *) "self",(char *) "v", NULL
19034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19037 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19042 (arg1
)->SetFromPage(arg2
);
19044 wxPyEndAllowThreads(__tstate
);
19045 if (PyErr_Occurred()) SWIG_fail
;
19047 Py_INCREF(Py_None
); resultobj
= Py_None
;
19054 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
;
19056 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19058 PyObject
* obj0
= 0 ;
19059 PyObject
* obj1
= 0 ;
19060 char *kwnames
[] = {
19061 (char *) "self",(char *) "v", NULL
19064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19067 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19072 (arg1
)->SetToPage(arg2
);
19074 wxPyEndAllowThreads(__tstate
);
19075 if (PyErr_Occurred()) SWIG_fail
;
19077 Py_INCREF(Py_None
); resultobj
= Py_None
;
19084 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19085 PyObject
*resultobj
;
19086 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19088 PyObject
* obj0
= 0 ;
19089 PyObject
* obj1
= 0 ;
19090 char *kwnames
[] = {
19091 (char *) "self",(char *) "v", NULL
19094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19097 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19102 (arg1
)->SetMinPage(arg2
);
19104 wxPyEndAllowThreads(__tstate
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19107 Py_INCREF(Py_None
); resultobj
= Py_None
;
19114 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
;
19116 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19118 PyObject
* obj0
= 0 ;
19119 PyObject
* obj1
= 0 ;
19120 char *kwnames
[] = {
19121 (char *) "self",(char *) "v", NULL
19124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19127 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19132 (arg1
)->SetMaxPage(arg2
);
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19137 Py_INCREF(Py_None
); resultobj
= Py_None
;
19144 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19145 PyObject
*resultobj
;
19146 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19148 PyObject
* obj0
= 0 ;
19149 PyObject
* obj1
= 0 ;
19150 char *kwnames
[] = {
19151 (char *) "self",(char *) "v", NULL
19154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
19155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19157 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19158 if (PyErr_Occurred()) SWIG_fail
;
19161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 (arg1
)->SetNoCopies(arg2
);
19164 wxPyEndAllowThreads(__tstate
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19167 Py_INCREF(Py_None
); resultobj
= Py_None
;
19174 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19175 PyObject
*resultobj
;
19176 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19178 PyObject
* obj0
= 0 ;
19179 PyObject
* obj1
= 0 ;
19180 char *kwnames
[] = {
19181 (char *) "self",(char *) "flag", NULL
19184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
19185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19187 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 (arg1
)->SetAllPages(arg2
);
19194 wxPyEndAllowThreads(__tstate
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19197 Py_INCREF(Py_None
); resultobj
= Py_None
;
19204 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19205 PyObject
*resultobj
;
19206 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19208 PyObject
* obj0
= 0 ;
19209 PyObject
* obj1
= 0 ;
19210 char *kwnames
[] = {
19211 (char *) "self",(char *) "flag", NULL
19214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19217 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 (arg1
)->SetSelection(arg2
);
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 Py_INCREF(Py_None
); resultobj
= Py_None
;
19234 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19235 PyObject
*resultobj
;
19236 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19238 PyObject
* obj0
= 0 ;
19239 PyObject
* obj1
= 0 ;
19240 char *kwnames
[] = {
19241 (char *) "self",(char *) "flag", NULL
19244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
19245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19247 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 (arg1
)->SetCollate(arg2
);
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19257 Py_INCREF(Py_None
); resultobj
= Py_None
;
19264 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
;
19266 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19268 PyObject
* obj0
= 0 ;
19269 PyObject
* obj1
= 0 ;
19270 char *kwnames
[] = {
19271 (char *) "self",(char *) "flag", NULL
19274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19277 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 (arg1
)->SetPrintToFile(arg2
);
19284 wxPyEndAllowThreads(__tstate
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19287 Py_INCREF(Py_None
); resultobj
= Py_None
;
19294 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19295 PyObject
*resultobj
;
19296 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19298 PyObject
* obj0
= 0 ;
19299 PyObject
* obj1
= 0 ;
19300 char *kwnames
[] = {
19301 (char *) "self",(char *) "flag", NULL
19304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19307 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19312 (arg1
)->SetSetupDialog(arg2
);
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19317 Py_INCREF(Py_None
); resultobj
= Py_None
;
19324 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19325 PyObject
*resultobj
;
19326 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19328 PyObject
* obj0
= 0 ;
19329 PyObject
* obj1
= 0 ;
19330 char *kwnames
[] = {
19331 (char *) "self",(char *) "flag", NULL
19334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19337 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 (arg1
)->EnablePrintToFile(arg2
);
19344 wxPyEndAllowThreads(__tstate
);
19345 if (PyErr_Occurred()) SWIG_fail
;
19347 Py_INCREF(Py_None
); resultobj
= Py_None
;
19354 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19355 PyObject
*resultobj
;
19356 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19358 PyObject
* obj0
= 0 ;
19359 PyObject
* obj1
= 0 ;
19360 char *kwnames
[] = {
19361 (char *) "self",(char *) "flag", NULL
19364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19367 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 (arg1
)->EnableSelection(arg2
);
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 Py_INCREF(Py_None
); resultobj
= Py_None
;
19384 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19385 PyObject
*resultobj
;
19386 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19388 PyObject
* obj0
= 0 ;
19389 PyObject
* obj1
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self",(char *) "flag", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19397 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 (arg1
)->EnablePageNumbers(arg2
);
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19407 Py_INCREF(Py_None
); resultobj
= Py_None
;
19414 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19415 PyObject
*resultobj
;
19416 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19418 PyObject
* obj0
= 0 ;
19419 PyObject
* obj1
= 0 ;
19420 char *kwnames
[] = {
19421 (char *) "self",(char *) "flag", NULL
19424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19427 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 (arg1
)->EnableHelp(arg2
);
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19437 Py_INCREF(Py_None
); resultobj
= Py_None
;
19444 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
;
19446 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19448 PyObject
* obj0
= 0 ;
19449 char *kwnames
[] = {
19450 (char *) "self", NULL
19453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
19454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19457 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19469 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19470 PyObject
*resultobj
;
19471 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19473 PyObject
* obj0
= 0 ;
19474 char *kwnames
[] = {
19475 (char *) "self", NULL
19478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
19479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19482 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
19484 wxPyEndAllowThreads(__tstate
);
19485 if (PyErr_Occurred()) SWIG_fail
;
19487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19494 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
;
19496 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19498 PyObject
* obj0
= 0 ;
19499 char *kwnames
[] = {
19500 (char *) "self", NULL
19503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
19504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19507 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
19509 wxPyEndAllowThreads(__tstate
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19519 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19520 PyObject
*resultobj
;
19521 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19523 PyObject
* obj0
= 0 ;
19524 char *kwnames
[] = {
19525 (char *) "self", NULL
19528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19532 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
19534 wxPyEndAllowThreads(__tstate
);
19535 if (PyErr_Occurred()) SWIG_fail
;
19537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19544 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19545 PyObject
*resultobj
;
19546 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19548 PyObject
* obj0
= 0 ;
19549 char *kwnames
[] = {
19550 (char *) "self", NULL
19553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19569 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
;
19571 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19572 wxPrintData
*result
;
19573 PyObject
* obj0
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19584 result
= (wxPrintData
*) &_result_ref
;
19587 wxPyEndAllowThreads(__tstate
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19590 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
19597 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19598 PyObject
*resultobj
;
19599 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19600 wxPrintData
*arg2
= 0 ;
19601 PyObject
* obj0
= 0 ;
19602 PyObject
* obj1
= 0 ;
19603 char *kwnames
[] = {
19604 (char *) "self",(char *) "printData", NULL
19607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19609 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19610 if (arg2
== NULL
) {
19611 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19615 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 Py_INCREF(Py_None
); resultobj
= Py_None
;
19627 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19630 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
19632 return Py_BuildValue((char *)"");
19634 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19635 PyObject
*resultobj
;
19636 wxWindow
*arg1
= (wxWindow
*) 0 ;
19637 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
19638 wxPrintDialog
*result
;
19639 PyObject
* obj0
= 0 ;
19640 PyObject
* obj1
= 0 ;
19641 char *kwnames
[] = {
19642 (char *) "parent",(char *) "data", NULL
19645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19648 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19652 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19657 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialog
, 1);
19664 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19665 PyObject
*resultobj
;
19666 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19667 wxPrintDialogData
*result
;
19668 PyObject
* obj0
= 0 ;
19669 char *kwnames
[] = {
19670 (char *) "self", NULL
19673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19679 result
= (wxPrintDialogData
*) &_result_ref
;
19682 wxPyEndAllowThreads(__tstate
);
19683 if (PyErr_Occurred()) SWIG_fail
;
19685 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
19692 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19693 PyObject
*resultobj
;
19694 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19696 PyObject
* obj0
= 0 ;
19697 char *kwnames
[] = {
19698 (char *) "self", NULL
19701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
19702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19705 result
= (wxDC
*)(arg1
)->GetPrintDC();
19707 wxPyEndAllowThreads(__tstate
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19711 resultobj
= wxPyMake_wxObject(result
);
19719 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19720 PyObject
*resultobj
;
19721 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19723 PyObject
* obj0
= 0 ;
19724 char *kwnames
[] = {
19725 (char *) "self", NULL
19728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 result
= (int)(arg1
)->ShowModal();
19734 wxPyEndAllowThreads(__tstate
);
19735 if (PyErr_Occurred()) SWIG_fail
;
19737 resultobj
= SWIG_PyObj_FromInt((int)result
);
19744 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19747 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
19749 return Py_BuildValue((char *)"");
19751 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19752 PyObject
*resultobj
;
19753 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
19755 PyObject
* obj0
= 0 ;
19756 char *kwnames
[] = {
19757 (char *) "data", NULL
19760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
19762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19766 result
= (wxPrinter
*)new wxPrinter(arg1
);
19768 wxPyEndAllowThreads(__tstate
);
19769 if (PyErr_Occurred()) SWIG_fail
;
19771 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinter
, 1);
19778 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
;
19780 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19781 PyObject
* obj0
= 0 ;
19782 char *kwnames
[] = {
19783 (char *) "self", NULL
19786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
19787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19795 Py_INCREF(Py_None
); resultobj
= Py_None
;
19802 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
;
19804 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19805 wxWindow
*arg2
= (wxWindow
*) 0 ;
19806 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19807 PyObject
* obj0
= 0 ;
19808 PyObject
* obj1
= 0 ;
19809 PyObject
* obj2
= 0 ;
19810 char *kwnames
[] = {
19811 (char *) "self",(char *) "parent",(char *) "printout", NULL
19814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19816 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19817 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 (arg1
)->CreateAbortWindow(arg2
,arg3
);
19822 wxPyEndAllowThreads(__tstate
);
19823 if (PyErr_Occurred()) SWIG_fail
;
19825 Py_INCREF(Py_None
); resultobj
= Py_None
;
19832 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19833 PyObject
*resultobj
;
19834 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19835 wxPrintDialogData
*result
;
19836 PyObject
* obj0
= 0 ;
19837 char *kwnames
[] = {
19838 (char *) "self", NULL
19841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19847 result
= (wxPrintDialogData
*) &_result_ref
;
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
19860 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
;
19862 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19863 wxWindow
*arg2
= (wxWindow
*) 0 ;
19864 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19865 int arg4
= (int) True
;
19867 PyObject
* obj0
= 0 ;
19868 PyObject
* obj1
= 0 ;
19869 PyObject
* obj2
= 0 ;
19870 PyObject
* obj3
= 0 ;
19871 char *kwnames
[] = {
19872 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19877 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19878 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19881 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
19882 if (PyErr_Occurred()) SWIG_fail
;
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19887 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
19889 wxPyEndAllowThreads(__tstate
);
19890 if (PyErr_Occurred()) SWIG_fail
;
19892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19899 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19900 PyObject
*resultobj
;
19901 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19902 wxWindow
*arg2
= (wxWindow
*) 0 ;
19904 PyObject
* obj0
= 0 ;
19905 PyObject
* obj1
= 0 ;
19906 char *kwnames
[] = {
19907 (char *) "self",(char *) "parent", NULL
19910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19912 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
19917 wxPyEndAllowThreads(__tstate
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19921 resultobj
= wxPyMake_wxObject(result
);
19929 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
;
19931 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19932 wxWindow
*arg2
= (wxWindow
*) 0 ;
19933 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19934 wxString
*arg4
= 0 ;
19935 bool temp4
= False
;
19936 PyObject
* obj0
= 0 ;
19937 PyObject
* obj1
= 0 ;
19938 PyObject
* obj2
= 0 ;
19939 PyObject
* obj3
= 0 ;
19940 char *kwnames
[] = {
19941 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19946 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19947 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19949 arg4
= wxString_in_helper(obj3
);
19950 if (arg4
== NULL
) SWIG_fail
;
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
19957 wxPyEndAllowThreads(__tstate
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19960 Py_INCREF(Py_None
); resultobj
= Py_None
;
19975 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
;
19977 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19978 wxWindow
*arg2
= (wxWindow
*) 0 ;
19980 PyObject
* obj0
= 0 ;
19981 PyObject
* obj1
= 0 ;
19982 char *kwnames
[] = {
19983 (char *) "self",(char *) "parent", NULL
19986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
19987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19988 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19991 result
= (bool)(arg1
)->Setup(arg2
);
19993 wxPyEndAllowThreads(__tstate
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20003 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20004 PyObject
*resultobj
;
20005 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20007 PyObject
* obj0
= 0 ;
20008 char *kwnames
[] = {
20009 (char *) "self", NULL
20012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
20013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 result
= (bool)(arg1
)->GetAbort();
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20028 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
;
20031 char *kwnames
[] = {
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
20037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20038 result
= (int)wxPrinter::GetLastError();
20040 wxPyEndAllowThreads(__tstate
);
20041 if (PyErr_Occurred()) SWIG_fail
;
20043 resultobj
= SWIG_PyObj_FromInt((int)result
);
20050 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
20052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20053 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
20055 return Py_BuildValue((char *)"");
20057 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20058 PyObject
*resultobj
;
20059 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
20060 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
20061 wxPyPrintout
*result
;
20062 bool temp1
= False
;
20063 PyObject
* obj0
= 0 ;
20064 char *kwnames
[] = {
20065 (char *) "title", NULL
20068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
20071 arg1
= wxString_in_helper(obj0
);
20072 if (arg1
== NULL
) SWIG_fail
;
20077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20078 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
20080 wxPyEndAllowThreads(__tstate
);
20081 if (PyErr_Occurred()) SWIG_fail
;
20084 resultobj
= wxPyMake_wxObject(result
);
20100 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
;
20102 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20103 PyObject
*arg2
= (PyObject
*) 0 ;
20104 PyObject
*arg3
= (PyObject
*) 0 ;
20105 PyObject
* obj0
= 0 ;
20106 PyObject
* obj1
= 0 ;
20107 PyObject
* obj2
= 0 ;
20108 char *kwnames
[] = {
20109 (char *) "self",(char *) "self",(char *) "_class", NULL
20112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20118 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20120 wxPyEndAllowThreads(__tstate
);
20121 if (PyErr_Occurred()) SWIG_fail
;
20123 Py_INCREF(Py_None
); resultobj
= Py_None
;
20130 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20131 PyObject
*resultobj
;
20132 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20134 PyObject
* obj0
= 0 ;
20135 char *kwnames
[] = {
20136 (char *) "self", NULL
20139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
20140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
20145 wxPyEndAllowThreads(__tstate
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20161 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
;
20163 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20165 PyObject
* obj0
= 0 ;
20166 char *kwnames
[] = {
20167 (char *) "self", NULL
20170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
20171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20174 result
= (wxDC
*)(arg1
)->GetDC();
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20180 resultobj
= wxPyMake_wxObject(result
);
20188 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20189 PyObject
*resultobj
;
20190 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20191 wxDC
*arg2
= (wxDC
*) 0 ;
20192 PyObject
* obj0
= 0 ;
20193 PyObject
* obj1
= 0 ;
20194 char *kwnames
[] = {
20195 (char *) "self",(char *) "dc", NULL
20198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
20199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20200 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20203 (arg1
)->SetDC(arg2
);
20205 wxPyEndAllowThreads(__tstate
);
20206 if (PyErr_Occurred()) SWIG_fail
;
20208 Py_INCREF(Py_None
); resultobj
= Py_None
;
20215 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20216 PyObject
*resultobj
;
20217 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20220 PyObject
* obj0
= 0 ;
20221 PyObject
* obj1
= 0 ;
20222 PyObject
* obj2
= 0 ;
20223 char *kwnames
[] = {
20224 (char *) "self",(char *) "w",(char *) "h", NULL
20227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20230 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20234 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 (arg1
)->SetPageSizePixels(arg2
,arg3
);
20241 wxPyEndAllowThreads(__tstate
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20244 Py_INCREF(Py_None
); resultobj
= Py_None
;
20251 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
;
20253 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20254 int *arg2
= (int *) 0 ;
20255 int *arg3
= (int *) 0 ;
20258 PyObject
* obj0
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self", NULL
20265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
20266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20269 (arg1
)->GetPageSizePixels(arg2
,arg3
);
20271 wxPyEndAllowThreads(__tstate
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20274 Py_INCREF(Py_None
); resultobj
= Py_None
;
20276 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20277 resultobj
= t_output_helper(resultobj
,o
);
20280 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20281 resultobj
= t_output_helper(resultobj
,o
);
20289 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
;
20291 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20294 PyObject
* obj0
= 0 ;
20295 PyObject
* obj1
= 0 ;
20296 PyObject
* obj2
= 0 ;
20297 char *kwnames
[] = {
20298 (char *) "self",(char *) "w",(char *) "h", NULL
20301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20304 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20308 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20313 (arg1
)->SetPageSizeMM(arg2
,arg3
);
20315 wxPyEndAllowThreads(__tstate
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 Py_INCREF(Py_None
); resultobj
= Py_None
;
20325 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20326 PyObject
*resultobj
;
20327 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20328 int *arg2
= (int *) 0 ;
20329 int *arg3
= (int *) 0 ;
20332 PyObject
* obj0
= 0 ;
20333 char *kwnames
[] = {
20334 (char *) "self", NULL
20339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
20340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20343 (arg1
)->GetPageSizeMM(arg2
,arg3
);
20345 wxPyEndAllowThreads(__tstate
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20348 Py_INCREF(Py_None
); resultobj
= Py_None
;
20350 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20351 resultobj
= t_output_helper(resultobj
,o
);
20354 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20355 resultobj
= t_output_helper(resultobj
,o
);
20363 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
;
20365 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20368 PyObject
* obj0
= 0 ;
20369 PyObject
* obj1
= 0 ;
20370 PyObject
* obj2
= 0 ;
20371 char *kwnames
[] = {
20372 (char *) "self",(char *) "x",(char *) "y", NULL
20375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20378 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20382 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 (arg1
)->SetPPIScreen(arg2
,arg3
);
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 Py_INCREF(Py_None
); resultobj
= Py_None
;
20399 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
;
20401 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20402 int *arg2
= (int *) 0 ;
20403 int *arg3
= (int *) 0 ;
20406 PyObject
* obj0
= 0 ;
20407 char *kwnames
[] = {
20408 (char *) "self", NULL
20413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
20414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 (arg1
)->GetPPIScreen(arg2
,arg3
);
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20422 Py_INCREF(Py_None
); resultobj
= Py_None
;
20424 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20425 resultobj
= t_output_helper(resultobj
,o
);
20428 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20429 resultobj
= t_output_helper(resultobj
,o
);
20437 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
;
20439 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20442 PyObject
* obj0
= 0 ;
20443 PyObject
* obj1
= 0 ;
20444 PyObject
* obj2
= 0 ;
20445 char *kwnames
[] = {
20446 (char *) "self",(char *) "x",(char *) "y", NULL
20449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20452 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20456 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20461 (arg1
)->SetPPIPrinter(arg2
,arg3
);
20463 wxPyEndAllowThreads(__tstate
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20466 Py_INCREF(Py_None
); resultobj
= Py_None
;
20473 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20474 PyObject
*resultobj
;
20475 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20476 int *arg2
= (int *) 0 ;
20477 int *arg3
= (int *) 0 ;
20480 PyObject
* obj0
= 0 ;
20481 char *kwnames
[] = {
20482 (char *) "self", NULL
20487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
20488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 (arg1
)->GetPPIPrinter(arg2
,arg3
);
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20496 Py_INCREF(Py_None
); resultobj
= Py_None
;
20498 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20499 resultobj
= t_output_helper(resultobj
,o
);
20502 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20503 resultobj
= t_output_helper(resultobj
,o
);
20511 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
;
20513 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20515 PyObject
* obj0
= 0 ;
20516 char *kwnames
[] = {
20517 (char *) "self", NULL
20520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
20521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 result
= (bool)(arg1
)->IsPreview();
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20536 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20537 PyObject
*resultobj
;
20538 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20540 PyObject
* obj0
= 0 ;
20541 PyObject
* obj1
= 0 ;
20542 char *kwnames
[] = {
20543 (char *) "self",(char *) "p", NULL
20546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20549 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 (arg1
)->SetIsPreview(arg2
);
20556 wxPyEndAllowThreads(__tstate
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20559 Py_INCREF(Py_None
); resultobj
= Py_None
;
20566 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20567 PyObject
*resultobj
;
20568 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20572 PyObject
* obj0
= 0 ;
20573 PyObject
* obj1
= 0 ;
20574 PyObject
* obj2
= 0 ;
20575 char *kwnames
[] = {
20576 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20582 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20586 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20603 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20604 PyObject
*resultobj
;
20605 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20606 PyObject
* obj0
= 0 ;
20607 char *kwnames
[] = {
20608 (char *) "self", NULL
20611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
20612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20615 (arg1
)->base_OnEndDocument();
20617 wxPyEndAllowThreads(__tstate
);
20618 if (PyErr_Occurred()) SWIG_fail
;
20620 Py_INCREF(Py_None
); resultobj
= Py_None
;
20627 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20628 PyObject
*resultobj
;
20629 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20630 PyObject
* obj0
= 0 ;
20631 char *kwnames
[] = {
20632 (char *) "self", NULL
20635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
20636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20639 (arg1
)->base_OnBeginPrinting();
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20644 Py_INCREF(Py_None
); resultobj
= Py_None
;
20651 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20652 PyObject
*resultobj
;
20653 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20654 PyObject
* obj0
= 0 ;
20655 char *kwnames
[] = {
20656 (char *) "self", NULL
20659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
20660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 (arg1
)->base_OnEndPrinting();
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20668 Py_INCREF(Py_None
); resultobj
= Py_None
;
20675 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20676 PyObject
*resultobj
;
20677 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20678 PyObject
* obj0
= 0 ;
20679 char *kwnames
[] = {
20680 (char *) "self", NULL
20683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
20684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 (arg1
)->base_OnPreparePrinting();
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 Py_INCREF(Py_None
); resultobj
= Py_None
;
20699 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20701 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20704 PyObject
* obj0
= 0 ;
20705 PyObject
* obj1
= 0 ;
20706 char *kwnames
[] = {
20707 (char *) "self",(char *) "page", NULL
20710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20713 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20718 result
= (bool)(arg1
)->base_HasPage(arg2
);
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20730 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
;
20732 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20733 int *arg2
= (int *) 0 ;
20734 int *arg3
= (int *) 0 ;
20735 int *arg4
= (int *) 0 ;
20736 int *arg5
= (int *) 0 ;
20741 PyObject
* obj0
= 0 ;
20742 char *kwnames
[] = {
20743 (char *) "self", NULL
20750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
20751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20754 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
20756 wxPyEndAllowThreads(__tstate
);
20757 if (PyErr_Occurred()) SWIG_fail
;
20759 Py_INCREF(Py_None
); resultobj
= Py_None
;
20761 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20762 resultobj
= t_output_helper(resultobj
,o
);
20765 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20766 resultobj
= t_output_helper(resultobj
,o
);
20769 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
20770 resultobj
= t_output_helper(resultobj
,o
);
20773 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
20774 resultobj
= t_output_helper(resultobj
,o
);
20782 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
20784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20785 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
20787 return Py_BuildValue((char *)"");
20789 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20790 PyObject
*resultobj
;
20791 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20792 wxWindow
*arg2
= (wxWindow
*) 0 ;
20793 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20794 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20795 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20796 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20797 long arg5
= (long) 0 ;
20798 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
20799 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20800 wxPreviewCanvas
*result
;
20803 bool temp6
= False
;
20804 PyObject
* obj0
= 0 ;
20805 PyObject
* obj1
= 0 ;
20806 PyObject
* obj2
= 0 ;
20807 PyObject
* obj3
= 0 ;
20808 PyObject
* obj4
= 0 ;
20809 PyObject
* obj5
= 0 ;
20810 char *kwnames
[] = {
20811 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20816 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20820 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20826 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20831 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
20832 if (PyErr_Occurred()) SWIG_fail
;
20837 arg6
= wxString_in_helper(obj5
);
20838 if (arg6
== NULL
) SWIG_fail
;
20843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20844 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20849 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 1);
20864 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
20866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20867 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
20869 return Py_BuildValue((char *)"");
20871 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20872 PyObject
*resultobj
;
20873 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20874 wxFrame
*arg2
= (wxFrame
*) 0 ;
20875 wxString
*arg3
= 0 ;
20876 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20877 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20878 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20879 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20880 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20881 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20882 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20883 wxPreviewFrame
*result
;
20884 bool temp3
= False
;
20887 bool temp7
= False
;
20888 PyObject
* obj0
= 0 ;
20889 PyObject
* obj1
= 0 ;
20890 PyObject
* obj2
= 0 ;
20891 PyObject
* obj3
= 0 ;
20892 PyObject
* obj4
= 0 ;
20893 PyObject
* obj5
= 0 ;
20894 PyObject
* obj6
= 0 ;
20895 char *kwnames
[] = {
20896 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20901 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20903 arg3
= wxString_in_helper(obj2
);
20904 if (arg3
== NULL
) SWIG_fail
;
20910 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20916 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20921 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20927 arg7
= wxString_in_helper(obj6
);
20928 if (arg7
== NULL
) SWIG_fail
;
20933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20934 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20936 wxPyEndAllowThreads(__tstate
);
20937 if (PyErr_Occurred()) SWIG_fail
;
20939 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewFrame
, 1);
20962 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20963 PyObject
*resultobj
;
20964 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20965 PyObject
* obj0
= 0 ;
20966 char *kwnames
[] = {
20967 (char *) "self", NULL
20970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
20971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 (arg1
)->Initialize();
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 Py_INCREF(Py_None
); resultobj
= Py_None
;
20986 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
;
20988 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20989 PyObject
* obj0
= 0 ;
20990 char *kwnames
[] = {
20991 (char *) "self", NULL
20994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 (arg1
)->CreateControlBar();
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 Py_INCREF(Py_None
); resultobj
= Py_None
;
21010 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21011 PyObject
*resultobj
;
21012 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21013 PyObject
* obj0
= 0 ;
21014 char *kwnames
[] = {
21015 (char *) "self", NULL
21018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
21019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21022 (arg1
)->CreateCanvas();
21024 wxPyEndAllowThreads(__tstate
);
21025 if (PyErr_Occurred()) SWIG_fail
;
21027 Py_INCREF(Py_None
); resultobj
= Py_None
;
21034 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21035 PyObject
*resultobj
;
21036 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21037 wxPreviewControlBar
*result
;
21038 PyObject
* obj0
= 0 ;
21039 char *kwnames
[] = {
21040 (char *) "self", NULL
21043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
21044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
21049 wxPyEndAllowThreads(__tstate
);
21050 if (PyErr_Occurred()) SWIG_fail
;
21052 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 0);
21059 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
21061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21062 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
21064 return Py_BuildValue((char *)"");
21066 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21067 PyObject
*resultobj
;
21068 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21070 wxWindow
*arg3
= (wxWindow
*) 0 ;
21071 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21072 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21073 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21074 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21075 long arg6
= (long) wxTAB_TRAVERSAL
;
21076 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21077 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21078 wxPreviewControlBar
*result
;
21081 bool temp7
= False
;
21082 PyObject
* obj0
= 0 ;
21083 PyObject
* obj1
= 0 ;
21084 PyObject
* obj2
= 0 ;
21085 PyObject
* obj3
= 0 ;
21086 PyObject
* obj4
= 0 ;
21087 PyObject
* obj5
= 0 ;
21088 PyObject
* obj6
= 0 ;
21089 char *kwnames
[] = {
21090 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21096 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21103 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21109 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21114 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21120 arg7
= wxString_in_helper(obj6
);
21121 if (arg7
== NULL
) SWIG_fail
;
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 1);
21147 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21148 PyObject
*resultobj
;
21149 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21151 PyObject
* obj0
= 0 ;
21152 char *kwnames
[] = {
21153 (char *) "self", NULL
21156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
21157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21160 result
= (int)(arg1
)->GetZoomControl();
21162 wxPyEndAllowThreads(__tstate
);
21163 if (PyErr_Occurred()) SWIG_fail
;
21165 resultobj
= SWIG_PyObj_FromInt((int)result
);
21172 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21173 PyObject
*resultobj
;
21174 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21176 PyObject
* obj0
= 0 ;
21177 PyObject
* obj1
= 0 ;
21178 char *kwnames
[] = {
21179 (char *) "self",(char *) "zoom", NULL
21182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
21183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21185 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21190 (arg1
)->SetZoomControl(arg2
);
21192 wxPyEndAllowThreads(__tstate
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21195 Py_INCREF(Py_None
); resultobj
= Py_None
;
21202 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21203 PyObject
*resultobj
;
21204 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21205 wxPrintPreview
*result
;
21206 PyObject
* obj0
= 0 ;
21207 char *kwnames
[] = {
21208 (char *) "self", NULL
21211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
21212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21215 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21220 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 0);
21227 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21229 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21230 PyObject
* obj0
= 0 ;
21231 char *kwnames
[] = {
21232 (char *) "self", NULL
21235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
21236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21244 Py_INCREF(Py_None
); resultobj
= Py_None
;
21251 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21252 PyObject
*resultobj
;
21253 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21254 PyObject
* obj0
= 0 ;
21255 char *kwnames
[] = {
21256 (char *) "self", NULL
21259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
21260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 (arg1
)->OnPrevious();
21265 wxPyEndAllowThreads(__tstate
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21268 Py_INCREF(Py_None
); resultobj
= Py_None
;
21275 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21276 PyObject
*resultobj
;
21277 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21278 PyObject
* obj0
= 0 ;
21279 char *kwnames
[] = {
21280 (char *) "self", NULL
21283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
21284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21289 wxPyEndAllowThreads(__tstate
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21292 Py_INCREF(Py_None
); resultobj
= Py_None
;
21299 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21300 PyObject
*resultobj
;
21301 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21302 PyObject
* obj0
= 0 ;
21303 char *kwnames
[] = {
21304 (char *) "self", NULL
21307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
21308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21313 wxPyEndAllowThreads(__tstate
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21316 Py_INCREF(Py_None
); resultobj
= Py_None
;
21323 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21324 PyObject
*resultobj
;
21325 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21326 PyObject
* obj0
= 0 ;
21327 char *kwnames
[] = {
21328 (char *) "self", NULL
21331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
21332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21337 wxPyEndAllowThreads(__tstate
);
21338 if (PyErr_Occurred()) SWIG_fail
;
21340 Py_INCREF(Py_None
); resultobj
= Py_None
;
21347 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
21349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21350 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
21352 return Py_BuildValue((char *)"");
21354 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21355 PyObject
*resultobj
;
21356 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21357 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21358 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
21359 wxPrintPreview
*result
;
21360 PyObject
* obj0
= 0 ;
21361 PyObject
* obj1
= 0 ;
21362 PyObject
* obj2
= 0 ;
21363 char *kwnames
[] = {
21364 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21369 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21371 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21380 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 1);
21387 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21388 PyObject
*resultobj
;
21389 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21392 PyObject
* obj0
= 0 ;
21393 PyObject
* obj1
= 0 ;
21394 char *kwnames
[] = {
21395 (char *) "self",(char *) "pageNum", NULL
21398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21401 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21406 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
21408 wxPyEndAllowThreads(__tstate
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21418 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
;
21420 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21422 PyObject
* obj0
= 0 ;
21423 char *kwnames
[] = {
21424 (char *) "self", NULL
21427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
21428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 result
= (int)(arg1
)->GetCurrentPage();
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21436 resultobj
= SWIG_PyObj_FromInt((int)result
);
21443 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21444 PyObject
*resultobj
;
21445 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21446 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21447 PyObject
* obj0
= 0 ;
21448 PyObject
* obj1
= 0 ;
21449 char *kwnames
[] = {
21450 (char *) "self",(char *) "printout", NULL
21453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
21454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21455 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 (arg1
)->SetPrintout(arg2
);
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21463 Py_INCREF(Py_None
); resultobj
= Py_None
;
21470 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
;
21472 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21473 wxPyPrintout
*result
;
21474 PyObject
* obj0
= 0 ;
21475 char *kwnames
[] = {
21476 (char *) "self", NULL
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
21480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
21485 wxPyEndAllowThreads(__tstate
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21489 resultobj
= wxPyMake_wxObject(result
);
21497 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
;
21499 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21500 wxPyPrintout
*result
;
21501 PyObject
* obj0
= 0 ;
21502 char *kwnames
[] = {
21503 (char *) "self", NULL
21506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
21507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21516 resultobj
= wxPyMake_wxObject(result
);
21524 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21525 PyObject
*resultobj
;
21526 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21527 wxFrame
*arg2
= (wxFrame
*) 0 ;
21528 PyObject
* obj0
= 0 ;
21529 PyObject
* obj1
= 0 ;
21530 char *kwnames
[] = {
21531 (char *) "self",(char *) "frame", NULL
21534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
21535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21536 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 (arg1
)->SetFrame(arg2
);
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21544 Py_INCREF(Py_None
); resultobj
= Py_None
;
21551 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21552 PyObject
*resultobj
;
21553 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21554 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21555 PyObject
* obj0
= 0 ;
21556 PyObject
* obj1
= 0 ;
21557 char *kwnames
[] = {
21558 (char *) "self",(char *) "canvas", NULL
21561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
21562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21563 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 (arg1
)->SetCanvas(arg2
);
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 Py_INCREF(Py_None
); resultobj
= Py_None
;
21578 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
;
21580 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21582 PyObject
* obj0
= 0 ;
21583 char *kwnames
[] = {
21584 (char *) "self", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
21588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21591 result
= (wxFrame
*)(arg1
)->GetFrame();
21593 wxPyEndAllowThreads(__tstate
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21597 resultobj
= wxPyMake_wxObject(result
);
21605 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21606 PyObject
*resultobj
;
21607 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21608 wxPreviewCanvas
*result
;
21609 PyObject
* obj0
= 0 ;
21610 char *kwnames
[] = {
21611 (char *) "self", NULL
21614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
21615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21618 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
21620 wxPyEndAllowThreads(__tstate
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21623 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 0);
21630 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21631 PyObject
*resultobj
;
21632 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21633 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21636 PyObject
* obj0
= 0 ;
21637 PyObject
* obj1
= 0 ;
21638 PyObject
* obj2
= 0 ;
21639 char *kwnames
[] = {
21640 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21646 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21647 if (arg3
== NULL
) {
21648 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21664 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21665 PyObject
*resultobj
;
21666 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21667 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21670 PyObject
* obj0
= 0 ;
21671 PyObject
* obj1
= 0 ;
21672 PyObject
* obj2
= 0 ;
21673 char *kwnames
[] = {
21674 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21679 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21680 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21681 if (arg3
== NULL
) {
21682 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21686 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
21688 wxPyEndAllowThreads(__tstate
);
21689 if (PyErr_Occurred()) SWIG_fail
;
21691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21698 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21699 PyObject
*resultobj
;
21700 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21703 PyObject
* obj0
= 0 ;
21704 PyObject
* obj1
= 0 ;
21705 char *kwnames
[] = {
21706 (char *) "self",(char *) "pageNum", NULL
21709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21712 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 result
= (bool)(arg1
)->RenderPage(arg2
);
21719 wxPyEndAllowThreads(__tstate
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21729 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21730 PyObject
*resultobj
;
21731 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21732 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21733 PyObject
* obj0
= 0 ;
21734 PyObject
* obj1
= 0 ;
21735 char *kwnames
[] = {
21736 (char *) "self",(char *) "canvas", NULL
21739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
21740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21741 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 (arg1
)->AdjustScrollbars(arg2
);
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21749 Py_INCREF(Py_None
); resultobj
= Py_None
;
21756 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
;
21758 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21759 wxPrintDialogData
*result
;
21760 PyObject
* obj0
= 0 ;
21761 char *kwnames
[] = {
21762 (char *) "self", NULL
21765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21770 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21771 result
= (wxPrintDialogData
*) &_result_ref
;
21774 wxPyEndAllowThreads(__tstate
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21777 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
21784 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21785 PyObject
*resultobj
;
21786 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21788 PyObject
* obj0
= 0 ;
21789 PyObject
* obj1
= 0 ;
21790 char *kwnames
[] = {
21791 (char *) "self",(char *) "percent", NULL
21794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
21795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21797 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 (arg1
)->SetZoom(arg2
);
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21807 Py_INCREF(Py_None
); resultobj
= Py_None
;
21814 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
;
21816 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21818 PyObject
* obj0
= 0 ;
21819 char *kwnames
[] = {
21820 (char *) "self", NULL
21823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
21824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21827 result
= (int)(arg1
)->GetZoom();
21829 wxPyEndAllowThreads(__tstate
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21832 resultobj
= SWIG_PyObj_FromInt((int)result
);
21839 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
;
21841 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21843 PyObject
* obj0
= 0 ;
21844 char *kwnames
[] = {
21845 (char *) "self", NULL
21848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 result
= (int)(arg1
)->GetMaxPage();
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 resultobj
= SWIG_PyObj_FromInt((int)result
);
21864 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21865 PyObject
*resultobj
;
21866 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21868 PyObject
* obj0
= 0 ;
21869 char *kwnames
[] = {
21870 (char *) "self", NULL
21873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
21874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 result
= (int)(arg1
)->GetMinPage();
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21882 resultobj
= SWIG_PyObj_FromInt((int)result
);
21889 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
;
21891 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21893 PyObject
* obj0
= 0 ;
21894 char *kwnames
[] = {
21895 (char *) "self", NULL
21898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
21899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21902 result
= (bool)(arg1
)->Ok();
21904 wxPyEndAllowThreads(__tstate
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21914 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21915 PyObject
*resultobj
;
21916 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21918 PyObject
* obj0
= 0 ;
21919 PyObject
* obj1
= 0 ;
21920 char *kwnames
[] = {
21921 (char *) "self",(char *) "ok", NULL
21924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
21925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21927 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 (arg1
)->SetOk(arg2
);
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21937 Py_INCREF(Py_None
); resultobj
= Py_None
;
21944 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21945 PyObject
*resultobj
;
21946 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21949 PyObject
* obj0
= 0 ;
21950 PyObject
* obj1
= 0 ;
21951 char *kwnames
[] = {
21952 (char *) "self",(char *) "interactive", NULL
21955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
21956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21958 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 result
= (bool)(arg1
)->Print(arg2
);
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21975 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21976 PyObject
*resultobj
;
21977 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21978 PyObject
* obj0
= 0 ;
21979 char *kwnames
[] = {
21980 (char *) "self", NULL
21983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
21984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 (arg1
)->DetermineScaling();
21989 wxPyEndAllowThreads(__tstate
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21992 Py_INCREF(Py_None
); resultobj
= Py_None
;
21999 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
22001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22002 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
22004 return Py_BuildValue((char *)"");
22006 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22007 PyObject
*resultobj
;
22008 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22009 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22010 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
22011 wxPyPrintPreview
*result
;
22012 PyObject
* obj0
= 0 ;
22013 PyObject
* obj1
= 0 ;
22014 PyObject
* obj2
= 0 ;
22015 char *kwnames
[] = {
22016 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
22019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22023 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22027 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPrintPreview
, 1);
22039 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22040 PyObject
*resultobj
;
22041 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22042 PyObject
*arg2
= (PyObject
*) 0 ;
22043 PyObject
*arg3
= (PyObject
*) 0 ;
22044 PyObject
* obj0
= 0 ;
22045 PyObject
* obj1
= 0 ;
22046 PyObject
* obj2
= 0 ;
22047 char *kwnames
[] = {
22048 (char *) "self",(char *) "self",(char *) "_class", NULL
22051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22057 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22059 wxPyEndAllowThreads(__tstate
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22062 Py_INCREF(Py_None
); resultobj
= Py_None
;
22069 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
;
22071 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22074 PyObject
* obj0
= 0 ;
22075 PyObject
* obj1
= 0 ;
22076 char *kwnames
[] = {
22077 (char *) "self",(char *) "pageNum", NULL
22080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22083 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22088 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
22090 wxPyEndAllowThreads(__tstate
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22100 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22101 PyObject
*resultobj
;
22102 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22103 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22106 PyObject
* obj0
= 0 ;
22107 PyObject
* obj1
= 0 ;
22108 PyObject
* obj2
= 0 ;
22109 char *kwnames
[] = {
22110 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22115 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22116 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22117 if (arg3
== NULL
) {
22118 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22134 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22136 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22137 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22140 PyObject
* obj0
= 0 ;
22141 PyObject
* obj1
= 0 ;
22142 PyObject
* obj2
= 0 ;
22143 char *kwnames
[] = {
22144 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22149 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22150 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22151 if (arg3
== NULL
) {
22152 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22156 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
22158 wxPyEndAllowThreads(__tstate
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22168 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22169 PyObject
*resultobj
;
22170 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22173 PyObject
* obj0
= 0 ;
22174 PyObject
* obj1
= 0 ;
22175 char *kwnames
[] = {
22176 (char *) "self",(char *) "pageNum", NULL
22179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22182 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 result
= (bool)(arg1
)->base_RenderPage(arg2
);
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22199 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22200 PyObject
*resultobj
;
22201 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22203 PyObject
* obj0
= 0 ;
22204 PyObject
* obj1
= 0 ;
22205 char *kwnames
[] = {
22206 (char *) "self",(char *) "percent", NULL
22209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
22210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22212 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22217 (arg1
)->base_SetZoom(arg2
);
22219 wxPyEndAllowThreads(__tstate
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22222 Py_INCREF(Py_None
); resultobj
= Py_None
;
22229 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
;
22231 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22234 PyObject
* obj0
= 0 ;
22235 PyObject
* obj1
= 0 ;
22236 char *kwnames
[] = {
22237 (char *) "self",(char *) "interactive", NULL
22240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
22241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22243 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22248 result
= (bool)(arg1
)->base_Print(arg2
);
22250 wxPyEndAllowThreads(__tstate
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22260 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22261 PyObject
*resultobj
;
22262 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22263 PyObject
* obj0
= 0 ;
22264 char *kwnames
[] = {
22265 (char *) "self", NULL
22268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
22269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 (arg1
)->base_DetermineScaling();
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22277 Py_INCREF(Py_None
); resultobj
= Py_None
;
22284 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
22286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22287 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
22289 return Py_BuildValue((char *)"");
22291 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
;
22293 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22294 wxFrame
*arg2
= (wxFrame
*) 0 ;
22295 wxString
*arg3
= 0 ;
22296 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22297 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22298 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22299 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22300 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22301 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22302 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22303 wxPyPreviewFrame
*result
;
22304 bool temp3
= False
;
22307 bool temp7
= False
;
22308 PyObject
* obj0
= 0 ;
22309 PyObject
* obj1
= 0 ;
22310 PyObject
* obj2
= 0 ;
22311 PyObject
* obj3
= 0 ;
22312 PyObject
* obj4
= 0 ;
22313 PyObject
* obj5
= 0 ;
22314 PyObject
* obj6
= 0 ;
22315 char *kwnames
[] = {
22316 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22321 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22323 arg3
= wxString_in_helper(obj2
);
22324 if (arg3
== NULL
) SWIG_fail
;
22330 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22336 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22341 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22342 if (PyErr_Occurred()) SWIG_fail
;
22347 arg7
= wxString_in_helper(obj6
);
22348 if (arg7
== NULL
) SWIG_fail
;
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22359 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewFrame
, 1);
22382 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22383 PyObject
*resultobj
;
22384 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22385 PyObject
*arg2
= (PyObject
*) 0 ;
22386 PyObject
*arg3
= (PyObject
*) 0 ;
22387 PyObject
* obj0
= 0 ;
22388 PyObject
* obj1
= 0 ;
22389 PyObject
* obj2
= 0 ;
22390 char *kwnames
[] = {
22391 (char *) "self",(char *) "self",(char *) "_class", NULL
22394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22400 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22402 wxPyEndAllowThreads(__tstate
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22405 Py_INCREF(Py_None
); resultobj
= Py_None
;
22412 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22413 PyObject
*resultobj
;
22414 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22415 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22416 PyObject
* obj0
= 0 ;
22417 PyObject
* obj1
= 0 ;
22418 char *kwnames
[] = {
22419 (char *) "self",(char *) "canvas", NULL
22422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22424 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 (arg1
)->SetPreviewCanvas(arg2
);
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22432 Py_INCREF(Py_None
); resultobj
= Py_None
;
22439 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22440 PyObject
*resultobj
;
22441 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22442 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
22443 PyObject
* obj0
= 0 ;
22444 PyObject
* obj1
= 0 ;
22445 char *kwnames
[] = {
22446 (char *) "self",(char *) "bar", NULL
22449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
22450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22451 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22454 (arg1
)->SetControlBar(arg2
);
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22459 Py_INCREF(Py_None
); resultobj
= Py_None
;
22466 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22467 PyObject
*resultobj
;
22468 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22469 PyObject
* obj0
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
22475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22478 (arg1
)->base_Initialize();
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22483 Py_INCREF(Py_None
); resultobj
= Py_None
;
22490 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22491 PyObject
*resultobj
;
22492 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22493 PyObject
* obj0
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22502 (arg1
)->base_CreateCanvas();
22504 wxPyEndAllowThreads(__tstate
);
22505 if (PyErr_Occurred()) SWIG_fail
;
22507 Py_INCREF(Py_None
); resultobj
= Py_None
;
22514 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22515 PyObject
*resultobj
;
22516 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22517 PyObject
* obj0
= 0 ;
22518 char *kwnames
[] = {
22519 (char *) "self", NULL
22522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 (arg1
)->base_CreateControlBar();
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 Py_INCREF(Py_None
); resultobj
= Py_None
;
22538 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22541 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
22543 return Py_BuildValue((char *)"");
22545 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22546 PyObject
*resultobj
;
22547 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22549 wxWindow
*arg3
= (wxWindow
*) 0 ;
22550 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22551 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22552 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22553 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22554 long arg6
= (long) 0 ;
22555 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22556 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22557 wxPyPreviewControlBar
*result
;
22560 bool temp7
= False
;
22561 PyObject
* obj0
= 0 ;
22562 PyObject
* obj1
= 0 ;
22563 PyObject
* obj2
= 0 ;
22564 PyObject
* obj3
= 0 ;
22565 PyObject
* obj4
= 0 ;
22566 PyObject
* obj5
= 0 ;
22567 PyObject
* obj6
= 0 ;
22568 char *kwnames
[] = {
22569 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22575 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22578 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22582 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22588 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22593 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22599 arg7
= wxString_in_helper(obj6
);
22600 if (arg7
== NULL
) SWIG_fail
;
22605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22606 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22608 wxPyEndAllowThreads(__tstate
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22611 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewControlBar
, 1);
22626 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22627 PyObject
*resultobj
;
22628 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22629 PyObject
*arg2
= (PyObject
*) 0 ;
22630 PyObject
*arg3
= (PyObject
*) 0 ;
22631 PyObject
* obj0
= 0 ;
22632 PyObject
* obj1
= 0 ;
22633 PyObject
* obj2
= 0 ;
22634 char *kwnames
[] = {
22635 (char *) "self",(char *) "self",(char *) "_class", NULL
22638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22644 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22649 Py_INCREF(Py_None
); resultobj
= Py_None
;
22656 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22657 PyObject
*resultobj
;
22658 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22659 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
22660 PyObject
* obj0
= 0 ;
22661 PyObject
* obj1
= 0 ;
22662 char *kwnames
[] = {
22663 (char *) "self",(char *) "preview", NULL
22666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22668 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22671 (arg1
)->SetPrintPreview(arg2
);
22673 wxPyEndAllowThreads(__tstate
);
22674 if (PyErr_Occurred()) SWIG_fail
;
22676 Py_INCREF(Py_None
); resultobj
= Py_None
;
22683 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22684 PyObject
*resultobj
;
22685 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22686 PyObject
* obj0
= 0 ;
22687 char *kwnames
[] = {
22688 (char *) "self", NULL
22691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
22692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 (arg1
)->base_CreateButtons();
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22700 Py_INCREF(Py_None
); resultobj
= Py_None
;
22707 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22708 PyObject
*resultobj
;
22709 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22711 PyObject
* obj0
= 0 ;
22712 PyObject
* obj1
= 0 ;
22713 char *kwnames
[] = {
22714 (char *) "self",(char *) "zoom", NULL
22717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22720 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 (arg1
)->base_SetZoomControl(arg2
);
22727 wxPyEndAllowThreads(__tstate
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22730 Py_INCREF(Py_None
); resultobj
= Py_None
;
22737 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22740 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
22742 return Py_BuildValue((char *)"");
22744 static PyMethodDef SwigMethods
[] = {
22745 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
22746 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
22747 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
22748 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
22749 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
22750 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22751 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22752 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22753 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
22754 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
22755 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
22756 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
22757 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
22758 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
22759 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
22760 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
22761 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
22762 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
22763 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
22764 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
22765 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
22766 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
22767 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
22768 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
22769 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
22770 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
22771 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
22772 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
22773 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
22774 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
22775 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
22776 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
22777 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
22778 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
22779 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
22780 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
22781 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
22782 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
22783 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
22784 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
22785 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
22786 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
22787 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
22788 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
22789 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
22790 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
22791 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
22792 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
22793 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
22794 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
22795 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22796 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22797 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22798 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22799 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
22800 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22801 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22802 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
22803 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
22804 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22805 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22806 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22807 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
22808 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
22809 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
22810 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
22811 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
22812 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
22813 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
22814 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
22815 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
22816 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
22817 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
22818 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22819 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
22820 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
22821 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
22822 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
22823 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
22824 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
22825 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
22826 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
22827 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
22828 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
22829 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
22830 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
22831 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
22832 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22833 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
22834 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
22835 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22836 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22837 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
22838 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
22839 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
22840 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22841 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22842 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22843 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22844 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
22845 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
22846 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
22847 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
22848 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
22849 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
22850 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
22851 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
22852 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22853 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
22854 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
22855 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
22856 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
22857 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
22858 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
22859 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
22860 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
22861 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
22862 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
22863 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
22864 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22865 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
22866 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22867 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22868 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22869 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
22870 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
22871 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
22872 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
22873 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
22874 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
22875 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
22876 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
22877 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22878 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22879 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
22880 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
22881 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
22882 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
22883 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22884 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22885 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22886 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
22887 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
22888 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
22889 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
22890 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
22891 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22892 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22893 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22894 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22895 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22896 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22897 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22898 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22899 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22900 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22901 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22902 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22903 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
22904 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
22905 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
22906 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
22907 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
22908 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
22909 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
22910 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
22911 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
22912 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
22913 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
22914 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
22915 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
22916 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
22917 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22918 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22919 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
22920 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
22921 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22922 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22923 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22924 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22925 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
22926 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
22927 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22928 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22929 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
22930 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
22931 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
22932 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22933 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22934 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22935 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22936 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22937 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22938 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
22939 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22940 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
22941 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
22942 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
22943 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
22944 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
22945 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22946 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
22947 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
22948 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
22949 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22950 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
22951 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
22952 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
22953 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
22954 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22955 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
22956 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
22957 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
22958 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
22959 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
22960 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
22961 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
22962 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22963 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22964 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22965 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22966 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
22967 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
22968 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
22969 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
22970 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
22971 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
22972 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
22973 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
22974 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
22975 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
22976 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
22977 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
22978 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
22979 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
22980 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
22981 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
22982 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22983 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
22984 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
22985 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
22986 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22987 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
22988 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
22989 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
22990 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
22991 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
22992 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
22993 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
22994 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
22995 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
22996 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22997 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
22998 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
22999 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
23000 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
23001 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
23002 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
23003 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
23004 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
23005 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
23006 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
23007 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
23008 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23009 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
23010 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
23011 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
23012 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
23013 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
23014 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
23015 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
23016 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
23017 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
23018 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
23019 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
23020 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
23021 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
23022 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
23023 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
23024 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
23025 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
23026 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23027 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
23028 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
23029 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23030 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
23031 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
23032 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
23033 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
23034 { (char *)"ColourDialog_ShowModal", (PyCFunction
) _wrap_ColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23035 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
23036 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
23037 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
23038 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23039 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
23040 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23041 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
23042 { (char *)"DirDialog_ShowModal", (PyCFunction
) _wrap_DirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23043 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
23044 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
23045 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23046 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
23047 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
23048 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23049 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
23050 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
23051 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
23052 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23053 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
23054 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
23055 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23056 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
23057 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
23058 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
23059 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
23060 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
23061 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
23062 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23063 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
23064 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
23065 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
23066 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23067 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23068 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
23069 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23070 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_SingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23071 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
23072 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
23073 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
23074 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
23075 { (char *)"TextEntryDialog_ShowModal", (PyCFunction
) _wrap_TextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23076 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
23077 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
23078 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
23079 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
23080 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
23081 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23082 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
23083 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
23084 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
23085 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
23086 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
23087 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
23088 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23089 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
23090 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
23091 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
23092 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
23093 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
23094 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
23095 { (char *)"FontDialog_ShowModal", (PyCFunction
) _wrap_FontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23096 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
23097 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
23098 { (char *)"MessageDialog_ShowModal", (PyCFunction
) _wrap_MessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23099 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
23100 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
23101 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
23102 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
23103 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
23104 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
23105 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23106 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23107 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23108 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
23109 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23110 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23111 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23112 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
23113 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
23114 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
23115 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23116 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23117 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23118 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23119 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23120 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23121 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
23122 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23123 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23124 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
23125 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
23126 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
23127 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
23128 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
23129 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
23130 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23131 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
23132 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
23133 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
23134 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
23135 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
23136 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23137 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23138 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
23139 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
23140 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23141 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
23142 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
23143 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23144 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23145 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23146 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
23147 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
23148 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
23149 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
23150 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23151 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23152 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23153 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
23154 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
23155 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23156 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23157 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23158 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23159 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23160 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23161 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23162 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23163 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23164 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23165 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23166 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23167 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23168 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23169 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23170 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23171 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23172 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23173 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23174 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
23175 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
23176 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23177 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23178 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23179 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23180 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23181 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23182 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23183 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23184 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23185 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23186 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23187 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23188 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23189 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23190 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23191 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23192 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23193 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23194 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23195 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
23196 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23197 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23198 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23199 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23200 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23201 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23202 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23203 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23204 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23205 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23206 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23207 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23208 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23209 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23210 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23211 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23212 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23213 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23214 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23215 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23216 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23217 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23218 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23219 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23220 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23221 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23222 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23223 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23224 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23225 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23226 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23227 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23228 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23229 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23230 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23231 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23232 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23233 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23234 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
23235 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23236 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23237 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
23238 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23239 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
23240 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23241 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23242 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23243 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23244 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23245 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23246 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23247 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23248 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23249 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23250 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23251 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23252 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23253 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23254 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23255 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23256 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23257 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23258 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23259 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23260 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23261 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23262 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23263 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23264 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23265 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23266 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23267 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23268 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23269 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23270 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23271 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
23272 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23273 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
23274 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23275 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
23276 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23277 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23278 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23279 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23280 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23281 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23282 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23283 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23284 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23285 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23286 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23287 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23288 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23289 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23290 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23291 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23292 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23293 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23294 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23295 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23296 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23297 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23298 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23299 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23300 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23301 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23302 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23303 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23304 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23305 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23306 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23307 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23308 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23309 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
23310 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23311 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23312 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
23313 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23314 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
23315 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23316 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23317 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
23318 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23319 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
23320 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23321 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
23322 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
23323 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
23324 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
23325 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
23326 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
23327 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23328 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
23329 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
23330 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
23331 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23332 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23333 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23334 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23335 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23336 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23337 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23338 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23339 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23340 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23341 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
23342 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
23343 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23344 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23345 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
23346 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
23347 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
23348 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
23349 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23350 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
23351 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23352 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23353 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23354 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23355 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23356 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
23357 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23358 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23359 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23360 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23361 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
23362 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
23363 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
23364 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
23365 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
23366 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
23367 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23368 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23369 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23370 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23371 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23372 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23373 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23374 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23375 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23376 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23377 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23378 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23379 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23380 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
23381 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23382 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23383 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23384 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23385 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23386 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23387 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
23388 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
23389 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23390 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
23391 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23392 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23393 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23394 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23395 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23396 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23397 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23398 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
23399 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23400 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
23401 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23402 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23403 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23404 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23405 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23406 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23407 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23408 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
23409 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23410 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23411 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23412 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
23413 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23414 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
23419 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23421 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
23422 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23424 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
23425 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23427 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
23428 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
23430 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
23431 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
23433 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
23434 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
23436 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
23437 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
23439 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
23440 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
23442 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
23443 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23445 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
23446 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
23448 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
23449 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
23451 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
23452 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23454 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
23455 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
23457 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
23458 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23460 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
23461 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23463 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
23464 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
23466 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
23467 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23469 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
23470 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23472 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
23473 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
23475 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
23476 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
23478 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
23479 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
23481 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
23482 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
23484 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
23485 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
23487 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
23488 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
23490 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
23491 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
23493 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
23494 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23496 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
23497 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23499 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
23500 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23502 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
23503 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23505 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
23506 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23508 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
23509 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
23511 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
23512 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
23514 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
23515 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23517 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
23518 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
23520 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
23521 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23523 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
23524 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
23526 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
23527 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
23529 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
23530 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23532 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
23533 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23535 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
23536 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23538 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
23539 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
23541 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
23542 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
23544 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
23545 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23547 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
23548 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23550 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
23551 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23553 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
23554 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23556 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
23557 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23559 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
23560 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
23562 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
23563 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
23565 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
23566 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
23568 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
23569 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
23571 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
23572 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23574 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
23575 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23577 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
23578 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23580 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
23581 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23583 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
23584 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23586 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
23587 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23589 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
23590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23592 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
23593 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
23595 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
23596 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
23598 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
23599 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23601 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
23602 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
23604 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
23605 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23607 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
23608 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
23610 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
23611 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23613 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
23614 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
23616 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
23617 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
23619 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
23620 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
23622 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
23623 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
23625 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
23626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
23628 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
23629 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
23631 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
23632 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
23634 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
23635 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
23637 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
23638 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23640 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
23641 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23643 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
23644 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23646 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
23647 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
23649 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
23650 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
23652 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
23653 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
23655 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
23656 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23658 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
23659 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23661 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
23662 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23664 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23665 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
23667 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23668 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
23670 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
23671 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23673 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
23674 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23676 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
23677 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
23679 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
23680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23682 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
23683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23685 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
23686 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
23688 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
23689 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
23691 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
23692 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
23694 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
23695 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23697 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
23698 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23700 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
23701 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
23703 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
23704 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
23706 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
23707 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
23709 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
23710 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23712 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
23713 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
23715 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
23716 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
23718 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
23719 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
23721 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
23722 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
23724 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
23725 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23727 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
23728 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23730 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
23731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23733 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
23734 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
23736 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
23737 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
23739 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
23740 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
23742 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
23743 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
23745 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
23746 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
23748 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
23749 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
23751 static void *_p_wxSizerTo_p_wxObject(void *x
) {
23752 return (void *)((wxObject
*) ((wxSizer
*) x
));
23754 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
23755 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
23757 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
23758 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23760 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
23761 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23763 static void *_p_wxEventTo_p_wxObject(void *x
) {
23764 return (void *)((wxObject
*) ((wxEvent
*) x
));
23766 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
23767 return (void *)((wxObject
*) ((wxFontData
*) x
));
23769 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
23770 return (void *)((wxObject
*) ((wxPrintData
*) x
));
23772 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
23773 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
23775 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
23776 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
23778 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
23779 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
23781 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
23782 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
23784 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
23785 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23787 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
23788 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23790 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
23791 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
23793 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
23794 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
23796 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
23797 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23799 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
23800 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23802 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
23803 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23805 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
23806 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23808 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
23809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23811 static void *_p_wxControlTo_p_wxObject(void *x
) {
23812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
23814 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
23815 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
23817 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
23818 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23820 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
23821 return (void *)((wxObject
*) ((wxFSFile
*) x
));
23823 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
23824 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
23826 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
23827 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
23829 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
23830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23832 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
23833 return (void *)((wxObject
*) ((wxColourData
*) x
));
23835 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
23836 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
23838 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
23839 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23841 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
23842 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
23844 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
23845 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23847 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
23848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23850 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
23851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23853 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
23854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23856 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
23857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23859 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
23860 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23862 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
23863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23865 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
23866 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23868 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
23869 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
23871 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
23872 return (void *)((wxObject
*) ((wxPrinter
*) x
));
23874 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
23875 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
23877 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
23878 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
23880 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
23881 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23883 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
23884 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23886 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
23887 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
23889 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
23890 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
23892 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
23893 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
23895 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
23896 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
23898 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
23899 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
23901 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
23902 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
23904 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
23905 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
23907 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
23908 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
23910 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
23911 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
23913 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
23914 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
23916 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
23917 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
23919 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
23920 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
23922 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
23923 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
23925 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
23926 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
23928 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
23929 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
23931 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
23932 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
23934 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
23935 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
23937 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
23938 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
23940 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
23941 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23943 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
23944 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23946 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
23947 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23949 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
23950 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
23952 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
23953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23955 static void *_p_wxImageTo_p_wxObject(void *x
) {
23956 return (void *)((wxObject
*) ((wxImage
*) x
));
23958 static void *_p_wxFrameTo_p_wxObject(void *x
) {
23959 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23961 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
23962 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
23964 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
23965 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
23967 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
23968 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23970 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
23971 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
23973 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
23974 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23976 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
23977 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23979 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
23980 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23982 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
23983 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
23985 static void *_p_wxWindowTo_p_wxObject(void *x
) {
23986 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
23988 static void *_p_wxMenuTo_p_wxObject(void *x
) {
23989 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
23991 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
23992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
23994 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
23995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
23997 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
23998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
24000 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
24001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
24003 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
24004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
24006 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
24007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
24009 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
24010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24012 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
24013 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
24015 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
24016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24018 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
24019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24021 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
24022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24024 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
24025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
24027 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
24028 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
24030 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
24031 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
24033 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
24034 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
24036 static void *_p_wxPanelTo_p_wxObject(void *x
) {
24037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
24039 static void *_p_wxDialogTo_p_wxObject(void *x
) {
24040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
24042 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
24043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24045 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
24046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24048 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
24049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24051 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
24052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24054 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
24055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24057 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
24058 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
24060 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
24061 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24063 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
24064 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
24066 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
24067 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
24069 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
24070 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
24072 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
24073 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
24075 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
24076 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
24078 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
24079 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24081 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
24082 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
24084 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
24085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
24087 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
24088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24090 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
24091 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
24093 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
24094 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
24096 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
24097 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24099 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
24100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
24102 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
24103 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
24105 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
24106 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
24108 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
24109 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
24111 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
24112 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
24114 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24115 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24117 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24118 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24120 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
24121 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24123 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
24124 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24126 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
24127 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24129 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
24130 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24132 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
24133 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
24135 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
24136 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
24138 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
24139 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
24141 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
24142 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
24144 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
24145 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
24147 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
24148 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
24150 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
24151 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
24153 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
24154 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
24156 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
24157 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
24159 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
24160 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
24162 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
24163 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
24165 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
24166 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
24168 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
24169 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
24171 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
24172 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
24174 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
24175 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
24177 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24178 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24180 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24181 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24183 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
24184 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
24186 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24187 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
24189 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24190 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24192 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
24193 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24195 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
24196 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24198 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
24199 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
24201 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
24202 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
24204 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
24205 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24207 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
24208 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24210 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
24211 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24213 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
24214 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24216 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
24217 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24219 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
24220 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24222 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
24223 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24225 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
24226 return (void *)((wxWindow
*) ((wxPanel
*) x
));
24228 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
24229 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
24231 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
24232 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
24234 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
24235 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24237 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
24238 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24240 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
24241 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24243 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
24244 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
24246 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
24247 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24249 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
24250 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
24252 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
24253 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
24255 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
24256 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
24258 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
24259 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
24261 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
24262 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
24264 static void *_p_wxControlTo_p_wxWindow(void *x
) {
24265 return (void *)((wxWindow
*) ((wxControl
*) x
));
24267 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
24268 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24270 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
24271 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24273 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
24274 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24276 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
24277 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
24279 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
24280 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
24282 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
24283 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24285 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
24286 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24288 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
24289 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24291 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
24292 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
24294 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
24295 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24297 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
24298 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
24300 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
24301 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24303 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
24304 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24306 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
24307 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24309 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
24310 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
24312 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
24313 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24315 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
24316 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24318 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
24319 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24321 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
24322 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24324 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
24325 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
24327 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
24328 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
24330 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
24331 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
24333 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
24334 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
24336 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
24337 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
24339 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
24340 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
24342 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
24343 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
24345 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
24346 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24348 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
24349 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24351 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
24352 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
24354 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
24355 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
24357 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
24358 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
24360 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
24361 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
24363 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
24364 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24366 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
24367 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24369 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
24370 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24372 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
24373 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
24375 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
24376 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24378 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
24379 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
24381 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
24382 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24384 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
24385 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24387 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
24388 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
24390 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
24391 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24393 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
24394 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24396 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
24397 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24399 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
24400 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24402 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
24403 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24405 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
24406 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24408 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
24409 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24411 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
24412 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24414 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
24415 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
24417 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
24418 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24420 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
24421 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
},{0}};
24422 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
24423 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
24424 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
24425 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
24426 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
24427 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
},{0}};
24428 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
24429 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
24430 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
24431 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
24432 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
24433 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
24434 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
24435 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
24436 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
24437 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
24438 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
24439 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
24440 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
24441 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
24442 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
24443 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
24444 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
24445 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
24446 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
24447 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
24448 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
24449 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
24450 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
24451 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
24452 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
24453 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
24454 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
24455 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
},{0}};
24456 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
24457 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
24458 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
},{0}};
24459 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
24460 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
24461 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
24462 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
},{0}};
24463 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
24464 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
24465 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
24466 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
24467 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
24468 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
24469 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{0}};
24470 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
24471 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
24472 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
24473 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
24474 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
24475 static swig_type_info _swigt__p_wxPyVScrolledWindow
[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0},{"_p_wxPyVScrolledWindow"},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow
},{0}};
24476 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
},{0}};
24477 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow
},{0}};
24478 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
},{0}};
24479 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
},{0}};
24480 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
},{0}};
24481 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
24482 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
24483 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
24484 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
},{0}};
24485 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
24486 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
24487 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
24488 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
24489 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
24490 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
24491 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
24492 static swig_type_info _swigt__p_wxDialog
[] = {{"_p_wxDialog", 0, "wxDialog *", 0},{"_p_wxDialog"},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog
},{0}};
24493 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
},{0}};
24494 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
24495 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
24496 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
},{0}};
24497 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
},{0}};
24498 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
24499 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
24500 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
24501 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
24502 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
24504 static swig_type_info
*swig_types_initial
[] = {
24505 _swigt__p_wxQueryLayoutInfoEvent
,
24506 _swigt__p_wxPreviewFrame
,
24507 _swigt__p_wxPyPreviewFrame
,
24508 _swigt__p_wxPyPanel
,
24510 _swigt__p_wxPrintData
,
24511 _swigt__p_wxFontData
,
24513 _swigt__p_wxTaskBarIcon
,
24514 _swigt__p_wxIconBundle
,
24515 _swigt__p_wxLayoutAlgorithm
,
24516 _swigt__p_wxFindDialogEvent
,
24517 _swigt__p_wxPreviewCanvas
,
24519 _swigt__p_wxSplitterEvent
,
24520 _swigt__p_wxRegion
,
24521 _swigt__p_wxFindReplaceData
,
24526 _swigt__p_wxMDIChildFrame
,
24527 _swigt__p_wxColourData
,
24528 _swigt__p_wxNotifyEvent
,
24529 _swigt__p_wxPyWindow
,
24530 _swigt__p_wxSplashScreen
,
24531 _swigt__p_wxFindReplaceDialog
,
24532 _swigt__p_wxProgressDialog
,
24533 _swigt__p_wxMessageDialog
,
24534 _swigt__p_wxTextEntryDialog
,
24535 _swigt__p_wxSingleChoiceDialog
,
24536 _swigt__p_wxMultiChoiceDialog
,
24537 _swigt__p_wxFileDialog
,
24538 _swigt__p_wxPrinter
,
24539 _swigt__p_wxArrayInt
,
24540 _swigt__p_wxEvtHandler
,
24541 _swigt__p_wxCalculateLayoutEvent
,
24542 _swigt__p_wxPyHtmlListBox
,
24543 _swigt__p_wxPyVListBox
,
24546 _swigt__p_wxMiniFrame
,
24548 _swigt__p_wxPyPrintout
,
24549 _swigt__p_wxTaskBarIconEvent
,
24550 _swigt__p_wxScrollWinEvent
,
24551 _swigt__p_wxStatusBar
,
24552 _swigt__p_wxMDIParentFrame
,
24554 _swigt__p_wxObject
,
24555 _swigt__p_unsigned_long
,
24556 _swigt__p_wxMDIClientWindow
,
24557 _swigt__p_wxTipWindow
,
24558 _swigt__p_wxSashLayoutWindow
,
24559 _swigt__p_wxSplitterWindow
,
24560 _swigt__p_wxPyVScrolledWindow
,
24561 _swigt__p_wxPyPopupTransientWindow
,
24562 _swigt__p_wxPopupWindow
,
24563 _swigt__p_wxSashWindow
,
24564 _swigt__p_wxTopLevelWindow
,
24565 _swigt__p_wxWindow
,
24566 _swigt__p_wxScrolledWindow
,
24567 _swigt__p_wxSplashScreenWindow
,
24568 _swigt__p_wxMenuBar
,
24569 _swigt__p_wxPrintPreview
,
24570 _swigt__p_wxSashEvent
,
24571 _swigt__p_wxString
,
24572 _swigt__p_wxPyPrintPreview
,
24573 _swigt__p_wxPageSetupDialog
,
24574 _swigt__p_wxFontDialog
,
24575 _swigt__p_wxDirDialog
,
24576 _swigt__p_wxColourDialog
,
24577 _swigt__p_wxDialog
,
24579 _swigt__p_wxPrintDialog
,
24580 _swigt__p_wxBitmap
,
24581 _swigt__p_wxCommandEvent
,
24582 _swigt__p_wxPreviewControlBar
,
24583 _swigt__p_wxPyPreviewControlBar
,
24584 _swigt__p_wxColour
,
24585 _swigt__p_wxToolBar
,
24586 _swigt__p_wxPageSetupDialogData
,
24587 _swigt__p_wxPrintDialogData
,
24592 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24594 static swig_const_info swig_const_table
[] = {
24604 SWIGEXPORT(void) SWIG_init(void) {
24605 static PyObject
*SWIG_globals
= 0;
24606 static int typeinit
= 0;
24609 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
24610 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
24611 d
= PyModule_GetDict(m
);
24614 for (i
= 0; swig_types_initial
[i
]; i
++) {
24615 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
24619 SWIG_InstallConstants(d
,swig_const_table
);
24621 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
24622 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
24623 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
24624 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
24625 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
24626 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
24627 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
24628 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
24629 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOBORDER
));
24630 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOCAPTION
));
24631 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_PyObj_FromInt((int)wxFULLSCREEN_ALL
));
24632 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_PyObj_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
24633 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
24634 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
24635 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_PyObj_FromInt((int)wxSPLASH_NO_CENTRE
));
24636 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_TIMEOUT
));
24637 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_NO_TIMEOUT
));
24638 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
24639 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_PyObj_FromInt((int)wxSP_NOBORDER
));
24640 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_PyObj_FromInt((int)wxSP_NOSASH
));
24641 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_PyObj_FromInt((int)wxSP_PERMIT_UNSPLIT
));
24642 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_PyObj_FromInt((int)wxSP_LIVE_UPDATE
));
24643 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_PyObj_FromInt((int)wxSP_3DSASH
));
24644 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_PyObj_FromInt((int)wxSP_3DBORDER
));
24645 PyDict_SetItemString(d
,"SP_BORDER", SWIG_PyObj_FromInt((int)wxSP_BORDER
));
24646 PyDict_SetItemString(d
,"SP_3D", SWIG_PyObj_FromInt((int)wxSP_3D
));
24647 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSPLIT_HORIZONTAL
));
24648 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_PyObj_FromInt((int)wxSPLIT_VERTICAL
));
24649 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_NONE
));
24650 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
24651 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
24652 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
24653 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
24654 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
24655 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
24656 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
24657 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
24658 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSASH_DRAG_NONE
));
24659 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSASH_DRAG_DRAGGING
));
24660 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
24661 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_PyObj_FromInt((int)wxSW_NOBORDER
));
24662 PyDict_SetItemString(d
,"SW_BORDER", SWIG_PyObj_FromInt((int)wxSW_BORDER
));
24663 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_PyObj_FromInt((int)wxSW_3DSASH
));
24664 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_PyObj_FromInt((int)wxSW_3DBORDER
));
24665 PyDict_SetItemString(d
,"SW_3D", SWIG_PyObj_FromInt((int)wxSW_3D
));
24666 PyDict_SetItemString(d
,"SASH_TOP", SWIG_PyObj_FromInt((int)wxSASH_TOP
));
24667 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_PyObj_FromInt((int)wxSASH_RIGHT
));
24668 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_PyObj_FromInt((int)wxSASH_BOTTOM
));
24669 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_PyObj_FromInt((int)wxSASH_LEFT
));
24670 PyDict_SetItemString(d
,"SASH_NONE", SWIG_PyObj_FromInt((int)wxSASH_NONE
));
24671 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OK
));
24672 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
24673 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
24674 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLAYOUT_HORIZONTAL
));
24675 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_PyObj_FromInt((int)wxLAYOUT_VERTICAL
));
24676 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_PyObj_FromInt((int)wxLAYOUT_NONE
));
24677 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_PyObj_FromInt((int)wxLAYOUT_TOP
));
24678 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_PyObj_FromInt((int)wxLAYOUT_LEFT
));
24679 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_PyObj_FromInt((int)wxLAYOUT_RIGHT
));
24680 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_PyObj_FromInt((int)wxLAYOUT_BOTTOM
));
24681 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_Y
));
24682 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_X
));
24683 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_PyObj_FromInt((int)wxLAYOUT_MRU_LENGTH
));
24684 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_PyObj_FromInt((int)wxLAYOUT_QUERY
));
24685 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
24686 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
24687 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
24689 // Map renamed classes back to their common name for OOR
24690 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24691 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24692 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24694 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
24695 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
24696 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
24697 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
24698 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
24699 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
24700 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
24701 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
24702 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
24703 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
24704 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
24705 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
24706 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
24707 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_PyObj_FromInt((int)wxCHOICEDLG_STYLE
));
24708 PyDict_SetItemString(d
,"FR_DOWN", SWIG_PyObj_FromInt((int)wxFR_DOWN
));
24709 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_WHOLEWORD
));
24710 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_PyObj_FromInt((int)wxFR_MATCHCASE
));
24711 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_PyObj_FromInt((int)wxFR_REPLACEDIALOG
));
24712 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_PyObj_FromInt((int)wxFR_NOUPDOWN
));
24713 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_PyObj_FromInt((int)wxFR_NOMATCHCASE
));
24714 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_NOWHOLEWORD
));
24715 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
24716 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
24717 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
24718 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
24719 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
24720 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_PyObj_FromInt((int)4001));
24721 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_PyObj_FromInt((int)4001));
24722 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_PyObj_FromInt((int)4002));
24723 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_PyObj_FromInt((int)4003));
24724 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_PyObj_FromInt((int)4004));
24725 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_PyObj_FromInt((int)4005));
24726 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_PyObj_FromInt((int)4100));
24727 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_PyObj_FromInt((int)4600));
24728 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
24729 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
24730 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_NONE
));
24731 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PREVIEW
));
24732 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_FILE
));
24733 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PRINTER
));
24734 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_NO_ERROR
));
24735 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_PyObj_FromInt((int)wxPRINTER_CANCELLED
));
24736 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_ERROR
));
24737 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxPREVIEW_PRINT
));
24738 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxPREVIEW_PREVIOUS
));
24739 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxPREVIEW_NEXT
));
24740 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxPREVIEW_ZOOM
));
24741 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxPREVIEW_FIRST
));
24742 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxPREVIEW_LAST
));
24743 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxPREVIEW_GOTO
));
24744 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_PyObj_FromInt((int)wxPREVIEW_DEFAULT
));
24745 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_PyObj_FromInt((int)wxID_PREVIEW_CLOSE
));
24746 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_NEXT
));
24747 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PREVIOUS
));
24748 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PRINT
));
24749 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxID_PREVIEW_ZOOM
));
24750 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_FIRST
));
24751 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_LAST
));
24752 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxID_PREVIEW_GOTO
));
24754 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");