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
50 /***********************************************************************
51 * common.swg for wxPython
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 ************************************************************************/
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #define SWIGRUNTIME(a) static a
96 typedef void *(*swig_converter_func
)(void *);
97 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
99 typedef struct swig_type_info
{
101 swig_converter_func converter
;
104 swig_dycast_func dcast
;
105 struct swig_type_info
*next
;
106 struct swig_type_info
*prev
;
110 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
124 /***********************************************************************
125 * pyrun.swg for wxPython
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 ************************************************************************/
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
147 /* Flags for pointer conversion */
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
155 /* Constant information structure */
156 typedef struct swig_const_info
{
162 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_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
193 SWIGEXPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
196 SWIGEXPORT(PyObject
*) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c
, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c
, void *, int);
201 SWIGEXPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
205 /* Contract support */
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
216 /* -------- TYPES TABLE (BEGIN) -------- */
218 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
219 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
220 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
221 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[3]
222 #define SWIGTYPE_p_wxPyPanel swig_types[4]
223 #define SWIGTYPE_p_wxMenu swig_types[5]
224 #define SWIGTYPE_p_wxPrintData swig_types[6]
225 #define SWIGTYPE_p_wxFontData swig_types[7]
226 #define SWIGTYPE_p_wxEvent swig_types[8]
227 #define SWIGTYPE_p_wxTaskBarIcon swig_types[9]
228 #define SWIGTYPE_p_wxIconBundle swig_types[10]
229 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
230 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
231 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
232 #define SWIGTYPE_p_wxFont swig_types[14]
233 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
234 #define SWIGTYPE_p_wxRegion swig_types[16]
235 #define SWIGTYPE_p_wxFindReplaceData swig_types[17]
236 #define SWIGTYPE_p_int swig_types[18]
237 #define SWIGTYPE_p_wxSize swig_types[19]
238 #define SWIGTYPE_p_wxDC swig_types[20]
239 #define SWIGTYPE_p_wxIcon swig_types[21]
240 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
241 #define SWIGTYPE_p_wxColourData swig_types[23]
242 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
243 #define SWIGTYPE_p_wxPyWindow swig_types[25]
244 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
245 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
246 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
247 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
248 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
249 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
250 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
251 #define SWIGTYPE_p_wxFileDialog swig_types[33]
252 #define SWIGTYPE_p_wxPrinter swig_types[34]
253 #define SWIGTYPE_p_wxMenuItem swig_types[35]
254 #define SWIGTYPE_p_wxArrayInt swig_types[36]
255 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
256 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38]
257 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[39]
258 #define SWIGTYPE_p_wxPyVListBox swig_types[40]
259 #define SWIGTYPE_p_wxRect swig_types[41]
260 #define SWIGTYPE_p_wxAcceleratorTable swig_types[42]
261 #define SWIGTYPE_p_wxMiniFrame swig_types[43]
262 #define SWIGTYPE_p_wxFrame swig_types[44]
263 #define SWIGTYPE_p_wxPyPrintout swig_types[45]
264 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46]
265 #define SWIGTYPE_p_wxScrollWinEvent swig_types[47]
266 #define SWIGTYPE_p_wxStatusBar swig_types[48]
267 #define SWIGTYPE_p_wxMDIParentFrame swig_types[49]
268 #define SWIGTYPE_p_wxPoint swig_types[50]
269 #define SWIGTYPE_p_wxObject swig_types[51]
270 #define SWIGTYPE_p_unsigned_long swig_types[52]
271 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
272 #define SWIGTYPE_p_wxTipWindow swig_types[54]
273 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
274 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
275 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
276 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
277 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
278 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
279 #define SWIGTYPE_p_wxSashWindow swig_types[61]
280 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
281 #define SWIGTYPE_p_wxWindow swig_types[63]
282 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
283 #define SWIGTYPE_p_wxMenuBar swig_types[65]
284 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
285 #define SWIGTYPE_p_wxSashEvent swig_types[67]
286 #define SWIGTYPE_p_wxString swig_types[68]
287 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
288 #define SWIGTYPE_p_wxFontDialog swig_types[70]
289 #define SWIGTYPE_p_wxDirDialog swig_types[71]
290 #define SWIGTYPE_p_wxColourDialog swig_types[72]
291 #define SWIGTYPE_p_wxDialog swig_types[73]
292 #define SWIGTYPE_p_wxPanel swig_types[74]
293 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
294 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
295 #define SWIGTYPE_p_wxBitmap swig_types[77]
296 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
297 #define SWIGTYPE_p_wxPrintQuality swig_types[79]
298 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
299 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
300 #define SWIGTYPE_p_wxColour swig_types[82]
301 #define SWIGTYPE_p_wxToolBar swig_types[83]
302 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
303 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
304 static swig_type_info
*swig_types
[87];
306 /* -------- TYPES TABLE (END) -------- */
309 /*-----------------------------------------------
310 @(target):= _windows.so
311 ------------------------------------------------*/
312 #define SWIG_init init_windows
314 #define SWIG_name "_windows"
316 #include "wx/wxPython/wxPython.h"
317 #include "wx/wxPython/pyclasses.h"
319 DECLARE_DEF_STRING(PanelNameStr
);
320 DECLARE_DEF_STRING(EmptyString
);
326 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
332 } else if (target
== Py_None
) {
336 if (!PyTuple_Check(target
)) {
338 target
= PyTuple_New(1);
339 PyTuple_SetItem(target
, 0, o2
);
342 PyTuple_SetItem(o3
, 0, o
);
345 target
= PySequence_Concat(o2
, o3
);
353 // Put some wx default wxChar* values into wxStrings.
354 DECLARE_DEF_STRING(FrameNameStr
);
355 DECLARE_DEF_STRING(DialogNameStr
);
356 DECLARE_DEF_STRING(StatusLineNameStr
);
357 DECLARE_DEF_STRING(ToolBarNameStr
);
359 bool wxDialog_IsModalShowing(wxDialog
*self
){
363 return self
->IsModalShowing();
369 static const wxChar
* wxSplitterNameStr
= wxT("splitter");
370 DECLARE_DEF_STRING(SplitterNameStr
);
373 static const wxChar
* wxSashNameStr
= wxT("sashWindow");
374 DECLARE_DEF_STRING(SashNameStr
);
375 static const wxChar
* wxSashLayoutNameStr
= wxT("layoutWindow");
376 DECLARE_DEF_STRING(SashLayoutNameStr
);
379 #include <wx/popupwin.h>
382 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
385 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
386 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
387 : wxPopupTransientWindow(parent
, style
) {}
389 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
390 DEC_PYCALLBACK__(OnDismiss
);
391 DEC_PYCALLBACK_BOOL_(CanDismiss
);
396 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
397 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
398 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
401 #include <wx/tipwin.h>
403 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const *text
,int maxLength
,wxRect
*rectBound
){
404 wxString tmp
= *text
;
405 return new wxTipWindow(parent
, tmp
, maxLength
, NULL
, rectBound
);
408 #include <wx/tipwin.h>
411 #include <wx/vscroll.h>
414 class wxPyVScrolledWindow
: public wxVScrolledWindow
416 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
418 wxPyVScrolledWindow() : wxVScrolledWindow() {}
420 wxPyVScrolledWindow(wxWindow
*parent
,
421 wxWindowID id
= wxID_ANY
,
422 const wxPoint
& pos
= wxDefaultPosition
,
423 const wxSize
& size
= wxDefaultSize
,
425 const wxString
& name
= wxPyPanelNameStr
)
426 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
429 // Overridable virtuals
431 // this function must be overridden in the derived class and it should
432 // return the height of the given line in pixels
433 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
436 // this function doesn't have to be overridden but it may be useful to do
437 // it if calculating the lines heights is a relatively expensive operation
438 // as it gives the user code a possibility to calculate several of them at
441 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
442 // shouldn't rely on the latter being called for all lines in the interval
443 // specified here. It is also possible that OnGetLineHeight() will be
444 // called for the lines outside of this interval, so this is really just a
445 // hint, not a promise.
447 // finally note that lineMin is inclusive, while lineMax is exclusive, as
449 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
452 // when the number of lines changes, we try to estimate the total height
453 // of all lines which is a rather expensive operation in terms of lines
454 // access, so if the user code may estimate the average height
455 // better/faster than we do, it should override this function to implement
458 // this function should return the best guess for the total height it may
460 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
463 // Also expose some other interesting protected methods
466 // find the index of the line we need to show at the top of the window such
467 // that the last (fully or partially) visible line is the given one
468 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
469 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
471 // get the total height of the lines between lineMin (inclusive) and
472 // lineMax (exclusive)
473 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
474 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
480 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
482 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
483 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
484 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
487 #include <wx/vlbox.h>
488 DECLARE_DEF_STRING(VListBoxNameStr
);
491 class wxPyVListBox
: public wxVListBox
493 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
495 wxPyVListBox() : wxVListBox() {}
497 wxPyVListBox(wxWindow
*parent
,
498 wxWindowID id
= wxID_ANY
,
499 const wxPoint
& pos
= wxDefaultPosition
,
500 const wxSize
& size
= wxDefaultSize
,
502 const wxString
& name
= wxPyVListBoxNameStr
)
503 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
506 // Overridable virtuals
508 // the derived class must implement this function to actually draw the item
509 // with the given index on the provided DC
510 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
511 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
514 // the derived class must implement this method to return the height of the
516 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
517 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
520 // this method may be used to draw separators between the lines; note that
521 // the rectangle may be modified, typically to deflate it a bit before
522 // passing to OnDrawItem()
524 // the base class version doesn't do anything
525 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
526 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
529 // this method is used to draw the items background and, maybe, a border
532 // the base class version implements a reasonable default behaviour which
533 // consists in drawing the selected item with the standard background
534 // colour and drawing a border around the item if it is either selected or
536 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
537 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
543 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
545 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
546 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
547 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
548 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
552 #include <wx/htmllbox.h>
555 class wxPyHtmlListBox
: public wxHtmlListBox
557 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
559 wxPyHtmlListBox() : wxHtmlListBox() {}
561 wxPyHtmlListBox(wxWindow
*parent
,
562 wxWindowID id
= wxID_ANY
,
563 const wxPoint
& pos
= wxDefaultPosition
,
564 const wxSize
& size
= wxDefaultSize
,
566 const wxString
& name
= wxPyVListBoxNameStr
)
567 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
570 // Overridable virtuals
572 // this method must be implemented in the derived class and should return
573 // the body (i.e. without <html>) of the HTML for the given item
574 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
576 // this function may be overridden to decorate HTML returned by OnGetItem()
577 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
580 // // this method allows to customize the selection appearance: it may be used
581 // // to specify the colour of the text which normally has the given colour
582 // // colFg when it is inside the selection
584 // // by default, the original colour is not used at all and all text has the
585 // // same (default for this system) colour inside selection
586 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
588 // // this is the same as GetSelectedTextColour() but allows to customize the
589 // // background colour -- this is even more rarely used as you can change it
590 // // globally using SetSelectionBackground()
591 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
598 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
600 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
601 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
608 // implement dummy classes and such for wxMac
610 class wxTaskBarIcon
: public wxEvtHandler
613 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError
); }
617 class wxTaskBarIconEvent
: public wxEvent
620 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
621 { PyErr_SetNone(PyExc_NotImplementedError
); }
622 virtual wxEvent
* Clone() const { return NULL
; }
626 wxEVT_TASKBAR_MOVE
= 0,
627 wxEVT_TASKBAR_LEFT_DOWN
= 0,
628 wxEVT_TASKBAR_LEFT_UP
= 0,
629 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
630 wxEVT_TASKBAR_RIGHT_UP
= 0,
631 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
632 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
638 DECLARE_DEF_STRING(FileSelectorPromptStr
);
639 DECLARE_DEF_STRING(DirSelectorPromptStr
);
640 DECLARE_DEF_STRING(DirDialogNameStr
);
641 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
642 DECLARE_DEF_STRING(GetTextFromUserPromptStr
);
643 DECLARE_DEF_STRING(MessageBoxCaptionStr
);
646 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
648 self
->GetFilenames(arr
);
649 return wxArrayString2PyList_helper(arr
);
651 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
654 return wxArrayString2PyList_helper(arr
);
656 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
657 return wxArrayInt2PyList_helper(self
->GetSelections());
659 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
660 return new wxSingleChoiceDialog(parent
, message
, caption
,
661 choices
, choices_array
, NULL
, style
, pos
);
666 // C++ version of Python aware wxWindow
667 class wxPyWindow
: public wxWindow
669 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
671 wxPyWindow() : wxWindow() {}
672 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
673 const wxPoint
& pos
= wxDefaultPosition
,
674 const wxSize
& size
= wxDefaultSize
,
676 const wxString
& name
= wxPyPanelNameStr
)
677 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
680 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
681 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
682 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
683 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
685 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
686 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
687 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
689 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
690 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
692 DEC_PYCALLBACK__(InitDialog
);
693 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
694 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
695 DEC_PYCALLBACK_BOOL_(Validate
);
697 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
698 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
699 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
701 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
702 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
707 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
709 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
710 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
711 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
712 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
714 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
715 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
716 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
718 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
719 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
721 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
722 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
723 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
724 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
726 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
727 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
728 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
730 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
731 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
734 // C++ version of Python aware wxPanel
735 class wxPyPanel
: public wxPanel
737 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
739 wxPyPanel() : wxPanel() {}
740 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
741 const wxPoint
& pos
= wxDefaultPosition
,
742 const wxSize
& size
= wxDefaultSize
,
744 const wxString
& name
= wxPyPanelNameStr
)
745 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
748 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
749 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
750 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
751 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
753 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
754 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
755 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
757 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
758 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
760 DEC_PYCALLBACK__(InitDialog
);
761 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
762 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
763 DEC_PYCALLBACK_BOOL_(Validate
);
765 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
766 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
767 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
769 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
770 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
775 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
777 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
778 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
779 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
780 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
782 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
783 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
784 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
786 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
787 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
789 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
790 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
791 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
792 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
794 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
795 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
796 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
798 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
799 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
803 #include "wx/wxPython/printfw.h"
805 static const wxChar
* wxPrintoutTitleStr
= wxT("Printout");
806 DECLARE_DEF_STRING(PrintoutTitleStr
);
807 static const wxChar
* wxPreviewCanvasNameStr
= wxT("previewcanvas");
808 DECLARE_DEF_STRING(PreviewCanvasNameStr
);
814 // Since this one would be tough and ugly to do with the Macros...
815 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
819 wxPyBeginBlockThreads();
820 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
821 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
822 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
825 val
= PyTuple_GetItem(result
, 0);
826 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
829 val
= PyTuple_GetItem(result
, 1);
830 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
833 val
= PyTuple_GetItem(result
, 2);
834 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
837 val
= PyTuple_GetItem(result
, 3);
838 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
845 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
850 wxPyEndBlockThreads();
852 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
855 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
856 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
860 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
861 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
862 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
863 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
864 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
865 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
866 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
872 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
873 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
874 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
877 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
878 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
881 wxPyBeginBlockThreads(); \
882 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
883 PyObject* win = wxPyMake_wxObject(a); \
884 PyObject* dc = wxPyMake_wxObject(&b); \
885 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
889 wxPyEndBlockThreads(); \
891 rval = PCLASS::CBNAME(a, b); \
894 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
895 return PCLASS::CBNAME(a, b); \
901 class wxPyPrintPreview
: public wxPrintPreview
903 DECLARE_CLASS(wxPyPrintPreview
)
905 wxPyPrintPreview(wxPyPrintout
* printout
,
906 wxPyPrintout
* printoutForPrinting
,
907 wxPrintData
* data
=NULL
)
908 : wxPrintPreview(printout
, printoutForPrinting
, data
)
911 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
912 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
913 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
914 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
915 DEC_PYCALLBACK_VOID_INT(SetZoom
);
916 DEC_PYCALLBACK_BOOL_BOOL(Print
);
917 DEC_PYCALLBACK_VOID_(DetermineScaling
);
922 // Stupid renamed classes... Fix this in 2.5...
923 #if defined(__WXMSW__)
924 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
925 #elif defined(__WXMAC__)
926 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
928 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
931 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
932 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
933 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
934 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
935 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
936 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
937 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
940 class wxPyPreviewFrame
: public wxPreviewFrame
942 DECLARE_CLASS(wxPyPreviewFrame
);
944 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
945 const wxString
& title
,
946 const wxPoint
& pos
= wxDefaultPosition
,
947 const wxSize
& size
= wxDefaultSize
,
948 long style
= wxDEFAULT_FRAME_STYLE
,
949 const wxString
& name
= wxPyFrameNameStr
)
950 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
953 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
954 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
956 DEC_PYCALLBACK_VOID_(Initialize
);
957 DEC_PYCALLBACK_VOID_(CreateCanvas
);
958 DEC_PYCALLBACK_VOID_(CreateControlBar
);
963 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
965 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
966 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
967 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
970 class wxPyPreviewControlBar
: public wxPreviewControlBar
972 DECLARE_CLASS(wxPyPreviewControlBar
);
974 wxPyPreviewControlBar(wxPrintPreview
*preview
,
977 const wxPoint
& pos
= wxDefaultPosition
,
978 const wxSize
& size
= wxDefaultSize
,
980 const wxString
& name
= wxPyPanelNameStr
)
981 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
984 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
986 DEC_PYCALLBACK_VOID_(CreateButtons
);
987 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
992 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
993 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
994 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
999 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1000 PyObject
*resultobj
;
1001 wxWindow
*arg1
= (wxWindow
*) 0 ;
1002 int arg2
= (int) (int)-1 ;
1003 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1004 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1005 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1006 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1007 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1008 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1009 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1013 bool temp6
= False
;
1014 PyObject
* obj0
= 0 ;
1015 PyObject
* obj2
= 0 ;
1016 PyObject
* obj3
= 0 ;
1017 PyObject
* obj5
= 0 ;
1019 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_Panel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
1023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1027 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1033 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1038 arg6
= wxString_in_helper(obj5
);
1039 if (arg6
== NULL
) SWIG_fail
;
1044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1045 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1047 wxPyEndAllowThreads(__tstate
);
1048 if (PyErr_Occurred()) SWIG_fail
;
1050 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1065 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1066 PyObject
*resultobj
;
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1075 result
= (wxPanel
*)new wxPanel();
1077 wxPyEndAllowThreads(__tstate
);
1078 if (PyErr_Occurred()) SWIG_fail
;
1080 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1087 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1088 PyObject
*resultobj
;
1089 wxPanel
*arg1
= (wxPanel
*) 0 ;
1090 wxWindow
*arg2
= (wxWindow
*) 0 ;
1092 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1093 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1094 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1095 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1096 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1097 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1098 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1102 bool temp7
= False
;
1103 PyObject
* obj0
= 0 ;
1104 PyObject
* obj1
= 0 ;
1105 PyObject
* obj3
= 0 ;
1106 PyObject
* obj4
= 0 ;
1107 PyObject
* obj6
= 0 ;
1109 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Panel_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1114 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1129 arg7
= wxString_in_helper(obj6
);
1130 if (arg7
== NULL
) SWIG_fail
;
1135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1136 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1138 wxPyEndAllowThreads(__tstate
);
1139 if (PyErr_Occurred()) SWIG_fail
;
1141 resultobj
= PyInt_FromLong((long)result
);
1156 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
*resultobj
;
1158 wxPanel
*arg1
= (wxPanel
*) 0 ;
1159 PyObject
* obj0
= 0 ;
1161 (char *) "self", NULL
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1168 (arg1
)->InitDialog();
1170 wxPyEndAllowThreads(__tstate
);
1171 if (PyErr_Occurred()) SWIG_fail
;
1173 Py_INCREF(Py_None
); resultobj
= Py_None
;
1180 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1183 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1185 return Py_BuildValue((char *)"");
1187 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1188 PyObject
*resultobj
;
1189 wxWindow
*arg1
= (wxWindow
*) 0 ;
1190 int arg2
= (int) (int)-1 ;
1191 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1192 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1193 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1194 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1195 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1196 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1197 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1198 wxScrolledWindow
*result
;
1201 bool temp6
= False
;
1202 PyObject
* obj0
= 0 ;
1203 PyObject
* obj2
= 0 ;
1204 PyObject
* obj3
= 0 ;
1205 PyObject
* obj5
= 0 ;
1207 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_ScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
1211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1215 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1221 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1226 arg6
= wxString_in_helper(obj5
);
1227 if (arg6
== NULL
) SWIG_fail
;
1232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1233 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1235 wxPyEndAllowThreads(__tstate
);
1236 if (PyErr_Occurred()) SWIG_fail
;
1238 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1253 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1254 PyObject
*resultobj
;
1255 wxScrolledWindow
*result
;
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1263 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1265 wxPyEndAllowThreads(__tstate
);
1266 if (PyErr_Occurred()) SWIG_fail
;
1268 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1275 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
*resultobj
;
1277 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1278 wxWindow
*arg2
= (wxWindow
*) 0 ;
1279 int arg3
= (int) (int)-1 ;
1280 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1281 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1282 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1283 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1284 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1285 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1286 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1290 bool temp7
= False
;
1291 PyObject
* obj0
= 0 ;
1292 PyObject
* obj1
= 0 ;
1293 PyObject
* obj3
= 0 ;
1294 PyObject
* obj4
= 0 ;
1295 PyObject
* obj6
= 0 ;
1297 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1302 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1306 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1312 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1317 arg7
= wxString_in_helper(obj6
);
1318 if (arg7
== NULL
) SWIG_fail
;
1323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1324 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) SWIG_fail
;
1329 resultobj
= PyInt_FromLong((long)result
);
1344 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
*resultobj
;
1346 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1351 int arg6
= (int) 0 ;
1352 int arg7
= (int) 0 ;
1353 bool arg8
= (bool) False
;
1354 PyObject
* obj0
= 0 ;
1355 PyObject
* obj7
= 0 ;
1357 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
,&obj7
)) goto fail
;
1361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1363 arg8
= PyInt_AsLong(obj7
) ? true : false;
1364 if (PyErr_Occurred()) SWIG_fail
;
1367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1368 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1370 wxPyEndAllowThreads(__tstate
);
1371 if (PyErr_Occurred()) SWIG_fail
;
1373 Py_INCREF(Py_None
); resultobj
= Py_None
;
1380 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1381 PyObject
*resultobj
;
1382 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1385 PyObject
* obj0
= 0 ;
1387 (char *) "self",(char *) "x",(char *) "y", NULL
1390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_Scroll",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1394 (arg1
)->Scroll(arg2
,arg3
);
1396 wxPyEndAllowThreads(__tstate
);
1397 if (PyErr_Occurred()) SWIG_fail
;
1399 Py_INCREF(Py_None
); resultobj
= Py_None
;
1406 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
*resultobj
;
1408 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1411 PyObject
* obj0
= 0 ;
1413 (char *) "self",(char *) "orient", NULL
1416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
1417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1420 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1422 wxPyEndAllowThreads(__tstate
);
1423 if (PyErr_Occurred()) SWIG_fail
;
1425 resultobj
= PyInt_FromLong((long)result
);
1432 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
*resultobj
;
1434 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1437 PyObject
* obj0
= 0 ;
1439 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1446 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1448 wxPyEndAllowThreads(__tstate
);
1449 if (PyErr_Occurred()) SWIG_fail
;
1451 Py_INCREF(Py_None
); resultobj
= Py_None
;
1458 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1459 PyObject
*resultobj
;
1460 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1463 PyObject
* obj0
= 0 ;
1465 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1472 (arg1
)->SetScrollRate(arg2
,arg3
);
1474 wxPyEndAllowThreads(__tstate
);
1475 if (PyErr_Occurred()) SWIG_fail
;
1477 Py_INCREF(Py_None
); resultobj
= Py_None
;
1484 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
*resultobj
;
1486 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1487 int *arg2
= (int *) 0 ;
1488 int *arg3
= (int *) 0 ;
1491 PyObject
* obj0
= 0 ;
1493 (char *) "self", NULL
1498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1502 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1504 wxPyEndAllowThreads(__tstate
);
1505 if (PyErr_Occurred()) SWIG_fail
;
1507 Py_INCREF(Py_None
); resultobj
= Py_None
;
1509 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1510 resultobj
= t_output_helper(resultobj
,o
);
1513 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1514 resultobj
= t_output_helper(resultobj
,o
);
1522 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
*resultobj
;
1524 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1527 PyObject
* obj0
= 0 ;
1528 PyObject
* obj1
= 0 ;
1529 PyObject
* obj2
= 0 ;
1531 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1536 arg2
= PyInt_AsLong(obj1
) ? true : false;
1537 if (PyErr_Occurred()) SWIG_fail
;
1538 arg3
= PyInt_AsLong(obj2
) ? true : false;
1539 if (PyErr_Occurred()) SWIG_fail
;
1541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1542 (arg1
)->EnableScrolling(arg2
,arg3
);
1544 wxPyEndAllowThreads(__tstate
);
1545 if (PyErr_Occurred()) SWIG_fail
;
1547 Py_INCREF(Py_None
); resultobj
= Py_None
;
1554 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
*resultobj
;
1556 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1557 int *arg2
= (int *) 0 ;
1558 int *arg3
= (int *) 0 ;
1561 PyObject
* obj0
= 0 ;
1563 (char *) "self", NULL
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1572 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1574 wxPyEndAllowThreads(__tstate
);
1575 if (PyErr_Occurred()) SWIG_fail
;
1577 Py_INCREF(Py_None
); resultobj
= Py_None
;
1579 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1580 resultobj
= t_output_helper(resultobj
,o
);
1583 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1584 resultobj
= t_output_helper(resultobj
,o
);
1592 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
*resultobj
;
1594 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1597 PyObject
* obj0
= 0 ;
1599 (char *) "self",(char *) "xs",(char *) "ys", NULL
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ScrolledWindow_SetScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1606 (arg1
)->SetScale(arg2
,arg3
);
1608 wxPyEndAllowThreads(__tstate
);
1609 if (PyErr_Occurred()) SWIG_fail
;
1611 Py_INCREF(Py_None
); resultobj
= Py_None
;
1618 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1619 PyObject
*resultobj
;
1620 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1622 PyObject
* obj0
= 0 ;
1624 (char *) "self", NULL
1627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1636 resultobj
= PyFloat_FromDouble(result
);
1643 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1644 PyObject
*resultobj
;
1645 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1647 PyObject
* obj0
= 0 ;
1649 (char *) "self", NULL
1652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1656 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1658 wxPyEndAllowThreads(__tstate
);
1659 if (PyErr_Occurred()) SWIG_fail
;
1661 resultobj
= PyFloat_FromDouble(result
);
1668 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1669 PyObject
*resultobj
;
1670 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1673 int *arg4
= (int *) 0 ;
1674 int *arg5
= (int *) 0 ;
1677 PyObject
* obj0
= 0 ;
1681 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
1682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1685 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
1687 wxPyEndAllowThreads(__tstate
);
1688 if (PyErr_Occurred()) SWIG_fail
;
1690 Py_INCREF(Py_None
); resultobj
= Py_None
;
1692 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1693 resultobj
= t_output_helper(resultobj
,o
);
1696 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1697 resultobj
= t_output_helper(resultobj
,o
);
1705 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1706 PyObject
*resultobj
;
1707 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1711 PyObject
* obj0
= 0 ;
1712 PyObject
* obj1
= 0 ;
1714 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1718 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1722 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1724 wxPyEndAllowThreads(__tstate
);
1725 if (PyErr_Occurred()) SWIG_fail
;
1728 wxPoint
* resultptr
;
1729 resultptr
= new wxPoint((wxPoint
&) result
);
1730 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1738 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
1743 argc
= PyObject_Length(args
);
1744 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1745 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1751 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1760 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1763 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
1771 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1780 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1784 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1787 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
1793 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1798 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1799 PyObject
*resultobj
;
1800 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1803 int *arg4
= (int *) 0 ;
1804 int *arg5
= (int *) 0 ;
1807 PyObject
* obj0
= 0 ;
1811 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
1812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1815 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
1817 wxPyEndAllowThreads(__tstate
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1820 Py_INCREF(Py_None
); resultobj
= Py_None
;
1822 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1823 resultobj
= t_output_helper(resultobj
,o
);
1826 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1827 resultobj
= t_output_helper(resultobj
,o
);
1835 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1836 PyObject
*resultobj
;
1837 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1841 PyObject
* obj0
= 0 ;
1842 PyObject
* obj1
= 0 ;
1844 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
1845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1848 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1852 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
1854 wxPyEndAllowThreads(__tstate
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1858 wxPoint
* resultptr
;
1859 resultptr
= new wxPoint((wxPoint
&) result
);
1860 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1868 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
1873 argc
= PyObject_Length(args
);
1874 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1875 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1881 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1890 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1893 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
1901 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1910 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1914 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1917 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
1923 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1928 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
*resultobj
;
1930 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1931 PyObject
* obj0
= 0 ;
1933 (char *) "self", NULL
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
1937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1940 (arg1
)->AdjustScrollbars();
1942 wxPyEndAllowThreads(__tstate
);
1943 if (PyErr_Occurred()) SWIG_fail
;
1945 Py_INCREF(Py_None
); resultobj
= Py_None
;
1952 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1953 PyObject
*resultobj
;
1954 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1955 wxScrollWinEvent
*arg2
= 0 ;
1957 PyObject
* obj0
= 0 ;
1958 PyObject
* obj1
= 0 ;
1960 (char *) "self",(char *) "event", NULL
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
1964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1965 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1967 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1971 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
1973 wxPyEndAllowThreads(__tstate
);
1974 if (PyErr_Occurred()) SWIG_fail
;
1976 resultobj
= PyInt_FromLong((long)result
);
1983 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1984 PyObject
*resultobj
;
1985 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1986 wxWindow
*arg2
= (wxWindow
*) 0 ;
1987 PyObject
* obj0
= 0 ;
1988 PyObject
* obj1
= 0 ;
1990 (char *) "self",(char *) "target", NULL
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
1994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1995 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1998 (arg1
)->SetTargetWindow(arg2
);
2000 wxPyEndAllowThreads(__tstate
);
2001 if (PyErr_Occurred()) SWIG_fail
;
2003 Py_INCREF(Py_None
); resultobj
= Py_None
;
2010 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
*resultobj
;
2012 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2014 PyObject
* obj0
= 0 ;
2016 (char *) "self", NULL
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2029 resultobj
= wxPyMake_wxObject(result
);
2037 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2038 PyObject
*resultobj
;
2039 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2042 PyObject
* obj0
= 0 ;
2043 PyObject
* obj1
= 0 ;
2045 (char *) "self",(char *) "rect", NULL
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2052 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2056 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2058 wxPyEndAllowThreads(__tstate
);
2059 if (PyErr_Occurred()) SWIG_fail
;
2061 Py_INCREF(Py_None
); resultobj
= Py_None
;
2068 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
*resultobj
;
2070 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2072 PyObject
* obj0
= 0 ;
2074 (char *) "self", NULL
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2081 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2083 wxPyEndAllowThreads(__tstate
);
2084 if (PyErr_Occurred()) SWIG_fail
;
2088 resultptr
= new wxRect((wxRect
&) result
);
2089 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
2097 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2100 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2102 return Py_BuildValue((char *)"");
2104 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
*resultobj
;
2106 int arg1
= (int) 0 ;
2107 int arg2
= (int) 0 ;
2108 int arg3
= (int) 0 ;
2109 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
2110 wxAcceleratorEntry
*result
;
2111 PyObject
* obj3
= 0 ;
2113 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiiO:new_AcceleratorEntry",kwnames
,&arg1
,&arg2
,&arg3
,&obj3
)) goto fail
;
2118 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
2124 wxPyEndAllowThreads(__tstate
);
2125 if (PyErr_Occurred()) SWIG_fail
;
2127 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 1);
2134 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
*resultobj
;
2136 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2137 PyObject
* obj0
= 0 ;
2139 (char *) "self", NULL
2142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
2143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2148 wxPyEndAllowThreads(__tstate
);
2149 if (PyErr_Occurred()) SWIG_fail
;
2151 Py_INCREF(Py_None
); resultobj
= Py_None
;
2158 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
*resultobj
;
2160 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2164 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
2165 PyObject
* obj0
= 0 ;
2166 PyObject
* obj4
= 0 ;
2168 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
2172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2174 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2183 Py_INCREF(Py_None
); resultobj
= Py_None
;
2190 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2192 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2193 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
2194 PyObject
* obj0
= 0 ;
2195 PyObject
* obj1
= 0 ;
2197 (char *) "self",(char *) "item", NULL
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
2201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2202 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2205 (arg1
)->SetMenuItem(arg2
);
2207 wxPyEndAllowThreads(__tstate
);
2208 if (PyErr_Occurred()) SWIG_fail
;
2210 Py_INCREF(Py_None
); resultobj
= Py_None
;
2217 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
*resultobj
;
2219 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2221 PyObject
* obj0
= 0 ;
2223 (char *) "self", NULL
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
2227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2230 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) SWIG_fail
;
2236 resultobj
= wxPyMake_wxObject(result
);
2244 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
*resultobj
;
2246 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2248 PyObject
* obj0
= 0 ;
2250 (char *) "self", NULL
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
2254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2257 result
= (int)(arg1
)->GetFlags();
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) SWIG_fail
;
2262 resultobj
= PyInt_FromLong((long)result
);
2269 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
*resultobj
;
2271 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2273 PyObject
* obj0
= 0 ;
2275 (char *) "self", NULL
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
2279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2282 result
= (int)(arg1
)->GetKeyCode();
2284 wxPyEndAllowThreads(__tstate
);
2285 if (PyErr_Occurred()) SWIG_fail
;
2287 resultobj
= PyInt_FromLong((long)result
);
2294 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
*resultobj
;
2296 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2298 PyObject
* obj0
= 0 ;
2300 (char *) "self", NULL
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
2304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2307 result
= (int)(arg1
)->GetCommand();
2309 wxPyEndAllowThreads(__tstate
);
2310 if (PyErr_Occurred()) SWIG_fail
;
2312 resultobj
= PyInt_FromLong((long)result
);
2319 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
2321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2322 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
2324 return Py_BuildValue((char *)"");
2326 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
*resultobj
;
2329 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
2330 wxAcceleratorTable
*result
;
2331 PyObject
* obj0
= 0 ;
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
2338 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
2339 if (arg2
) arg1
= PyList_Size(obj0
);
2343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2344 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
2346 wxPyEndAllowThreads(__tstate
);
2347 if (PyErr_Occurred()) SWIG_fail
;
2349 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 1);
2362 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
*resultobj
;
2364 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
2365 PyObject
* obj0
= 0 ;
2367 (char *) "self", NULL
2370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
2371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2376 wxPyEndAllowThreads(__tstate
);
2377 if (PyErr_Occurred()) SWIG_fail
;
2379 Py_INCREF(Py_None
); resultobj
= Py_None
;
2386 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2387 PyObject
*resultobj
;
2388 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
2390 PyObject
* obj0
= 0 ;
2392 (char *) "self", NULL
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
2396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2399 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
2401 wxPyEndAllowThreads(__tstate
);
2402 if (PyErr_Occurred()) SWIG_fail
;
2404 resultobj
= PyInt_FromLong((long)result
);
2411 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
2413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2414 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
2416 return Py_BuildValue((char *)"");
2418 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
2419 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
2424 static PyObject
*_wrap_NullAcceleratorTable_get() {
2427 pyobj
= SWIG_NewPointerObj((void *) &wxNullAcceleratorTable
, SWIGTYPE_p_wxAcceleratorTable
, 0);
2432 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
*resultobj
;
2434 wxString
*arg1
= 0 ;
2435 wxAcceleratorEntry
*result
;
2436 bool temp1
= False
;
2437 PyObject
* obj0
= 0 ;
2439 (char *) "label", NULL
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
2444 arg1
= wxString_in_helper(obj0
);
2445 if (arg1
== NULL
) SWIG_fail
;
2449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2450 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
2452 wxPyEndAllowThreads(__tstate
);
2453 if (PyErr_Occurred()) SWIG_fail
;
2455 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
2470 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2471 PyObject
*resultobj
;
2472 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2473 bool arg2
= (bool) True
;
2474 PyObject
* obj0
= 0 ;
2475 PyObject
* obj1
= 0 ;
2477 (char *) "self",(char *) "maximize", NULL
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2483 arg2
= PyInt_AsLong(obj1
) ? true : false;
2484 if (PyErr_Occurred()) SWIG_fail
;
2487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2488 (arg1
)->Maximize(arg2
);
2490 wxPyEndAllowThreads(__tstate
);
2491 if (PyErr_Occurred()) SWIG_fail
;
2493 Py_INCREF(Py_None
); resultobj
= Py_None
;
2500 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
*resultobj
;
2502 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2503 PyObject
* obj0
= 0 ;
2505 (char *) "self", NULL
2508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2517 Py_INCREF(Py_None
); resultobj
= Py_None
;
2524 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
*resultobj
;
2526 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2527 bool arg2
= (bool) True
;
2528 PyObject
* obj0
= 0 ;
2529 PyObject
* obj1
= 0 ;
2531 (char *) "self",(char *) "iconize", NULL
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2537 arg2
= PyInt_AsLong(obj1
) ? true : false;
2538 if (PyErr_Occurred()) SWIG_fail
;
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2542 (arg1
)->Iconize(arg2
);
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2547 Py_INCREF(Py_None
); resultobj
= Py_None
;
2554 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2556 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2558 PyObject
* obj0
= 0 ;
2560 (char *) "self", NULL
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2567 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2569 wxPyEndAllowThreads(__tstate
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2572 resultobj
= PyInt_FromLong((long)result
);
2579 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
*resultobj
;
2581 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2583 PyObject
* obj0
= 0 ;
2585 (char *) "self", NULL
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2597 resultobj
= PyInt_FromLong((long)result
);
2604 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
*resultobj
;
2606 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2608 PyObject
* obj0
= 0 ;
2610 (char *) "self", NULL
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) SWIG_fail
;
2624 resultptr
= new wxIcon((wxIcon
&) result
);
2625 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
2633 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
*resultobj
;
2635 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2637 PyObject
* obj0
= 0 ;
2638 PyObject
* obj1
= 0 ;
2640 (char *) "self",(char *) "icon", NULL
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2647 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2651 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2653 wxPyEndAllowThreads(__tstate
);
2654 if (PyErr_Occurred()) SWIG_fail
;
2656 Py_INCREF(Py_None
); resultobj
= Py_None
;
2663 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2664 PyObject
*resultobj
;
2665 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2666 wxIconBundle
*arg2
= 0 ;
2667 PyObject
* obj0
= 0 ;
2668 PyObject
* obj1
= 0 ;
2670 (char *) "self",(char *) "icons", NULL
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2675 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2677 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2681 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2686 Py_INCREF(Py_None
); resultobj
= Py_None
;
2693 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2694 PyObject
*resultobj
;
2695 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2697 long arg3
= (long) wxFULLSCREEN_ALL
;
2699 PyObject
* obj0
= 0 ;
2700 PyObject
* obj1
= 0 ;
2702 (char *) "self",(char *) "show",(char *) "style", NULL
2705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2707 arg2
= PyInt_AsLong(obj1
) ? true : false;
2708 if (PyErr_Occurred()) SWIG_fail
;
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2716 resultobj
= PyInt_FromLong((long)result
);
2723 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
*resultobj
;
2725 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2727 PyObject
* obj0
= 0 ;
2729 (char *) "self", NULL
2732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) SWIG_fail
;
2741 resultobj
= PyInt_FromLong((long)result
);
2748 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
*resultobj
;
2750 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2751 wxString
*arg2
= 0 ;
2752 bool temp2
= False
;
2753 PyObject
* obj0
= 0 ;
2754 PyObject
* obj1
= 0 ;
2756 (char *) "self",(char *) "title", NULL
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2762 arg2
= wxString_in_helper(obj1
);
2763 if (arg2
== NULL
) SWIG_fail
;
2767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2768 (arg1
)->SetTitle((wxString
const &)*arg2
);
2770 wxPyEndAllowThreads(__tstate
);
2771 if (PyErr_Occurred()) SWIG_fail
;
2773 Py_INCREF(Py_None
); resultobj
= Py_None
;
2788 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
*resultobj
;
2790 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2792 PyObject
* obj0
= 0 ;
2794 (char *) "self", NULL
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2801 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2803 wxPyEndAllowThreads(__tstate
);
2804 if (PyErr_Occurred()) SWIG_fail
;
2808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2819 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
*resultobj
;
2821 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2822 wxRegion
*arg2
= 0 ;
2824 PyObject
* obj0
= 0 ;
2825 PyObject
* obj1
= 0 ;
2827 (char *) "self",(char *) "region", NULL
2830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2832 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2834 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2838 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2840 wxPyEndAllowThreads(__tstate
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2843 resultobj
= PyInt_FromLong((long)result
);
2850 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2853 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2855 return Py_BuildValue((char *)"");
2857 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2858 PyObject
*resultobj
;
2859 wxWindow
*arg1
= (wxWindow
*) 0 ;
2861 wxString
*arg3
= 0 ;
2862 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2863 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2864 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2865 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2866 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2867 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2868 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2870 bool temp3
= False
;
2873 bool temp7
= False
;
2874 PyObject
* obj0
= 0 ;
2875 PyObject
* obj2
= 0 ;
2876 PyObject
* obj3
= 0 ;
2877 PyObject
* obj4
= 0 ;
2878 PyObject
* obj6
= 0 ;
2880 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Frame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
2884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2886 arg3
= wxString_in_helper(obj2
);
2887 if (arg3
== NULL
) SWIG_fail
;
2893 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2899 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2904 arg7
= wxString_in_helper(obj6
);
2905 if (arg7
== NULL
) SWIG_fail
;
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2917 resultobj
= wxPyMake_wxObject(result
);
2941 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
;
2948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2951 result
= (wxFrame
*)new wxFrame();
2953 wxPyEndAllowThreads(__tstate
);
2954 if (PyErr_Occurred()) SWIG_fail
;
2957 resultobj
= wxPyMake_wxObject(result
);
2965 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2966 PyObject
*resultobj
;
2967 wxFrame
*arg1
= (wxFrame
*) 0 ;
2968 wxWindow
*arg2
= (wxWindow
*) 0 ;
2970 wxString
*arg4
= 0 ;
2971 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2972 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2973 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2974 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2975 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2976 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2977 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2979 bool temp4
= False
;
2982 bool temp8
= False
;
2983 PyObject
* obj0
= 0 ;
2984 PyObject
* obj1
= 0 ;
2985 PyObject
* obj3
= 0 ;
2986 PyObject
* obj4
= 0 ;
2987 PyObject
* obj5
= 0 ;
2988 PyObject
* obj7
= 0 ;
2990 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Frame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
2994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2995 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2997 arg4
= wxString_in_helper(obj3
);
2998 if (arg4
== NULL
) SWIG_fail
;
3004 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3010 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3015 arg8
= wxString_in_helper(obj7
);
3016 if (arg8
== NULL
) SWIG_fail
;
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) SWIG_fail
;
3027 resultobj
= PyInt_FromLong((long)result
);
3050 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
*resultobj
;
3052 wxFrame
*arg1
= (wxFrame
*) 0 ;
3054 PyObject
* obj0
= 0 ;
3056 (char *) "self", NULL
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3063 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3065 wxPyEndAllowThreads(__tstate
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3069 wxPoint
* resultptr
;
3070 resultptr
= new wxPoint((wxPoint
&) result
);
3071 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3079 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
*resultobj
;
3081 wxFrame
*arg1
= (wxFrame
*) 0 ;
3082 PyObject
* obj0
= 0 ;
3084 (char *) "self", NULL
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3091 (arg1
)->SendSizeEvent();
3093 wxPyEndAllowThreads(__tstate
);
3094 if (PyErr_Occurred()) SWIG_fail
;
3096 Py_INCREF(Py_None
); resultobj
= Py_None
;
3103 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
*resultobj
;
3105 wxFrame
*arg1
= (wxFrame
*) 0 ;
3106 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3107 PyObject
* obj0
= 0 ;
3108 PyObject
* obj1
= 0 ;
3110 (char *) "self",(char *) "menubar", NULL
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3115 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 (arg1
)->SetMenuBar(arg2
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3123 Py_INCREF(Py_None
); resultobj
= Py_None
;
3130 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
*resultobj
;
3132 wxFrame
*arg1
= (wxFrame
*) 0 ;
3134 PyObject
* obj0
= 0 ;
3136 (char *) "self", NULL
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3143 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3145 wxPyEndAllowThreads(__tstate
);
3146 if (PyErr_Occurred()) SWIG_fail
;
3149 resultobj
= wxPyMake_wxObject(result
);
3157 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
*resultobj
;
3159 wxFrame
*arg1
= (wxFrame
*) 0 ;
3162 PyObject
* obj0
= 0 ;
3164 (char *) "self",(char *) "winid", NULL
3167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_ProcessCommand",kwnames
,&obj0
,&arg2
)) goto fail
;
3168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3171 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3173 wxPyEndAllowThreads(__tstate
);
3174 if (PyErr_Occurred()) SWIG_fail
;
3176 resultobj
= PyInt_FromLong((long)result
);
3183 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
*resultobj
;
3185 wxFrame
*arg1
= (wxFrame
*) 0 ;
3186 int arg2
= (int) 1 ;
3187 long arg3
= (long) wxST_SIZEGRIP
;
3188 int arg4
= (int) 0 ;
3189 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3190 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3191 wxStatusBar
*result
;
3192 bool temp5
= False
;
3193 PyObject
* obj0
= 0 ;
3194 PyObject
* obj4
= 0 ;
3196 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iliO:Frame_CreateStatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
3200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3203 arg5
= wxString_in_helper(obj4
);
3204 if (arg5
== NULL
) SWIG_fail
;
3209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3210 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3212 wxPyEndAllowThreads(__tstate
);
3213 if (PyErr_Occurred()) SWIG_fail
;
3216 resultobj
= wxPyMake_wxObject(result
);
3232 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
*resultobj
;
3234 wxFrame
*arg1
= (wxFrame
*) 0 ;
3235 wxStatusBar
*result
;
3236 PyObject
* obj0
= 0 ;
3238 (char *) "self", NULL
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3245 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3251 resultobj
= wxPyMake_wxObject(result
);
3259 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
;
3261 wxFrame
*arg1
= (wxFrame
*) 0 ;
3262 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3263 PyObject
* obj0
= 0 ;
3264 PyObject
* obj1
= 0 ;
3266 (char *) "self",(char *) "statBar", NULL
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3271 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 (arg1
)->SetStatusBar(arg2
);
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 Py_INCREF(Py_None
); resultobj
= Py_None
;
3286 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3288 wxFrame
*arg1
= (wxFrame
*) 0 ;
3289 wxString
*arg2
= 0 ;
3290 int arg3
= (int) 0 ;
3291 bool temp2
= False
;
3292 PyObject
* obj0
= 0 ;
3293 PyObject
* obj1
= 0 ;
3295 (char *) "self",(char *) "text",(char *) "number", NULL
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3301 arg2
= wxString_in_helper(obj1
);
3302 if (arg2
== NULL
) SWIG_fail
;
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3312 Py_INCREF(Py_None
); resultobj
= Py_None
;
3327 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
*resultobj
;
3329 wxFrame
*arg1
= (wxFrame
*) 0 ;
3331 int *arg3
= (int *) 0 ;
3332 PyObject
* obj0
= 0 ;
3333 PyObject
* obj1
= 0 ;
3335 (char *) "self",(char *) "widths", NULL
3338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3341 arg2
= PyList_Size(obj1
);
3342 arg3
= int_LIST_helper(obj1
);
3343 if (arg3
== NULL
) SWIG_fail
;
3346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3347 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3349 wxPyEndAllowThreads(__tstate
);
3350 if (PyErr_Occurred()) SWIG_fail
;
3352 Py_INCREF(Py_None
); resultobj
= Py_None
;
3354 if (arg3
) delete [] arg3
;
3359 if (arg3
) delete [] arg3
;
3365 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
*resultobj
;
3367 wxFrame
*arg1
= (wxFrame
*) 0 ;
3368 wxString
*arg2
= 0 ;
3369 int arg3
= (int) 0 ;
3370 bool temp2
= False
;
3371 PyObject
* obj0
= 0 ;
3372 PyObject
* obj1
= 0 ;
3374 (char *) "self",(char *) "text",(char *) "number", NULL
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3380 arg2
= wxString_in_helper(obj1
);
3381 if (arg2
== NULL
) SWIG_fail
;
3385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) SWIG_fail
;
3391 Py_INCREF(Py_None
); resultobj
= Py_None
;
3406 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
*resultobj
;
3408 wxFrame
*arg1
= (wxFrame
*) 0 ;
3409 int arg2
= (int) 0 ;
3410 PyObject
* obj0
= 0 ;
3412 (char *) "self",(char *) "number", NULL
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Frame_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
3416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 (arg1
)->PopStatusText(arg2
);
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3424 Py_INCREF(Py_None
); resultobj
= Py_None
;
3431 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
*resultobj
;
3433 wxFrame
*arg1
= (wxFrame
*) 0 ;
3435 PyObject
* obj0
= 0 ;
3437 (char *) "self",(char *) "n", NULL
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_SetStatusBarPane",kwnames
,&obj0
,&arg2
)) goto fail
;
3441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3444 (arg1
)->SetStatusBarPane(arg2
);
3446 wxPyEndAllowThreads(__tstate
);
3447 if (PyErr_Occurred()) SWIG_fail
;
3449 Py_INCREF(Py_None
); resultobj
= Py_None
;
3456 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
*resultobj
;
3458 wxFrame
*arg1
= (wxFrame
*) 0 ;
3460 PyObject
* obj0
= 0 ;
3462 (char *) "self", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 resultobj
= PyInt_FromLong((long)result
);
3481 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
*resultobj
;
3483 wxFrame
*arg1
= (wxFrame
*) 0 ;
3484 long arg2
= (long) -1 ;
3485 int arg3
= (int) -1 ;
3486 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3487 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3489 bool temp4
= False
;
3490 PyObject
* obj0
= 0 ;
3491 PyObject
* obj3
= 0 ;
3493 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|liO:Frame_CreateToolBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
3497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3500 arg4
= wxString_in_helper(obj3
);
3501 if (arg4
== NULL
) SWIG_fail
;
3506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3509 wxPyEndAllowThreads(__tstate
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3513 resultobj
= wxPyMake_wxObject(result
);
3529 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxFrame
*arg1
= (wxFrame
*) 0 ;
3533 PyObject
* obj0
= 0 ;
3535 (char *) "self", NULL
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3548 resultobj
= wxPyMake_wxObject(result
);
3556 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxFrame
*arg1
= (wxFrame
*) 0 ;
3559 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3560 PyObject
* obj0
= 0 ;
3561 PyObject
* obj1
= 0 ;
3563 (char *) "self",(char *) "toolbar", NULL
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3568 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 (arg1
)->SetToolBar(arg2
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3576 Py_INCREF(Py_None
); resultobj
= Py_None
;
3583 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
*resultobj
;
3585 wxFrame
*arg1
= (wxFrame
*) 0 ;
3586 wxString
*arg2
= 0 ;
3588 bool temp2
= False
;
3589 PyObject
* obj0
= 0 ;
3590 PyObject
* obj1
= 0 ;
3591 PyObject
* obj2
= 0 ;
3593 (char *) "self",(char *) "text",(char *) "show", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3599 arg2
= wxString_in_helper(obj1
);
3600 if (arg2
== NULL
) SWIG_fail
;
3603 arg3
= PyInt_AsLong(obj2
) ? true : false;
3604 if (PyErr_Occurred()) SWIG_fail
;
3606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3609 wxPyEndAllowThreads(__tstate
);
3610 if (PyErr_Occurred()) SWIG_fail
;
3612 Py_INCREF(Py_None
); resultobj
= Py_None
;
3627 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3629 wxFrame
*arg1
= (wxFrame
*) 0 ;
3630 wxMenu
*arg2
= (wxMenu
*) NULL
;
3631 PyObject
* obj0
= 0 ;
3632 PyObject
* obj1
= 0 ;
3634 (char *) "self",(char *) "menu", NULL
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3640 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 (arg1
)->DoMenuUpdates(arg2
);
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3649 Py_INCREF(Py_None
); resultobj
= Py_None
;
3656 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3659 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3661 return Py_BuildValue((char *)"");
3663 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3665 wxWindow
*arg1
= (wxWindow
*) 0 ;
3667 wxString
*arg3
= 0 ;
3668 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3669 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3670 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3671 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3672 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3673 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3674 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3676 bool temp3
= False
;
3679 bool temp7
= False
;
3680 PyObject
* obj0
= 0 ;
3681 PyObject
* obj2
= 0 ;
3682 PyObject
* obj3
= 0 ;
3683 PyObject
* obj4
= 0 ;
3684 PyObject
* obj6
= 0 ;
3686 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Dialog",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3692 arg3
= wxString_in_helper(obj2
);
3693 if (arg3
== NULL
) SWIG_fail
;
3699 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3705 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3710 arg7
= wxString_in_helper(obj6
);
3711 if (arg7
== NULL
) SWIG_fail
;
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3722 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3745 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
*resultobj
;
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 result
= (wxDialog
*)new wxDialog();
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3760 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3767 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
;
3769 wxDialog
*arg1
= (wxDialog
*) 0 ;
3770 wxWindow
*arg2
= (wxWindow
*) 0 ;
3772 wxString
*arg4
= 0 ;
3773 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3774 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3775 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3776 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3777 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3778 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3779 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3781 bool temp4
= False
;
3784 bool temp8
= False
;
3785 PyObject
* obj0
= 0 ;
3786 PyObject
* obj1
= 0 ;
3787 PyObject
* obj3
= 0 ;
3788 PyObject
* obj4
= 0 ;
3789 PyObject
* obj5
= 0 ;
3790 PyObject
* obj7
= 0 ;
3792 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Dialog_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3797 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3799 arg4
= wxString_in_helper(obj3
);
3800 if (arg4
== NULL
) SWIG_fail
;
3806 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3812 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3817 arg8
= wxString_in_helper(obj7
);
3818 if (arg8
== NULL
) SWIG_fail
;
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= PyInt_FromLong((long)result
);
3852 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
;
3854 wxDialog
*arg1
= (wxDialog
*) 0 ;
3856 PyObject
* obj0
= 0 ;
3858 (char *) "self",(char *) "returnCode", NULL
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_SetReturnCode",kwnames
,&obj0
,&arg2
)) goto fail
;
3862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 (arg1
)->SetReturnCode(arg2
);
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3870 Py_INCREF(Py_None
); resultobj
= Py_None
;
3877 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
;
3879 wxDialog
*arg1
= (wxDialog
*) 0 ;
3881 PyObject
* obj0
= 0 ;
3883 (char *) "self", NULL
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
3887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3895 resultobj
= PyInt_FromLong((long)result
);
3902 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
*resultobj
;
3904 wxDialog
*arg1
= (wxDialog
*) 0 ;
3905 wxString
*arg2
= 0 ;
3907 bool temp2
= False
;
3908 PyObject
* obj0
= 0 ;
3909 PyObject
* obj1
= 0 ;
3911 (char *) "self",(char *) "message", NULL
3914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
3915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3917 arg2
= wxString_in_helper(obj1
);
3918 if (arg2
== NULL
) SWIG_fail
;
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3929 resultobj
= wxPyMake_wxSizer(result
);
3945 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
;
3947 wxDialog
*arg1
= (wxDialog
*) 0 ;
3950 PyObject
* obj0
= 0 ;
3952 (char *) "self",(char *) "flags", NULL
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Dialog_CreateButtonSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
3956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3959 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3965 resultobj
= wxPyMake_wxSizer(result
);
3973 static PyObject
*_wrap_Dialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
*resultobj
;
3975 wxDialog
*arg1
= (wxDialog
*) 0 ;
3977 PyObject
* obj0
= 0 ;
3978 PyObject
* obj1
= 0 ;
3980 (char *) "self",(char *) "flag", NULL
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetModal",kwnames
,&obj0
,&obj1
)) goto fail
;
3984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3985 arg2
= PyInt_AsLong(obj1
) ? true : false;
3986 if (PyErr_Occurred()) SWIG_fail
;
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 (arg1
)->SetModal(arg2
);
3991 wxPyEndAllowThreads(__tstate
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3994 Py_INCREF(Py_None
); resultobj
= Py_None
;
4001 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
*resultobj
;
4003 wxDialog
*arg1
= (wxDialog
*) 0 ;
4005 PyObject
* obj0
= 0 ;
4007 (char *) "self", NULL
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) SWIG_fail
;
4019 resultobj
= PyInt_FromLong((long)result
);
4026 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
*resultobj
;
4028 wxDialog
*arg1
= (wxDialog
*) 0 ;
4030 PyObject
* obj0
= 0 ;
4032 (char *) "self", NULL
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 result
= (int)(arg1
)->ShowModal();
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 resultobj
= PyInt_FromLong((long)result
);
4051 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
;
4053 wxDialog
*arg1
= (wxDialog
*) 0 ;
4055 PyObject
* obj0
= 0 ;
4057 (char *) "self",(char *) "retCode", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_EndModal",kwnames
,&obj0
,&arg2
)) goto fail
;
4061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 (arg1
)->EndModal(arg2
);
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 Py_INCREF(Py_None
); resultobj
= Py_None
;
4076 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxDialog
*arg1
= (wxDialog
*) 0 ;
4080 PyObject
* obj0
= 0 ;
4082 (char *) "self", NULL
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (bool)wxDialog_IsModalShowing(arg1
);
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 resultobj
= PyInt_FromLong((long)result
);
4101 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4104 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4106 return Py_BuildValue((char *)"");
4108 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
;
4110 wxWindow
*arg1
= (wxWindow
*) 0 ;
4112 wxString
*arg3
= 0 ;
4113 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4114 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4115 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4116 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4117 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4118 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4119 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4120 wxMiniFrame
*result
;
4121 bool temp3
= False
;
4124 bool temp7
= False
;
4125 PyObject
* obj0
= 0 ;
4126 PyObject
* obj2
= 0 ;
4127 PyObject
* obj3
= 0 ;
4128 PyObject
* obj4
= 0 ;
4129 PyObject
* obj6
= 0 ;
4131 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MiniFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4137 arg3
= wxString_in_helper(obj2
);
4138 if (arg3
== NULL
) SWIG_fail
;
4144 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4150 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4155 arg7
= wxString_in_helper(obj6
);
4156 if (arg7
== NULL
) SWIG_fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4190 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
*resultobj
;
4192 wxMiniFrame
*result
;
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 result
= (wxMiniFrame
*)new wxMiniFrame();
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4212 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
;
4214 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4215 wxWindow
*arg2
= (wxWindow
*) 0 ;
4217 wxString
*arg4
= 0 ;
4218 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4219 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4220 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4221 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4222 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4223 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4224 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4226 bool temp4
= False
;
4229 bool temp8
= False
;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj1
= 0 ;
4232 PyObject
* obj3
= 0 ;
4233 PyObject
* obj4
= 0 ;
4234 PyObject
* obj5
= 0 ;
4235 PyObject
* obj7
= 0 ;
4237 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMiniFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4242 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4244 arg4
= wxString_in_helper(obj3
);
4245 if (arg4
== NULL
) SWIG_fail
;
4251 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4257 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4262 arg8
= wxString_in_helper(obj7
);
4263 if (arg8
== NULL
) SWIG_fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= PyInt_FromLong((long)result
);
4297 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4300 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4302 return Py_BuildValue((char *)"");
4304 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
;
4306 wxBitmap
*arg1
= 0 ;
4307 wxWindow
*arg2
= (wxWindow
*) 0 ;
4309 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4310 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4311 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4312 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4313 long arg6
= (long) wxNO_BORDER
;
4314 wxSplashScreenWindow
*result
;
4317 PyObject
* obj0
= 0 ;
4318 PyObject
* obj1
= 0 ;
4319 PyObject
* obj3
= 0 ;
4320 PyObject
* obj4
= 0 ;
4322 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
4326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4328 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4330 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4334 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4340 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4350 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 1);
4357 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
;
4359 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4360 wxBitmap
*arg2
= 0 ;
4361 PyObject
* obj0
= 0 ;
4362 PyObject
* obj1
= 0 ;
4364 (char *) "self",(char *) "bitmap", NULL
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4369 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4371 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4380 Py_INCREF(Py_None
); resultobj
= Py_None
;
4387 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
;
4389 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4391 PyObject
* obj0
= 0 ;
4393 (char *) "self", NULL
4396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4402 result
= (wxBitmap
*) &_result_ref
;
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
4415 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4418 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4420 return Py_BuildValue((char *)"");
4422 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
*resultobj
;
4424 wxBitmap
*arg1
= 0 ;
4427 wxWindow
*arg4
= (wxWindow
*) 0 ;
4429 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4430 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4431 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4432 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4433 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4434 wxSplashScreen
*result
;
4437 PyObject
* obj0
= 0 ;
4438 PyObject
* obj3
= 0 ;
4439 PyObject
* obj5
= 0 ;
4440 PyObject
* obj6
= 0 ;
4442 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliOi|OOl:new_SplashScreen",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
4446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4448 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4450 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4454 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4460 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4470 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreen
, 1);
4477 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
*resultobj
;
4479 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4481 PyObject
* obj0
= 0 ;
4483 (char *) "self", NULL
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4495 resultobj
= PyInt_FromLong((long)result
);
4502 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
*resultobj
;
4504 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4505 wxSplashScreenWindow
*result
;
4506 PyObject
* obj0
= 0 ;
4508 (char *) "self", NULL
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 0);
4527 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
*resultobj
;
4529 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4531 PyObject
* obj0
= 0 ;
4533 (char *) "self", NULL
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4545 resultobj
= PyInt_FromLong((long)result
);
4552 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4555 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4557 return Py_BuildValue((char *)"");
4559 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
*resultobj
;
4561 wxWindow
*arg1
= (wxWindow
*) 0 ;
4562 int arg2
= (int) -1 ;
4563 long arg3
= (long) wxST_SIZEGRIP
;
4564 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4565 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4566 wxStatusBar
*result
;
4567 bool temp4
= False
;
4568 PyObject
* obj0
= 0 ;
4569 PyObject
* obj3
= 0 ;
4571 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ilO:new_StatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4578 arg4
= wxString_in_helper(obj3
);
4579 if (arg4
== NULL
) SWIG_fail
;
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4587 wxPyEndAllowThreads(__tstate
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4591 resultobj
= wxPyMake_wxObject(result
);
4607 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
*resultobj
;
4609 wxStatusBar
*result
;
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 result
= (wxStatusBar
*)new wxStatusBar();
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= wxPyMake_wxObject(result
);
4631 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
*resultobj
;
4633 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4634 wxWindow
*arg2
= (wxWindow
*) 0 ;
4636 long arg4
= (long) wxST_SIZEGRIP
;
4637 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4638 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4640 bool temp5
= False
;
4641 PyObject
* obj0
= 0 ;
4642 PyObject
* obj1
= 0 ;
4643 PyObject
* obj4
= 0 ;
4645 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|lO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
4649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4650 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4653 arg5
= wxString_in_helper(obj4
);
4654 if (arg5
== NULL
) SWIG_fail
;
4659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4665 resultobj
= PyInt_FromLong((long)result
);
4680 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
*resultobj
;
4682 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4683 int arg2
= (int) 1 ;
4684 PyObject
* obj0
= 0 ;
4686 (char *) "self",(char *) "number", NULL
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_SetFieldsCount",kwnames
,&obj0
,&arg2
)) goto fail
;
4690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 (arg1
)->SetFieldsCount(arg2
);
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4698 Py_INCREF(Py_None
); resultobj
= Py_None
;
4705 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
*resultobj
;
4707 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4709 PyObject
* obj0
= 0 ;
4711 (char *) "self", NULL
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= PyInt_FromLong((long)result
);
4730 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4733 wxString
*arg2
= 0 ;
4734 int arg3
= (int) 0 ;
4735 bool temp2
= False
;
4736 PyObject
* obj0
= 0 ;
4737 PyObject
* obj1
= 0 ;
4739 (char *) "self",(char *) "text",(char *) "number", NULL
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4745 arg2
= wxString_in_helper(obj1
);
4746 if (arg2
== NULL
) SWIG_fail
;
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4756 Py_INCREF(Py_None
); resultobj
= Py_None
;
4771 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
*resultobj
;
4773 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4774 int arg2
= (int) 0 ;
4776 PyObject
* obj0
= 0 ;
4778 (char *) "self",(char *) "number", NULL
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_GetStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4787 wxPyEndAllowThreads(__tstate
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4803 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4804 PyObject
*resultobj
;
4805 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4806 wxString
*arg2
= 0 ;
4807 int arg3
= (int) 0 ;
4808 bool temp2
= False
;
4809 PyObject
* obj0
= 0 ;
4810 PyObject
* obj1
= 0 ;
4812 (char *) "self",(char *) "text",(char *) "number", NULL
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4818 arg2
= wxString_in_helper(obj1
);
4819 if (arg2
== NULL
) SWIG_fail
;
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4824 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4829 Py_INCREF(Py_None
); resultobj
= Py_None
;
4844 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
*resultobj
;
4846 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4847 int arg2
= (int) 0 ;
4848 PyObject
* obj0
= 0 ;
4850 (char *) "self",(char *) "number", NULL
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 (arg1
)->PopStatusText(arg2
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4862 Py_INCREF(Py_None
); resultobj
= Py_None
;
4869 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
*resultobj
;
4871 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4873 int *arg3
= (int *) 0 ;
4874 PyObject
* obj0
= 0 ;
4875 PyObject
* obj1
= 0 ;
4877 (char *) "self",(char *) "widths", NULL
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
4881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4883 arg2
= PyList_Size(obj1
);
4884 arg3
= int_LIST_helper(obj1
);
4885 if (arg3
== NULL
) SWIG_fail
;
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 Py_INCREF(Py_None
); resultobj
= Py_None
;
4896 if (arg3
) delete [] arg3
;
4901 if (arg3
) delete [] arg3
;
4907 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
*resultobj
;
4909 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4914 PyObject
* obj0
= 0 ;
4915 PyObject
* obj2
= 0 ;
4917 (char *) "self",(char *) "i",(char *) "rect", NULL
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:StatusBar_GetFieldRect",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
4921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4924 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 result
= (bool)((wxStatusBar
const *)arg1
)->GetFieldRect(arg2
,*arg3
);
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4933 resultobj
= PyInt_FromLong((long)result
);
4940 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
*resultobj
;
4942 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4944 PyObject
* obj0
= 0 ;
4946 (char *) "self",(char *) "height", NULL
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_SetMinHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
4950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 (arg1
)->SetMinHeight(arg2
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 Py_INCREF(Py_None
); resultobj
= Py_None
;
4965 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
;
4967 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4969 PyObject
* obj0
= 0 ;
4971 (char *) "self", NULL
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
4975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= PyInt_FromLong((long)result
);
4990 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
*resultobj
;
4992 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4994 PyObject
* obj0
= 0 ;
4996 (char *) "self", NULL
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= PyInt_FromLong((long)result
);
5015 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5018 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5020 return Py_BuildValue((char *)"");
5022 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
;
5024 wxWindow
*arg1
= (wxWindow
*) 0 ;
5026 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5027 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5028 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5029 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5030 long arg5
= (long) wxSP_3D
;
5031 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5032 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5033 wxSplitterWindow
*result
;
5036 bool temp6
= False
;
5037 PyObject
* obj0
= 0 ;
5038 PyObject
* obj2
= 0 ;
5039 PyObject
* obj3
= 0 ;
5040 PyObject
* obj5
= 0 ;
5042 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SplitterWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
5046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5050 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5056 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5061 arg6
= wxString_in_helper(obj5
);
5062 if (arg6
== NULL
) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5088 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
*resultobj
;
5090 wxSplitterWindow
*result
;
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5110 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5113 wxWindow
*arg2
= (wxWindow
*) 0 ;
5115 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5116 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5117 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5118 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5119 long arg6
= (long) wxSP_3D
;
5120 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5121 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5125 bool temp7
= False
;
5126 PyObject
* obj0
= 0 ;
5127 PyObject
* obj1
= 0 ;
5128 PyObject
* obj3
= 0 ;
5129 PyObject
* obj4
= 0 ;
5130 PyObject
* obj6
= 0 ;
5132 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
5136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5137 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5141 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5147 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5152 arg7
= wxString_in_helper(obj6
);
5153 if (arg7
== NULL
) SWIG_fail
;
5158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5164 resultobj
= PyInt_FromLong((long)result
);
5179 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5180 PyObject
*resultobj
;
5181 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5183 PyObject
* obj0
= 0 ;
5185 (char *) "self", NULL
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5198 resultobj
= wxPyMake_wxObject(result
);
5206 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
;
5208 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5210 PyObject
* obj0
= 0 ;
5212 (char *) "self", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5225 resultobj
= wxPyMake_wxObject(result
);
5233 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
*resultobj
;
5235 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5237 PyObject
* obj0
= 0 ;
5239 (char *) "self",(char *) "mode", NULL
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&arg2
)) goto fail
;
5243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 (arg1
)->SetSplitMode(arg2
);
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5251 Py_INCREF(Py_None
); resultobj
= Py_None
;
5258 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
;
5260 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5262 PyObject
* obj0
= 0 ;
5264 (char *) "self", NULL
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5276 resultobj
= PyInt_FromLong((long)result
);
5283 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
*resultobj
;
5285 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5286 wxWindow
*arg2
= (wxWindow
*) 0 ;
5287 PyObject
* obj0
= 0 ;
5288 PyObject
* obj1
= 0 ;
5290 (char *) "self",(char *) "window", NULL
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5295 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 (arg1
)->Initialize(arg2
);
5300 wxPyEndAllowThreads(__tstate
);
5301 if (PyErr_Occurred()) SWIG_fail
;
5303 Py_INCREF(Py_None
); resultobj
= Py_None
;
5310 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
;
5312 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5313 wxWindow
*arg2
= (wxWindow
*) 0 ;
5314 wxWindow
*arg3
= (wxWindow
*) 0 ;
5315 int arg4
= (int) 0 ;
5317 PyObject
* obj0
= 0 ;
5318 PyObject
* obj1
= 0 ;
5319 PyObject
* obj2
= 0 ;
5321 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5326 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5327 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 resultobj
= PyInt_FromLong((long)result
);
5342 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
;
5344 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5345 wxWindow
*arg2
= (wxWindow
*) 0 ;
5346 wxWindow
*arg3
= (wxWindow
*) 0 ;
5347 int arg4
= (int) 0 ;
5349 PyObject
* obj0
= 0 ;
5350 PyObject
* obj1
= 0 ;
5351 PyObject
* obj2
= 0 ;
5353 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5358 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5359 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5367 resultobj
= PyInt_FromLong((long)result
);
5374 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
*resultobj
;
5376 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5377 wxWindow
*arg2
= (wxWindow
*) NULL
;
5379 PyObject
* obj0
= 0 ;
5380 PyObject
* obj1
= 0 ;
5382 (char *) "self",(char *) "toRemove", NULL
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5388 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 result
= (bool)(arg1
)->Unsplit(arg2
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 resultobj
= PyInt_FromLong((long)result
);
5404 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5407 wxWindow
*arg2
= (wxWindow
*) 0 ;
5408 wxWindow
*arg3
= (wxWindow
*) 0 ;
5410 PyObject
* obj0
= 0 ;
5411 PyObject
* obj1
= 0 ;
5412 PyObject
* obj2
= 0 ;
5414 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5419 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5420 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= PyInt_FromLong((long)result
);
5435 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5439 PyObject
* obj0
= 0 ;
5441 (char *) "self", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 resultobj
= PyInt_FromLong((long)result
);
5460 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
*resultobj
;
5462 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5464 PyObject
* obj0
= 0 ;
5466 (char *) "self",(char *) "width", NULL
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSashSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 (arg1
)->SetSashSize(arg2
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5478 Py_INCREF(Py_None
); resultobj
= Py_None
;
5485 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
;
5487 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5489 PyObject
* obj0
= 0 ;
5491 (char *) "self",(char *) "width", NULL
5494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 (arg1
)->SetBorderSize(arg2
);
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 Py_INCREF(Py_None
); resultobj
= Py_None
;
5510 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
;
5512 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5514 PyObject
* obj0
= 0 ;
5516 (char *) "self", NULL
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5523 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5525 wxPyEndAllowThreads(__tstate
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5528 resultobj
= PyInt_FromLong((long)result
);
5535 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
*resultobj
;
5537 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5539 PyObject
* obj0
= 0 ;
5541 (char *) "self", NULL
5544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 resultobj
= PyInt_FromLong((long)result
);
5560 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
*resultobj
;
5562 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5564 bool arg3
= (bool) True
;
5565 PyObject
* obj0
= 0 ;
5566 PyObject
* obj2
= 0 ;
5568 (char *) "self",(char *) "position",(char *) "redraw", NULL
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5574 arg3
= PyInt_AsLong(obj2
) ? true : false;
5575 if (PyErr_Occurred()) SWIG_fail
;
5578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5579 (arg1
)->SetSashPosition(arg2
,arg3
);
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5584 Py_INCREF(Py_None
); resultobj
= Py_None
;
5591 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
*resultobj
;
5593 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5595 PyObject
* obj0
= 0 ;
5597 (char *) "self", NULL
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 resultobj
= PyInt_FromLong((long)result
);
5616 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
;
5618 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5620 PyObject
* obj0
= 0 ;
5622 (char *) "self",(char *) "min", NULL
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 (arg1
)->SetMinimumPaneSize(arg2
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 Py_INCREF(Py_None
); resultobj
= Py_None
;
5641 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5645 PyObject
* obj0
= 0 ;
5647 (char *) "self", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5659 resultobj
= PyInt_FromLong((long)result
);
5666 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
;
5668 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5671 int arg4
= (int) 5 ;
5673 PyObject
* obj0
= 0 ;
5675 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5687 resultobj
= PyInt_FromLong((long)result
);
5694 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
*resultobj
;
5696 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5697 PyObject
* obj0
= 0 ;
5699 (char *) "self", NULL
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
5703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 (arg1
)->SizeWindows();
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5711 Py_INCREF(Py_None
); resultobj
= Py_None
;
5718 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
;
5720 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5722 PyObject
* obj0
= 0 ;
5723 PyObject
* obj1
= 0 ;
5725 (char *) "self",(char *) "needUpdating", NULL
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
5729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5730 arg2
= PyInt_AsLong(obj1
) ? true : false;
5731 if (PyErr_Occurred()) SWIG_fail
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 (arg1
)->SetNeedUpdating(arg2
);
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5739 Py_INCREF(Py_None
); resultobj
= Py_None
;
5746 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
;
5748 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5750 PyObject
* obj0
= 0 ;
5752 (char *) "self", NULL
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
5756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= PyInt_FromLong((long)result
);
5771 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
5773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5774 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
5776 return Py_BuildValue((char *)"");
5778 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
*resultobj
;
5780 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
5781 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
5782 wxSplitterEvent
*result
;
5783 PyObject
* obj1
= 0 ;
5785 (char *) "type",(char *) "splitter", NULL
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_SplitterEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
5790 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5799 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterEvent
, 1);
5806 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
;
5808 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5810 PyObject
* obj0
= 0 ;
5812 (char *) "self",(char *) "pos", NULL
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
5816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 (arg1
)->SetSashPosition(arg2
);
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5824 Py_INCREF(Py_None
); resultobj
= Py_None
;
5831 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
*resultobj
;
5833 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5835 PyObject
* obj0
= 0 ;
5837 (char *) "self", NULL
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5844 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5849 resultobj
= PyInt_FromLong((long)result
);
5856 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
;
5858 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5860 PyObject
* obj0
= 0 ;
5862 (char *) "self", NULL
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
5866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
5871 wxPyEndAllowThreads(__tstate
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5875 resultobj
= wxPyMake_wxObject(result
);
5883 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5887 PyObject
* obj0
= 0 ;
5889 (char *) "self", NULL
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
5893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= PyInt_FromLong((long)result
);
5908 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
;
5910 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5912 PyObject
* obj0
= 0 ;
5914 (char *) "self", NULL
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
5918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5926 resultobj
= PyInt_FromLong((long)result
);
5933 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5936 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
5938 return Py_BuildValue((char *)"");
5940 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
;
5942 wxWindow
*arg1
= (wxWindow
*) 0 ;
5944 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5945 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5946 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5947 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5948 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5949 wxString
const &arg6_defvalue
= wxPySashNameStr
;
5950 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5951 wxSashWindow
*result
;
5954 bool temp6
= False
;
5955 PyObject
* obj0
= 0 ;
5956 PyObject
* obj2
= 0 ;
5957 PyObject
* obj3
= 0 ;
5958 PyObject
* obj5
= 0 ;
5960 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
5964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5968 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5974 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5979 arg6
= wxString_in_helper(obj5
);
5980 if (arg6
== NULL
) SWIG_fail
;
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
6006 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxSashWindow
*result
;
6013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 result
= (wxSashWindow
*)new wxSashWindow();
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6021 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
6028 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
*resultobj
;
6030 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6031 wxWindow
*arg2
= (wxWindow
*) 0 ;
6033 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6034 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6035 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6036 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6037 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6038 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6039 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6043 bool temp7
= False
;
6044 PyObject
* obj0
= 0 ;
6045 PyObject
* obj1
= 0 ;
6046 PyObject
* obj3
= 0 ;
6047 PyObject
* obj4
= 0 ;
6048 PyObject
* obj6
= 0 ;
6050 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
6054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6055 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6059 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6065 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6070 arg7
= wxString_in_helper(obj6
);
6071 if (arg7
== NULL
) SWIG_fail
;
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6079 wxPyEndAllowThreads(__tstate
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6082 resultobj
= PyInt_FromLong((long)result
);
6097 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
*resultobj
;
6099 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6102 PyObject
* obj0
= 0 ;
6103 PyObject
* obj2
= 0 ;
6105 (char *) "self",(char *) "edge",(char *) "sash", NULL
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashVisible",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6110 arg3
= PyInt_AsLong(obj2
) ? true : false;
6111 if (PyErr_Occurred()) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 Py_INCREF(Py_None
); resultobj
= Py_None
;
6126 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6128 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6131 PyObject
* obj0
= 0 ;
6133 (char *) "self",(char *) "edge", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetSashVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
6137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6145 resultobj
= PyInt_FromLong((long)result
);
6152 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
;
6154 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6157 PyObject
* obj0
= 0 ;
6158 PyObject
* obj2
= 0 ;
6160 (char *) "self",(char *) "edge",(char *) "border", NULL
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashBorder",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6165 arg3
= PyInt_AsLong(obj2
) ? true : false;
6166 if (PyErr_Occurred()) SWIG_fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 Py_INCREF(Py_None
); resultobj
= Py_None
;
6181 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
;
6183 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6186 PyObject
* obj0
= 0 ;
6188 (char *) "self",(char *) "edge", NULL
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_HasBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
6192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6195 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6200 resultobj
= PyInt_FromLong((long)result
);
6207 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
*resultobj
;
6209 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6212 PyObject
* obj0
= 0 ;
6214 (char *) "self",(char *) "edge", NULL
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
6218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= PyInt_FromLong((long)result
);
6233 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
;
6235 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6237 PyObject
* obj0
= 0 ;
6239 (char *) "self",(char *) "width", NULL
6242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
6243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 (arg1
)->SetDefaultBorderSize(arg2
);
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6251 Py_INCREF(Py_None
); resultobj
= Py_None
;
6258 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
*resultobj
;
6260 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6262 PyObject
* obj0
= 0 ;
6264 (char *) "self", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 resultobj
= PyInt_FromLong((long)result
);
6283 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
;
6285 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6287 PyObject
* obj0
= 0 ;
6289 (char *) "self",(char *) "width", NULL
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
6293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 (arg1
)->SetExtraBorderSize(arg2
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 Py_INCREF(Py_None
); resultobj
= Py_None
;
6308 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
;
6310 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6312 PyObject
* obj0
= 0 ;
6314 (char *) "self", NULL
6317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6326 resultobj
= PyInt_FromLong((long)result
);
6333 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
;
6335 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6339 (char *) "self",(char *) "min", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 (arg1
)->SetMinimumSizeX(arg2
);
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 Py_INCREF(Py_None
); resultobj
= Py_None
;
6358 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
;
6360 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6362 PyObject
* obj0
= 0 ;
6364 (char *) "self",(char *) "min", NULL
6367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 (arg1
)->SetMinimumSizeY(arg2
);
6373 wxPyEndAllowThreads(__tstate
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6376 Py_INCREF(Py_None
); resultobj
= Py_None
;
6383 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
*resultobj
;
6385 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6387 PyObject
* obj0
= 0 ;
6389 (char *) "self", NULL
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6401 resultobj
= PyInt_FromLong((long)result
);
6408 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
*resultobj
;
6410 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6412 PyObject
* obj0
= 0 ;
6414 (char *) "self", NULL
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= PyInt_FromLong((long)result
);
6433 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
;
6435 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6437 PyObject
* obj0
= 0 ;
6439 (char *) "self",(char *) "max", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6446 (arg1
)->SetMaximumSizeX(arg2
);
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 Py_INCREF(Py_None
); resultobj
= Py_None
;
6458 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
;
6460 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6462 PyObject
* obj0
= 0 ;
6464 (char *) "self",(char *) "max", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 (arg1
)->SetMaximumSizeY(arg2
);
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6476 Py_INCREF(Py_None
); resultobj
= Py_None
;
6483 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6484 PyObject
*resultobj
;
6485 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6487 PyObject
* obj0
= 0 ;
6489 (char *) "self", NULL
6492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6496 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6501 resultobj
= PyInt_FromLong((long)result
);
6508 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6509 PyObject
*resultobj
;
6510 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6512 PyObject
* obj0
= 0 ;
6514 (char *) "self", NULL
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 resultobj
= PyInt_FromLong((long)result
);
6533 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
;
6535 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6538 int arg4
= (int) 2 ;
6540 PyObject
* obj0
= 0 ;
6542 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SashWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= PyInt_FromLong((long)result
);
6561 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
;
6563 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6564 PyObject
* obj0
= 0 ;
6566 (char *) "self", NULL
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 (arg1
)->SizeWindows();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 Py_INCREF(Py_None
); resultobj
= Py_None
;
6585 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6588 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
6590 return Py_BuildValue((char *)"");
6592 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
;
6594 int arg1
= (int) 0 ;
6595 int arg2
= (int) wxSASH_NONE
;
6596 wxSashEvent
*result
;
6598 (char *) "id",(char *) "edge", NULL
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SashEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6609 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashEvent
, 1);
6616 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
*resultobj
;
6618 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6620 PyObject
* obj0
= 0 ;
6622 (char *) "self",(char *) "edge", NULL
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
6626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6634 Py_INCREF(Py_None
); resultobj
= Py_None
;
6641 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
*resultobj
;
6643 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6645 PyObject
* obj0
= 0 ;
6647 (char *) "self", NULL
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
6651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6659 resultobj
= PyInt_FromLong((long)result
);
6666 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
*resultobj
;
6668 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6671 PyObject
* obj0
= 0 ;
6672 PyObject
* obj1
= 0 ;
6674 (char *) "self",(char *) "rect", NULL
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6681 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6690 Py_INCREF(Py_None
); resultobj
= Py_None
;
6697 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6701 PyObject
* obj0
= 0 ;
6703 (char *) "self", NULL
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
6707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6717 resultptr
= new wxRect((wxRect
&) result
);
6718 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6726 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
*resultobj
;
6728 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6730 PyObject
* obj0
= 0 ;
6732 (char *) "self",(char *) "status", NULL
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetDragStatus",kwnames
,&obj0
,&arg2
)) goto fail
;
6736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6739 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6744 Py_INCREF(Py_None
); resultobj
= Py_None
;
6751 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
;
6753 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6755 PyObject
* obj0
= 0 ;
6757 (char *) "self", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= PyInt_FromLong((long)result
);
6776 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6779 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
6781 return Py_BuildValue((char *)"");
6783 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
*resultobj
;
6785 int arg1
= (int) 0 ;
6786 wxQueryLayoutInfoEvent
*result
;
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryLayoutInfoEvent",kwnames
,&arg1
)) goto fail
;
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6799 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
6806 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6807 PyObject
*resultobj
;
6808 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6810 PyObject
* obj0
= 0 ;
6812 (char *) "self",(char *) "length", NULL
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 (arg1
)->SetRequestedLength(arg2
);
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6824 Py_INCREF(Py_None
); resultobj
= Py_None
;
6831 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6832 PyObject
*resultobj
;
6833 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6835 PyObject
* obj0
= 0 ;
6837 (char *) "self", NULL
6840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
6841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
6846 wxPyEndAllowThreads(__tstate
);
6847 if (PyErr_Occurred()) SWIG_fail
;
6849 resultobj
= PyInt_FromLong((long)result
);
6856 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6857 PyObject
*resultobj
;
6858 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6860 PyObject
* obj0
= 0 ;
6862 (char *) "self",(char *) "flags", NULL
6865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 (arg1
)->SetFlags(arg2
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6874 Py_INCREF(Py_None
); resultobj
= Py_None
;
6881 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
;
6883 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6885 PyObject
* obj0
= 0 ;
6887 (char *) "self", NULL
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
6891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6899 resultobj
= PyInt_FromLong((long)result
);
6906 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
*resultobj
;
6908 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6911 PyObject
* obj0
= 0 ;
6912 PyObject
* obj1
= 0 ;
6914 (char *) "self",(char *) "size", NULL
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6921 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 (arg1
)->SetSize((wxSize
const &)*arg2
);
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 Py_INCREF(Py_None
); resultobj
= Py_None
;
6937 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
;
6939 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6941 PyObject
* obj0
= 0 ;
6943 (char *) "self", NULL
6946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
6947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6957 resultptr
= new wxSize((wxSize
&) result
);
6958 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
6966 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6968 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6970 PyObject
* obj0
= 0 ;
6972 (char *) "self",(char *) "orient", NULL
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
6976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6984 Py_INCREF(Py_None
); resultobj
= Py_None
;
6991 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
;
6993 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6995 PyObject
* obj0
= 0 ;
6997 (char *) "self", NULL
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= PyInt_FromLong((long)result
);
7016 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
;
7018 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7020 PyObject
* obj0
= 0 ;
7022 (char *) "self",(char *) "align", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
7026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 Py_INCREF(Py_None
); resultobj
= Py_None
;
7041 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
;
7043 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7047 (char *) "self", NULL
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 resultobj
= PyInt_FromLong((long)result
);
7066 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7069 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7071 return Py_BuildValue((char *)"");
7073 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7075 int arg1
= (int) 0 ;
7076 wxCalculateLayoutEvent
*result
;
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_CalculateLayoutEvent",kwnames
,&arg1
)) goto fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7096 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
*resultobj
;
7098 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7100 PyObject
* obj0
= 0 ;
7102 (char *) "self",(char *) "flags", NULL
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
7106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 (arg1
)->SetFlags(arg2
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7114 Py_INCREF(Py_None
); resultobj
= Py_None
;
7121 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
*resultobj
;
7123 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7125 PyObject
* obj0
= 0 ;
7127 (char *) "self", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7139 resultobj
= PyInt_FromLong((long)result
);
7146 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
*resultobj
;
7148 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7151 PyObject
* obj0
= 0 ;
7152 PyObject
* obj1
= 0 ;
7154 (char *) "self",(char *) "rect", NULL
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7161 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 (arg1
)->SetRect((wxRect
const &)*arg2
);
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7170 Py_INCREF(Py_None
); resultobj
= Py_None
;
7177 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
;
7179 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7181 PyObject
* obj0
= 0 ;
7183 (char *) "self", NULL
7186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7197 resultptr
= new wxRect((wxRect
&) result
);
7198 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
7206 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7209 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7211 return Py_BuildValue((char *)"");
7213 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
*resultobj
;
7215 wxWindow
*arg1
= (wxWindow
*) 0 ;
7217 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7218 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7219 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7220 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7221 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7222 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7223 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7224 wxSashLayoutWindow
*result
;
7227 bool temp6
= False
;
7228 PyObject
* obj0
= 0 ;
7229 PyObject
* obj2
= 0 ;
7230 PyObject
* obj3
= 0 ;
7231 PyObject
* obj5
= 0 ;
7233 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7241 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7247 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7252 arg6
= wxString_in_helper(obj5
);
7253 if (arg6
== NULL
) SWIG_fail
;
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7264 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7279 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
*resultobj
;
7281 wxSashLayoutWindow
*result
;
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7301 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
*resultobj
;
7303 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7304 wxWindow
*arg2
= (wxWindow
*) 0 ;
7306 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7307 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7308 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7309 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7310 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7311 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7312 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7316 bool temp7
= False
;
7317 PyObject
* obj0
= 0 ;
7318 PyObject
* obj1
= 0 ;
7319 PyObject
* obj3
= 0 ;
7320 PyObject
* obj4
= 0 ;
7321 PyObject
* obj6
= 0 ;
7323 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
7327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7328 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7332 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7338 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7343 arg7
= wxString_in_helper(obj6
);
7344 if (arg7
== NULL
) SWIG_fail
;
7349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 resultobj
= PyInt_FromLong((long)result
);
7370 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7371 PyObject
*resultobj
;
7372 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7374 PyObject
* obj0
= 0 ;
7376 (char *) "self", NULL
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 result
= (int)(arg1
)->GetAlignment();
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) SWIG_fail
;
7388 resultobj
= PyInt_FromLong((long)result
);
7395 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7396 PyObject
*resultobj
;
7397 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7399 PyObject
* obj0
= 0 ;
7401 (char *) "self", NULL
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7408 result
= (int)(arg1
)->GetOrientation();
7410 wxPyEndAllowThreads(__tstate
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7413 resultobj
= PyInt_FromLong((long)result
);
7420 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
*resultobj
;
7422 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7424 PyObject
* obj0
= 0 ;
7426 (char *) "self",(char *) "alignment", NULL
7429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
7430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7435 wxPyEndAllowThreads(__tstate
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 Py_INCREF(Py_None
); resultobj
= Py_None
;
7445 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
;
7447 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7450 PyObject
* obj0
= 0 ;
7451 PyObject
* obj1
= 0 ;
7453 (char *) "self",(char *) "size", NULL
7456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7460 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7469 Py_INCREF(Py_None
); resultobj
= Py_None
;
7476 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7477 PyObject
*resultobj
;
7478 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7480 PyObject
* obj0
= 0 ;
7482 (char *) "self",(char *) "orientation", NULL
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
7486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7494 Py_INCREF(Py_None
); resultobj
= Py_None
;
7501 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7504 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
7506 return Py_BuildValue((char *)"");
7508 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
*resultobj
;
7510 wxLayoutAlgorithm
*result
;
7515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
7517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7518 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7523 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutAlgorithm
, 1);
7530 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7531 PyObject
*resultobj
;
7532 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7533 PyObject
* obj0
= 0 ;
7535 (char *) "self", NULL
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
7539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7547 Py_INCREF(Py_None
); resultobj
= Py_None
;
7554 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
*resultobj
;
7556 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7557 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
7558 wxRect
*arg3
= (wxRect
*) NULL
;
7560 PyObject
* obj0
= 0 ;
7561 PyObject
* obj1
= 0 ;
7562 PyObject
* obj2
= 0 ;
7564 (char *) "self",(char *) "frame",(char *) "rect", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7569 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7571 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7580 resultobj
= PyInt_FromLong((long)result
);
7587 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7588 PyObject
*resultobj
;
7589 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7590 wxFrame
*arg2
= (wxFrame
*) 0 ;
7591 wxWindow
*arg3
= (wxWindow
*) NULL
;
7593 PyObject
* obj0
= 0 ;
7594 PyObject
* obj1
= 0 ;
7595 PyObject
* obj2
= 0 ;
7597 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7602 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7604 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= PyInt_FromLong((long)result
);
7620 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
;
7622 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7623 wxWindow
*arg2
= (wxWindow
*) 0 ;
7624 wxWindow
*arg3
= (wxWindow
*) NULL
;
7626 PyObject
* obj0
= 0 ;
7627 PyObject
* obj1
= 0 ;
7628 PyObject
* obj2
= 0 ;
7630 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7635 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7637 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7646 resultobj
= PyInt_FromLong((long)result
);
7653 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
7655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7656 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
7658 return Py_BuildValue((char *)"");
7660 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
*resultobj
;
7662 wxWindow
*arg1
= (wxWindow
*) 0 ;
7663 int arg2
= (int) wxBORDER_NONE
;
7664 wxPopupWindow
*result
;
7665 PyObject
* obj0
= 0 ;
7667 (char *) "parent",(char *) "flags", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7679 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7686 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
;
7688 wxPopupWindow
*result
;
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 result
= (wxPopupWindow
*)new wxPopupWindow();
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7701 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7708 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
;
7710 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
7711 wxWindow
*arg2
= (wxWindow
*) 0 ;
7712 int arg3
= (int) wxBORDER_NONE
;
7714 PyObject
* obj0
= 0 ;
7715 PyObject
* obj1
= 0 ;
7717 (char *) "self",(char *) "parent",(char *) "flags", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 result
= (bool)(arg1
)->Create(arg2
,arg3
);
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 resultobj
= PyInt_FromLong((long)result
);
7737 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
;
7739 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
7744 PyObject
* obj0
= 0 ;
7745 PyObject
* obj1
= 0 ;
7746 PyObject
* obj2
= 0 ;
7748 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7755 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7759 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 Py_INCREF(Py_None
); resultobj
= Py_None
;
7775 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7778 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
7780 return Py_BuildValue((char *)"");
7782 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
;
7784 wxWindow
*arg1
= (wxWindow
*) 0 ;
7785 int arg2
= (int) wxBORDER_NONE
;
7786 wxPyPopupTransientWindow
*result
;
7787 PyObject
* obj0
= 0 ;
7789 (char *) "parent",(char *) "style", NULL
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupTransientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7801 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7808 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
;
7810 wxPyPopupTransientWindow
*result
;
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7823 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7830 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
*resultobj
;
7832 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7833 PyObject
*arg2
= (PyObject
*) 0 ;
7834 PyObject
*arg3
= (PyObject
*) 0 ;
7835 PyObject
* obj0
= 0 ;
7836 PyObject
* obj1
= 0 ;
7837 PyObject
* obj2
= 0 ;
7839 (char *) "self",(char *) "self",(char *) "_class", NULL
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 Py_INCREF(Py_None
); resultobj
= Py_None
;
7860 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
;
7862 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7863 wxWindow
*arg2
= (wxWindow
*) NULL
;
7864 PyObject
* obj0
= 0 ;
7865 PyObject
* obj1
= 0 ;
7867 (char *) "self",(char *) "focus", NULL
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
7871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7873 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 (arg1
)->Popup(arg2
);
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7882 Py_INCREF(Py_None
); resultobj
= Py_None
;
7889 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7890 PyObject
*resultobj
;
7891 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7892 PyObject
* obj0
= 0 ;
7894 (char *) "self", NULL
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
7898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7906 Py_INCREF(Py_None
); resultobj
= Py_None
;
7913 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7916 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
7918 return Py_BuildValue((char *)"");
7920 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
;
7922 wxWindow
*arg1
= (wxWindow
*) 0 ;
7923 wxString
*arg2
= (wxString
*) 0 ;
7924 int arg3
= (int) 100 ;
7925 wxRect
*arg4
= (wxRect
*) NULL
;
7926 wxTipWindow
*result
;
7927 PyObject
* obj0
= 0 ;
7928 PyObject
* obj1
= 0 ;
7929 PyObject
* obj3
= 0 ;
7931 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:new_TipWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
7935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7936 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7938 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const *)arg2
,arg3
,arg4
);
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipWindow
, 1);
7954 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7959 PyObject
* obj0
= 0 ;
7960 PyObject
* obj1
= 0 ;
7962 (char *) "self",(char *) "rectBound", NULL
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7969 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7978 Py_INCREF(Py_None
); resultobj
= Py_None
;
7985 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7986 PyObject
*resultobj
;
7987 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7990 (char *) "self", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
7994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 Py_INCREF(Py_None
); resultobj
= Py_None
;
8009 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8012 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8014 return Py_BuildValue((char *)"");
8016 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
*resultobj
;
8018 wxWindow
*arg1
= (wxWindow
*) 0 ;
8019 int arg2
= (int) wxID_ANY
;
8020 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8021 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8022 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8023 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8024 long arg5
= (long) 0 ;
8025 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8026 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8027 wxPyVScrolledWindow
*result
;
8030 bool temp6
= False
;
8031 PyObject
* obj0
= 0 ;
8032 PyObject
* obj2
= 0 ;
8033 PyObject
* obj3
= 0 ;
8034 PyObject
* obj5
= 0 ;
8036 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8044 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8050 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8055 arg6
= wxString_in_helper(obj5
);
8056 if (arg6
== NULL
) SWIG_fail
;
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8062 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8067 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8082 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
;
8084 wxPyVScrolledWindow
*result
;
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8104 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8107 PyObject
*arg2
= (PyObject
*) 0 ;
8108 PyObject
*arg3
= (PyObject
*) 0 ;
8109 PyObject
* obj0
= 0 ;
8110 PyObject
* obj1
= 0 ;
8111 PyObject
* obj2
= 0 ;
8113 (char *) "self",(char *) "self",(char *) "_class", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 Py_INCREF(Py_None
); resultobj
= Py_None
;
8134 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8137 wxWindow
*arg2
= (wxWindow
*) 0 ;
8138 int arg3
= (int) wxID_ANY
;
8139 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8140 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8141 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8142 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8143 long arg6
= (long) 0 ;
8144 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8145 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8149 bool temp7
= False
;
8150 PyObject
* obj0
= 0 ;
8151 PyObject
* obj1
= 0 ;
8152 PyObject
* obj3
= 0 ;
8153 PyObject
* obj4
= 0 ;
8154 PyObject
* obj6
= 0 ;
8156 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8161 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8165 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8171 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8176 arg7
= wxString_in_helper(obj6
);
8177 if (arg7
== NULL
) SWIG_fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 resultobj
= PyInt_FromLong((long)result
);
8203 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8205 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8207 PyObject
* obj0
= 0 ;
8208 PyObject
* obj1
= 0 ;
8210 (char *) "self",(char *) "count", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8215 arg2
= (size_t) PyInt_AsLong(obj1
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8219 (arg1
)->SetLineCount(arg2
);
8221 wxPyEndAllowThreads(__tstate
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8224 Py_INCREF(Py_None
); resultobj
= Py_None
;
8231 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
;
8233 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8236 PyObject
* obj0
= 0 ;
8237 PyObject
* obj1
= 0 ;
8239 (char *) "self",(char *) "line", NULL
8242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8244 arg2
= (size_t) PyInt_AsLong(obj1
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8253 resultobj
= PyInt_FromLong((long)result
);
8260 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
*resultobj
;
8262 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8265 PyObject
* obj0
= 0 ;
8267 (char *) "self",(char *) "lines", NULL
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
8271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 result
= (bool)(arg1
)->ScrollLines(arg2
);
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8279 resultobj
= PyInt_FromLong((long)result
);
8286 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
;
8288 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8291 PyObject
* obj0
= 0 ;
8293 (char *) "self",(char *) "pages", NULL
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
8297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 result
= (bool)(arg1
)->ScrollPages(arg2
);
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8305 resultobj
= PyInt_FromLong((long)result
);
8312 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
*resultobj
;
8314 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8316 PyObject
* obj0
= 0 ;
8317 PyObject
* obj1
= 0 ;
8319 (char *) "self",(char *) "line", NULL
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8324 arg2
= (size_t) PyInt_AsLong(obj1
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 (arg1
)->RefreshLine(arg2
);
8330 wxPyEndAllowThreads(__tstate
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8333 Py_INCREF(Py_None
); resultobj
= Py_None
;
8340 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
;
8342 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8345 PyObject
* obj0
= 0 ;
8346 PyObject
* obj1
= 0 ;
8347 PyObject
* obj2
= 0 ;
8349 (char *) "self",(char *) "from",(char *) "to", NULL
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8354 arg2
= (size_t) PyInt_AsLong(obj1
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8356 arg3
= (size_t) PyInt_AsLong(obj2
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 (arg1
)->RefreshLines(arg2
,arg3
);
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8365 Py_INCREF(Py_None
); resultobj
= Py_None
;
8372 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
*resultobj
;
8374 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8378 PyObject
* obj0
= 0 ;
8380 (char *) "self",(char *) "x",(char *) "y", NULL
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 resultobj
= PyInt_FromLong((long)result
);
8399 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
;
8401 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8405 PyObject
* obj0
= 0 ;
8406 PyObject
* obj1
= 0 ;
8408 (char *) "self",(char *) "pt", NULL
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8415 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8424 resultobj
= PyInt_FromLong((long)result
);
8431 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
;
8433 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8434 PyObject
* obj0
= 0 ;
8436 (char *) "self", NULL
8439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
8440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 (arg1
)->RefreshAll();
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 Py_INCREF(Py_None
); resultobj
= Py_None
;
8455 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
;
8457 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8459 PyObject
* obj0
= 0 ;
8461 (char *) "self", NULL
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
8465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8473 resultobj
= PyInt_FromLong((long)result
);
8480 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
*resultobj
;
8482 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8484 PyObject
* obj0
= 0 ;
8486 (char *) "self", NULL
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
8490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
8495 wxPyEndAllowThreads(__tstate
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= PyInt_FromLong((long)result
);
8505 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
*resultobj
;
8507 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8509 PyObject
* obj0
= 0 ;
8511 (char *) "self", NULL
8514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
8515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
8520 wxPyEndAllowThreads(__tstate
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8523 resultobj
= PyInt_FromLong((long)result
);
8530 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
*resultobj
;
8532 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8535 PyObject
* obj0
= 0 ;
8536 PyObject
* obj1
= 0 ;
8538 (char *) "self",(char *) "line", NULL
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8543 arg2
= (size_t) PyInt_AsLong(obj1
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= PyInt_FromLong((long)result
);
8559 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8562 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
8564 return Py_BuildValue((char *)"");
8566 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8567 PyObject
*resultobj
;
8568 wxWindow
*arg1
= (wxWindow
*) 0 ;
8569 int arg2
= (int) wxID_ANY
;
8570 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8571 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8572 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8573 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8574 long arg5
= (long) 0 ;
8575 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
8576 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8577 wxPyVListBox
*result
;
8580 bool temp6
= False
;
8581 PyObject
* obj0
= 0 ;
8582 PyObject
* obj2
= 0 ;
8583 PyObject
* obj3
= 0 ;
8584 PyObject
* obj5
= 0 ;
8586 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8594 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8600 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8605 arg6
= wxString_in_helper(obj5
);
8606 if (arg6
== NULL
) SWIG_fail
;
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8617 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8632 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
;
8634 wxPyVListBox
*result
;
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
8641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8642 result
= (wxPyVListBox
*)new wxPyVListBox();
8644 wxPyEndAllowThreads(__tstate
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8654 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
;
8656 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8657 PyObject
*arg2
= (PyObject
*) 0 ;
8658 PyObject
*arg3
= (PyObject
*) 0 ;
8659 PyObject
* obj0
= 0 ;
8660 PyObject
* obj1
= 0 ;
8661 PyObject
* obj2
= 0 ;
8663 (char *) "self",(char *) "self",(char *) "_class", NULL
8666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8672 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8674 wxPyEndAllowThreads(__tstate
);
8675 if (PyErr_Occurred()) SWIG_fail
;
8677 Py_INCREF(Py_None
); resultobj
= Py_None
;
8684 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
*resultobj
;
8686 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8687 wxWindow
*arg2
= (wxWindow
*) 0 ;
8688 int arg3
= (int) wxID_ANY
;
8689 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8690 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8691 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8692 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8693 long arg6
= (long) 0 ;
8694 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
8695 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8699 bool temp7
= False
;
8700 PyObject
* obj0
= 0 ;
8701 PyObject
* obj1
= 0 ;
8702 PyObject
* obj3
= 0 ;
8703 PyObject
* obj4
= 0 ;
8704 PyObject
* obj6
= 0 ;
8706 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8711 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8715 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8721 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8726 arg7
= wxString_in_helper(obj6
);
8727 if (arg7
== NULL
) SWIG_fail
;
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8738 resultobj
= PyInt_FromLong((long)result
);
8753 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
;
8755 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8757 PyObject
* obj0
= 0 ;
8759 (char *) "self", NULL
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
8763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= PyInt_FromLong((long)result
);
8778 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8782 PyObject
* obj0
= 0 ;
8784 (char *) "self", NULL
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
8788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 resultobj
= PyInt_FromLong((long)result
);
8803 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8805 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8807 PyObject
* obj0
= 0 ;
8809 (char *) "self", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
8813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 resultobj
= PyInt_FromLong((long)result
);
8828 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
*resultobj
;
8830 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8833 PyObject
* obj0
= 0 ;
8834 PyObject
* obj1
= 0 ;
8836 (char *) "self",(char *) "item", NULL
8839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
8840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8841 arg2
= (size_t) PyInt_AsLong(obj1
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= PyInt_FromLong((long)result
);
8857 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
;
8859 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8862 PyObject
* obj0
= 0 ;
8863 PyObject
* obj1
= 0 ;
8865 (char *) "self",(char *) "item", NULL
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8870 arg2
= (size_t) PyInt_AsLong(obj1
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 resultobj
= PyInt_FromLong((long)result
);
8886 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
*resultobj
;
8888 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8890 PyObject
* obj0
= 0 ;
8892 (char *) "self", NULL
8895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
8896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8899 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8904 resultobj
= PyInt_FromLong((long)result
);
8911 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
*resultobj
;
8913 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8914 unsigned long *arg2
= 0 ;
8916 PyObject
* obj0
= 0 ;
8917 PyObject
* obj1
= 0 ;
8919 (char *) "self",(char *) "cookie", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8924 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8926 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 resultobj
= PyInt_FromLong((long)result
);
8942 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
*resultobj
;
8944 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8945 unsigned long *arg2
= 0 ;
8947 PyObject
* obj0
= 0 ;
8948 PyObject
* obj1
= 0 ;
8950 (char *) "self",(char *) "cookie", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8955 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8957 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8966 resultobj
= PyInt_FromLong((long)result
);
8973 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
;
8975 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8977 PyObject
* obj0
= 0 ;
8979 (char *) "self", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
8983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8992 wxPoint
* resultptr
;
8993 resultptr
= new wxPoint((wxPoint
&) result
);
8994 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
9002 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
;
9004 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9006 PyObject
* obj0
= 0 ;
9008 (char *) "self", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9016 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9017 result
= (wxColour
*) &_result_ref
;
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
9030 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
*resultobj
;
9032 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9034 PyObject
* obj0
= 0 ;
9035 PyObject
* obj1
= 0 ;
9037 (char *) "self",(char *) "count", NULL
9040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9042 arg2
= (size_t) PyInt_AsLong(obj1
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9046 (arg1
)->SetItemCount(arg2
);
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 Py_INCREF(Py_None
); resultobj
= Py_None
;
9058 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
;
9060 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9061 PyObject
* obj0
= 0 ;
9063 (char *) "self", NULL
9066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 wxPyEndAllowThreads(__tstate
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9075 Py_INCREF(Py_None
); resultobj
= Py_None
;
9082 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9083 PyObject
*resultobj
;
9084 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9086 PyObject
* obj0
= 0 ;
9088 (char *) "self",(char *) "selection", NULL
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VListBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
9092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 (arg1
)->SetSelection(arg2
);
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9100 Py_INCREF(Py_None
); resultobj
= Py_None
;
9107 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
*resultobj
;
9109 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9111 bool arg3
= (bool) True
;
9113 PyObject
* obj0
= 0 ;
9114 PyObject
* obj1
= 0 ;
9115 PyObject
* obj2
= 0 ;
9117 (char *) "self",(char *) "item",(char *) "select", NULL
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9122 arg2
= (size_t) PyInt_AsLong(obj1
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 arg3
= PyInt_AsLong(obj2
) ? true : false;
9126 if (PyErr_Occurred()) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= PyInt_FromLong((long)result
);
9142 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9148 PyObject
* obj0
= 0 ;
9149 PyObject
* obj1
= 0 ;
9150 PyObject
* obj2
= 0 ;
9152 (char *) "self",(char *) "from",(char *) "to", NULL
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9157 arg2
= (size_t) PyInt_AsLong(obj1
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9159 arg3
= (size_t) PyInt_AsLong(obj2
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 resultobj
= PyInt_FromLong((long)result
);
9175 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
;
9177 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9179 PyObject
* obj0
= 0 ;
9180 PyObject
* obj1
= 0 ;
9182 (char *) "self",(char *) "item", NULL
9185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
9186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9187 arg2
= (size_t) PyInt_AsLong(obj1
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 (arg1
)->Toggle(arg2
);
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 Py_INCREF(Py_None
); resultobj
= Py_None
;
9203 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
;
9205 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9207 PyObject
* obj0
= 0 ;
9209 (char *) "self", NULL
9212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
9213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 result
= (bool)(arg1
)->SelectAll();
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= PyInt_FromLong((long)result
);
9228 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
;
9230 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9232 PyObject
* obj0
= 0 ;
9234 (char *) "self", NULL
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
9238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 result
= (bool)(arg1
)->DeselectAll();
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9246 resultobj
= PyInt_FromLong((long)result
);
9253 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
*resultobj
;
9255 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9258 PyObject
* obj0
= 0 ;
9259 PyObject
* obj1
= 0 ;
9261 (char *) "self",(char *) "pt", NULL
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
9265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9268 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9277 Py_INCREF(Py_None
); resultobj
= Py_None
;
9284 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
*resultobj
;
9286 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9289 PyObject
* obj0
= 0 ;
9291 (char *) "self",(char *) "x",(char *) "y", NULL
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VListBox_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 (arg1
)->SetMargins(arg2
,arg3
);
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9303 Py_INCREF(Py_None
); resultobj
= Py_None
;
9310 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9311 PyObject
*resultobj
;
9312 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9313 wxColour
*arg2
= 0 ;
9315 PyObject
* obj0
= 0 ;
9316 PyObject
* obj1
= 0 ;
9318 (char *) "self",(char *) "col", NULL
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
9322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9325 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9329 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9334 Py_INCREF(Py_None
); resultobj
= Py_None
;
9341 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9344 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
9346 return Py_BuildValue((char *)"");
9348 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
*resultobj
;
9350 wxWindow
*arg1
= (wxWindow
*) 0 ;
9351 int arg2
= (int) wxID_ANY
;
9352 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9353 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9354 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9355 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9356 long arg5
= (long) 0 ;
9357 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9358 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9359 wxPyHtmlListBox
*result
;
9362 bool temp6
= False
;
9363 PyObject
* obj0
= 0 ;
9364 PyObject
* obj2
= 0 ;
9365 PyObject
* obj3
= 0 ;
9366 PyObject
* obj5
= 0 ;
9368 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_HtmlListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
9372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9376 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9382 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9387 arg6
= wxString_in_helper(obj5
);
9388 if (arg6
== NULL
) SWIG_fail
;
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9399 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9414 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
*resultobj
;
9416 wxPyHtmlListBox
*result
;
9421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9429 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9436 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
*resultobj
;
9438 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9439 PyObject
*arg2
= (PyObject
*) 0 ;
9440 PyObject
*arg3
= (PyObject
*) 0 ;
9441 PyObject
* obj0
= 0 ;
9442 PyObject
* obj1
= 0 ;
9443 PyObject
* obj2
= 0 ;
9445 (char *) "self",(char *) "self",(char *) "_class", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 Py_INCREF(Py_None
); resultobj
= Py_None
;
9466 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
;
9468 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9469 wxWindow
*arg2
= (wxWindow
*) 0 ;
9470 int arg3
= (int) wxID_ANY
;
9471 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9472 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9473 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9474 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9475 long arg6
= (long) 0 ;
9476 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9477 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9481 bool temp7
= False
;
9482 PyObject
* obj0
= 0 ;
9483 PyObject
* obj1
= 0 ;
9484 PyObject
* obj3
= 0 ;
9485 PyObject
* obj4
= 0 ;
9486 PyObject
* obj6
= 0 ;
9488 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
9492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9493 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9497 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9503 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9508 arg7
= wxString_in_helper(obj6
);
9509 if (arg7
== NULL
) SWIG_fail
;
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= PyInt_FromLong((long)result
);
9535 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9538 PyObject
* obj0
= 0 ;
9540 (char *) "self", NULL
9543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
9544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 (arg1
)->RefreshAll();
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9552 Py_INCREF(Py_None
); resultobj
= Py_None
;
9559 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
*resultobj
;
9561 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9563 PyObject
* obj0
= 0 ;
9564 PyObject
* obj1
= 0 ;
9566 (char *) "self",(char *) "count", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9571 arg2
= (size_t) PyInt_AsLong(obj1
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 (arg1
)->SetItemCount(arg2
);
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 Py_INCREF(Py_None
); resultobj
= Py_None
;
9587 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9590 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
9592 return Py_BuildValue((char *)"");
9594 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxTaskBarIcon
*result
;
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
9603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9604 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIcon
, 1);
9616 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9618 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9619 PyObject
* obj0
= 0 ;
9621 (char *) "self", NULL
9624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
9625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9633 Py_INCREF(Py_None
); resultobj
= Py_None
;
9640 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
;
9642 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9644 PyObject
* obj0
= 0 ;
9646 (char *) "self", NULL
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
9650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9658 resultobj
= PyInt_FromLong((long)result
);
9665 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
*resultobj
;
9667 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9669 PyObject
* obj0
= 0 ;
9671 (char *) "self", NULL
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
9675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9678 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
9680 wxPyEndAllowThreads(__tstate
);
9681 if (PyErr_Occurred()) SWIG_fail
;
9683 resultobj
= PyInt_FromLong((long)result
);
9690 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
*resultobj
;
9692 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9694 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9695 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9697 bool temp3
= False
;
9698 PyObject
* obj0
= 0 ;
9699 PyObject
* obj1
= 0 ;
9700 PyObject
* obj2
= 0 ;
9702 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9707 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9709 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9713 arg3
= wxString_in_helper(obj2
);
9714 if (arg3
== NULL
) SWIG_fail
;
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= PyInt_FromLong((long)result
);
9740 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
*resultobj
;
9742 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9744 PyObject
* obj0
= 0 ;
9746 (char *) "self", NULL
9749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
9750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 result
= (bool)(arg1
)->RemoveIcon();
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9758 resultobj
= PyInt_FromLong((long)result
);
9765 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
;
9767 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9768 wxMenu
*arg2
= (wxMenu
*) 0 ;
9770 PyObject
* obj0
= 0 ;
9771 PyObject
* obj1
= 0 ;
9773 (char *) "self",(char *) "menu", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
9777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9778 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 result
= (bool)(arg1
)->PopupMenu(arg2
);
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= PyInt_FromLong((long)result
);
9793 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
9795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9796 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
9798 return Py_BuildValue((char *)"");
9800 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
;
9803 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
9804 wxTaskBarIconEvent
*result
;
9805 PyObject
* obj1
= 0 ;
9807 (char *) "evtType",(char *) "tbIcon", NULL
9810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iO:new_TaskBarIconEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
9811 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIconEvent
, 1);
9826 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9829 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
9831 return Py_BuildValue((char *)"");
9833 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
;
9835 wxColourData
*result
;
9840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
9842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9843 result
= (wxColourData
*)new wxColourData();
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9848 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 1);
9855 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
;
9857 wxColourData
*arg1
= (wxColourData
*) 0 ;
9858 PyObject
* obj0
= 0 ;
9860 (char *) "self", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
9864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9872 Py_INCREF(Py_None
); resultobj
= Py_None
;
9879 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
*resultobj
;
9881 wxColourData
*arg1
= (wxColourData
*) 0 ;
9883 PyObject
* obj0
= 0 ;
9885 (char *) "self", NULL
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
9889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 result
= (bool)(arg1
)->GetChooseFull();
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9897 resultobj
= PyInt_FromLong((long)result
);
9904 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
;
9906 wxColourData
*arg1
= (wxColourData
*) 0 ;
9908 PyObject
* obj0
= 0 ;
9910 (char *) "self", NULL
9913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
9914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 result
= (arg1
)->GetColour();
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) SWIG_fail
;
9923 wxColour
* resultptr
;
9924 resultptr
= new wxColour((wxColour
&) result
);
9925 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9933 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
;
9935 wxColourData
*arg1
= (wxColourData
*) 0 ;
9938 PyObject
* obj0
= 0 ;
9940 (char *) "self",(char *) "i", NULL
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_GetCustomColour",kwnames
,&obj0
,&arg2
)) goto fail
;
9944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 result
= (arg1
)->GetCustomColour(arg2
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9953 wxColour
* resultptr
;
9954 resultptr
= new wxColour((wxColour
&) result
);
9955 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9963 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
*resultobj
;
9965 wxColourData
*arg1
= (wxColourData
*) 0 ;
9967 PyObject
* obj0
= 0 ;
9969 (char *) "self",(char *) "flag", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_SetChooseFull",kwnames
,&obj0
,&arg2
)) goto fail
;
9973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 (arg1
)->SetChooseFull(arg2
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 Py_INCREF(Py_None
); resultobj
= Py_None
;
9988 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9989 PyObject
*resultobj
;
9990 wxColourData
*arg1
= (wxColourData
*) 0 ;
9991 wxColour
*arg2
= 0 ;
9993 PyObject
* obj0
= 0 ;
9994 PyObject
* obj1
= 0 ;
9996 (char *) "self",(char *) "colour", NULL
9999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10003 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 (arg1
)->SetColour((wxColour
const &)*arg2
);
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10012 Py_INCREF(Py_None
); resultobj
= Py_None
;
10019 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
;
10021 wxColourData
*arg1
= (wxColourData
*) 0 ;
10023 wxColour
*arg3
= 0 ;
10025 PyObject
* obj0
= 0 ;
10026 PyObject
* obj2
= 0 ;
10027 char *kwnames
[] = {
10028 (char *) "self",(char *) "i",(char *) "colour", NULL
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ColourData_SetCustomColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10035 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 Py_INCREF(Py_None
); resultobj
= Py_None
;
10051 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
10053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10054 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
10056 return Py_BuildValue((char *)"");
10058 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
;
10060 wxWindow
*arg1
= (wxWindow
*) 0 ;
10061 wxColourData
*arg2
= (wxColourData
*) NULL
;
10062 wxColourDialog
*result
;
10063 PyObject
* obj0
= 0 ;
10064 PyObject
* obj1
= 0 ;
10065 char *kwnames
[] = {
10066 (char *) "parent",(char *) "data", NULL
10069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
10070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10072 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDialog
, 1);
10088 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
;
10090 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10091 wxColourData
*result
;
10092 PyObject
* obj0
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 wxColourData
&_result_ref
= (arg1
)->GetColourData();
10103 result
= (wxColourData
*) &_result_ref
;
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10109 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 0);
10116 static PyObject
*_wrap_ColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10118 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10120 PyObject
* obj0
= 0 ;
10121 char *kwnames
[] = {
10122 (char *) "self", NULL
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 result
= (int)(arg1
)->ShowModal();
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 resultobj
= PyInt_FromLong((long)result
);
10141 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10144 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
10146 return Py_BuildValue((char *)"");
10148 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10149 PyObject
*resultobj
;
10150 wxWindow
*arg1
= (wxWindow
*) 0 ;
10151 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
10152 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10153 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10154 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10155 long arg4
= (long) 0 ;
10156 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10157 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10158 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10159 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10160 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
10161 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10162 wxDirDialog
*result
;
10163 bool temp2
= False
;
10164 bool temp3
= False
;
10167 bool temp7
= False
;
10168 PyObject
* obj0
= 0 ;
10169 PyObject
* obj1
= 0 ;
10170 PyObject
* obj2
= 0 ;
10171 PyObject
* obj4
= 0 ;
10172 PyObject
* obj5
= 0 ;
10173 PyObject
* obj6
= 0 ;
10174 char *kwnames
[] = {
10175 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOlOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&obj5
,&obj6
)) goto fail
;
10179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10182 arg2
= wxString_in_helper(obj1
);
10183 if (arg2
== NULL
) SWIG_fail
;
10189 arg3
= wxString_in_helper(obj2
);
10190 if (arg3
== NULL
) SWIG_fail
;
10197 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10203 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10208 arg7
= wxString_in_helper(obj6
);
10209 if (arg7
== NULL
) SWIG_fail
;
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10220 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirDialog
, 1);
10251 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
;
10253 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10255 PyObject
* obj0
= 0 ;
10256 char *kwnames
[] = {
10257 (char *) "self", NULL
10260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 result
= (arg1
)->GetPath();
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10282 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
;
10284 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 result
= (arg1
)->GetMessage();
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10302 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10304 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10313 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
*resultobj
;
10315 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10317 PyObject
* obj0
= 0 ;
10318 char *kwnames
[] = {
10319 (char *) "self", NULL
10322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 result
= (long)(arg1
)->GetStyle();
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 resultobj
= PyInt_FromLong((long)result
);
10338 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
*resultobj
;
10340 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10341 wxString
*arg2
= 0 ;
10342 bool temp2
= False
;
10343 PyObject
* obj0
= 0 ;
10344 PyObject
* obj1
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "self",(char *) "message", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10352 arg2
= wxString_in_helper(obj1
);
10353 if (arg2
== NULL
) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 (arg1
)->SetMessage((wxString
const &)*arg2
);
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10363 Py_INCREF(Py_None
); resultobj
= Py_None
;
10378 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
;
10380 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10381 wxString
*arg2
= 0 ;
10382 bool temp2
= False
;
10383 PyObject
* obj0
= 0 ;
10384 PyObject
* obj1
= 0 ;
10385 char *kwnames
[] = {
10386 (char *) "self",(char *) "path", NULL
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10392 arg2
= wxString_in_helper(obj1
);
10393 if (arg2
== NULL
) SWIG_fail
;
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 (arg1
)->SetPath((wxString
const &)*arg2
);
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10403 Py_INCREF(Py_None
); resultobj
= Py_None
;
10418 static PyObject
*_wrap_DirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10422 PyObject
* obj0
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 result
= (int)(arg1
)->ShowModal();
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10436 resultobj
= PyInt_FromLong((long)result
);
10443 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10446 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
10448 return Py_BuildValue((char *)"");
10450 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
;
10452 wxWindow
*arg1
= (wxWindow
*) 0 ;
10453 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
10454 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10455 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10456 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10457 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10458 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10459 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
10460 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
10461 long arg6
= (long) 0 ;
10462 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10463 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10464 wxFileDialog
*result
;
10465 bool temp2
= False
;
10466 bool temp3
= False
;
10467 bool temp4
= False
;
10468 bool temp5
= False
;
10470 PyObject
* obj0
= 0 ;
10471 PyObject
* obj1
= 0 ;
10472 PyObject
* obj2
= 0 ;
10473 PyObject
* obj3
= 0 ;
10474 PyObject
* obj4
= 0 ;
10475 PyObject
* obj6
= 0 ;
10476 char *kwnames
[] = {
10477 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOlO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
10481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10484 arg2
= wxString_in_helper(obj1
);
10485 if (arg2
== NULL
) SWIG_fail
;
10491 arg3
= wxString_in_helper(obj2
);
10492 if (arg3
== NULL
) SWIG_fail
;
10498 arg4
= wxString_in_helper(obj3
);
10499 if (arg4
== NULL
) SWIG_fail
;
10505 arg5
= wxString_in_helper(obj4
);
10506 if (arg5
== NULL
) SWIG_fail
;
10513 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDialog
, 1);
10562 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10565 wxString
*arg2
= 0 ;
10566 bool temp2
= False
;
10567 PyObject
* obj0
= 0 ;
10568 PyObject
* obj1
= 0 ;
10569 char *kwnames
[] = {
10570 (char *) "self",(char *) "message", NULL
10573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10576 arg2
= wxString_in_helper(obj1
);
10577 if (arg2
== NULL
) SWIG_fail
;
10581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10582 (arg1
)->SetMessage((wxString
const &)*arg2
);
10584 wxPyEndAllowThreads(__tstate
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10587 Py_INCREF(Py_None
); resultobj
= Py_None
;
10602 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10605 wxString
*arg2
= 0 ;
10606 bool temp2
= False
;
10607 PyObject
* obj0
= 0 ;
10608 PyObject
* obj1
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "self",(char *) "path", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10616 arg2
= wxString_in_helper(obj1
);
10617 if (arg2
== NULL
) SWIG_fail
;
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 (arg1
)->SetPath((wxString
const &)*arg2
);
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10627 Py_INCREF(Py_None
); resultobj
= Py_None
;
10642 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
;
10644 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10645 wxString
*arg2
= 0 ;
10646 bool temp2
= False
;
10647 PyObject
* obj0
= 0 ;
10648 PyObject
* obj1
= 0 ;
10649 char *kwnames
[] = {
10650 (char *) "self",(char *) "dir", NULL
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
10654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10656 arg2
= wxString_in_helper(obj1
);
10657 if (arg2
== NULL
) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 (arg1
)->SetDirectory((wxString
const &)*arg2
);
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 Py_INCREF(Py_None
); resultobj
= Py_None
;
10682 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
;
10684 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10685 wxString
*arg2
= 0 ;
10686 bool temp2
= False
;
10687 PyObject
* obj0
= 0 ;
10688 PyObject
* obj1
= 0 ;
10689 char *kwnames
[] = {
10690 (char *) "self",(char *) "name", NULL
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
10694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10696 arg2
= wxString_in_helper(obj1
);
10697 if (arg2
== NULL
) SWIG_fail
;
10701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10702 (arg1
)->SetFilename((wxString
const &)*arg2
);
10704 wxPyEndAllowThreads(__tstate
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10707 Py_INCREF(Py_None
); resultobj
= Py_None
;
10722 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
;
10724 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10725 wxString
*arg2
= 0 ;
10726 bool temp2
= False
;
10727 PyObject
* obj0
= 0 ;
10728 PyObject
* obj1
= 0 ;
10729 char *kwnames
[] = {
10730 (char *) "self",(char *) "wildCard", NULL
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
10734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10736 arg2
= wxString_in_helper(obj1
);
10737 if (arg2
== NULL
) SWIG_fail
;
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 (arg1
)->SetWildcard((wxString
const &)*arg2
);
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 Py_INCREF(Py_None
); resultobj
= Py_None
;
10762 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
;
10764 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10766 PyObject
* obj0
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self",(char *) "style", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:FileDialog_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 (arg1
)->SetStyle(arg2
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 Py_INCREF(Py_None
); resultobj
= Py_None
;
10787 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
;
10789 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10791 PyObject
* obj0
= 0 ;
10792 char *kwnames
[] = {
10793 (char *) "self",(char *) "filterIndex", NULL
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileDialog_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
10797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 (arg1
)->SetFilterIndex(arg2
);
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10805 Py_INCREF(Py_None
); resultobj
= Py_None
;
10812 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
*resultobj
;
10814 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10816 PyObject
* obj0
= 0 ;
10817 char *kwnames
[] = {
10818 (char *) "self", NULL
10821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10843 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
*resultobj
;
10845 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10847 PyObject
* obj0
= 0 ;
10848 char *kwnames
[] = {
10849 (char *) "self", NULL
10852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10856 result
= ((wxFileDialog
const *)arg1
)->GetPath();
10858 wxPyEndAllowThreads(__tstate
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10874 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
;
10876 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10878 PyObject
* obj0
= 0 ;
10879 char *kwnames
[] = {
10880 (char *) "self", NULL
10883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
10884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10905 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
;
10907 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10936 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
;
10938 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10940 PyObject
* obj0
= 0 ;
10941 char *kwnames
[] = {
10942 (char *) "self", NULL
10945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
10946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10967 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10968 PyObject
*resultobj
;
10969 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10971 PyObject
* obj0
= 0 ;
10972 char *kwnames
[] = {
10973 (char *) "self", NULL
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
10982 wxPyEndAllowThreads(__tstate
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10985 resultobj
= PyInt_FromLong((long)result
);
10992 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10993 PyObject
*resultobj
;
10994 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10996 PyObject
* obj0
= 0 ;
10997 char *kwnames
[] = {
10998 (char *) "self", NULL
11001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
11002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11010 resultobj
= PyInt_FromLong((long)result
);
11017 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
*resultobj
;
11019 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11021 PyObject
* obj0
= 0 ;
11022 char *kwnames
[] = {
11023 (char *) "self", NULL
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
11027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11035 resultobj
= result
;
11042 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
;
11044 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11046 PyObject
* obj0
= 0 ;
11047 char *kwnames
[] = {
11048 (char *) "self", NULL
11051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
11052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11055 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
11057 wxPyEndAllowThreads(__tstate
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11060 resultobj
= result
;
11067 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11070 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
11072 return Py_BuildValue((char *)"");
11074 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11075 PyObject
*resultobj
;
11076 wxWindow
*arg1
= (wxWindow
*) 0 ;
11077 wxString
*arg2
= 0 ;
11078 wxString
*arg3
= 0 ;
11080 wxString
*arg5
= (wxString
*) 0 ;
11081 long arg6
= (long) wxCHOICEDLG_STYLE
;
11082 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11083 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11084 wxMultiChoiceDialog
*result
;
11085 bool temp2
= False
;
11086 bool temp3
= False
;
11088 PyObject
* obj0
= 0 ;
11089 PyObject
* obj1
= 0 ;
11090 PyObject
* obj2
= 0 ;
11091 PyObject
* obj4
= 0 ;
11092 PyObject
* obj6
= 0 ;
11093 char *kwnames
[] = {
11094 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&arg6
,&obj6
)) goto fail
;
11098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11100 arg2
= wxString_in_helper(obj1
);
11101 if (arg2
== NULL
) SWIG_fail
;
11105 arg3
= wxString_in_helper(obj2
);
11106 if (arg3
== NULL
) SWIG_fail
;
11109 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11113 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11120 wxPyEndAllowThreads(__tstate
);
11121 if (PyErr_Occurred()) SWIG_fail
;
11123 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMultiChoiceDialog
, 1);
11146 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
;
11148 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11149 wxArrayInt
*arg2
= 0 ;
11150 PyObject
* obj0
= 0 ;
11151 PyObject
* obj1
= 0 ;
11152 char *kwnames
[] = {
11153 (char *) "self",(char *) "selections", NULL
11156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
11157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11159 if (! PySequence_Check(obj1
)) {
11160 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11163 arg2
= new wxArrayInt
;
11164 int i
, len
=PySequence_Length(obj1
);
11165 for (i
=0; i
<len
; i
++) {
11166 PyObject
* item
= PySequence_GetItem(obj1
, i
);
11167 PyObject
* number
= PyNumber_Int(item
);
11168 arg2
->Add(PyInt_AS_LONG(number
));
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11180 Py_INCREF(Py_None
); resultobj
= Py_None
;
11182 if (arg2
) delete arg2
;
11187 if (arg2
) delete arg2
;
11193 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11194 PyObject
*resultobj
;
11195 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11197 PyObject
* obj0
= 0 ;
11198 char *kwnames
[] = {
11199 (char *) "self", NULL
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
11203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= result
;
11218 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11221 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
11223 return Py_BuildValue((char *)"");
11225 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 wxWindow
*arg1
= (wxWindow
*) 0 ;
11228 wxString
*arg2
= 0 ;
11229 wxString
*arg3
= 0 ;
11231 wxString
*arg5
= (wxString
*) 0 ;
11232 long arg6
= (long) wxCHOICEDLG_STYLE
;
11233 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11234 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11235 wxSingleChoiceDialog
*result
;
11236 bool temp2
= False
;
11237 bool temp3
= False
;
11239 PyObject
* obj0
= 0 ;
11240 PyObject
* obj1
= 0 ;
11241 PyObject
* obj2
= 0 ;
11242 PyObject
* obj3
= 0 ;
11243 PyObject
* obj5
= 0 ;
11244 char *kwnames
[] = {
11245 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&obj5
)) goto fail
;
11249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11251 arg2
= wxString_in_helper(obj1
);
11252 if (arg2
== NULL
) SWIG_fail
;
11256 arg3
= wxString_in_helper(obj2
);
11257 if (arg3
== NULL
) SWIG_fail
;
11261 arg4
= PyList_Size(obj3
);
11262 arg5
= wxString_LIST_helper(obj3
);
11263 if (arg5
== NULL
) SWIG_fail
;
11268 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleChoiceDialog
, 1);
11288 if (arg5
) delete [] arg5
;
11301 if (arg5
) delete [] arg5
;
11307 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11308 PyObject
*resultobj
;
11309 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11311 PyObject
* obj0
= 0 ;
11312 char *kwnames
[] = {
11313 (char *) "self", NULL
11316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
11317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 result
= (int)(arg1
)->GetSelection();
11322 wxPyEndAllowThreads(__tstate
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11325 resultobj
= PyInt_FromLong((long)result
);
11332 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11333 PyObject
*resultobj
;
11334 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11336 PyObject
* obj0
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "self", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 result
= (arg1
)->GetStringSelection();
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11363 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11367 PyObject
* obj0
= 0 ;
11368 char *kwnames
[] = {
11369 (char *) "self",(char *) "sel", NULL
11372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 (arg1
)->SetSelection(arg2
);
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11381 Py_INCREF(Py_None
); resultobj
= Py_None
;
11388 static PyObject
*_wrap_SingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11389 PyObject
*resultobj
;
11390 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11392 PyObject
* obj0
= 0 ;
11393 char *kwnames
[] = {
11394 (char *) "self", NULL
11397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 result
= (int)(arg1
)->ShowModal();
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11406 resultobj
= PyInt_FromLong((long)result
);
11413 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11416 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
11418 return Py_BuildValue((char *)"");
11420 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11421 PyObject
*resultobj
;
11422 wxWindow
*arg1
= (wxWindow
*) 0 ;
11423 wxString
*arg2
= 0 ;
11424 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
11425 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11426 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11427 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11428 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
11429 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11430 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11431 wxTextEntryDialog
*result
;
11432 bool temp2
= False
;
11433 bool temp3
= False
;
11434 bool temp4
= False
;
11436 PyObject
* obj0
= 0 ;
11437 PyObject
* obj1
= 0 ;
11438 PyObject
* obj2
= 0 ;
11439 PyObject
* obj3
= 0 ;
11440 PyObject
* obj5
= 0 ;
11441 char *kwnames
[] = {
11442 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
11446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11448 arg2
= wxString_in_helper(obj1
);
11449 if (arg2
== NULL
) SWIG_fail
;
11454 arg3
= wxString_in_helper(obj2
);
11455 if (arg3
== NULL
) SWIG_fail
;
11461 arg4
= wxString_in_helper(obj3
);
11462 if (arg4
== NULL
) SWIG_fail
;
11469 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11479 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextEntryDialog
, 1);
11510 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
*resultobj
;
11512 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11514 PyObject
* obj0
= 0 ;
11515 char *kwnames
[] = {
11516 (char *) "self", NULL
11519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
11520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11523 result
= (arg1
)->GetValue();
11525 wxPyEndAllowThreads(__tstate
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11541 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11544 wxString
*arg2
= 0 ;
11545 bool temp2
= False
;
11546 PyObject
* obj0
= 0 ;
11547 PyObject
* obj1
= 0 ;
11548 char *kwnames
[] = {
11549 (char *) "self",(char *) "value", NULL
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11555 arg2
= wxString_in_helper(obj1
);
11556 if (arg2
== NULL
) SWIG_fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 (arg1
)->SetValue((wxString
const &)*arg2
);
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 Py_INCREF(Py_None
); resultobj
= Py_None
;
11581 static PyObject
*_wrap_TextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11582 PyObject
*resultobj
;
11583 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11585 PyObject
* obj0
= 0 ;
11586 char *kwnames
[] = {
11587 (char *) "self", NULL
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (int)(arg1
)->ShowModal();
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11599 resultobj
= PyInt_FromLong((long)result
);
11606 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11609 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
11611 return Py_BuildValue((char *)"");
11613 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11614 PyObject
*resultobj
;
11615 wxFontData
*result
;
11616 char *kwnames
[] = {
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
11622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11623 result
= (wxFontData
*)new wxFontData();
11625 wxPyEndAllowThreads(__tstate
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11628 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 1);
11635 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11636 PyObject
*resultobj
;
11637 wxFontData
*arg1
= (wxFontData
*) 0 ;
11638 PyObject
* obj0
= 0 ;
11639 char *kwnames
[] = {
11640 (char *) "self", NULL
11643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
11644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11649 wxPyEndAllowThreads(__tstate
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11652 Py_INCREF(Py_None
); resultobj
= Py_None
;
11659 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11660 PyObject
*resultobj
;
11661 wxFontData
*arg1
= (wxFontData
*) 0 ;
11663 PyObject
* obj0
= 0 ;
11664 PyObject
* obj1
= 0 ;
11665 char *kwnames
[] = {
11666 (char *) "self",(char *) "enable", NULL
11669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
11670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11671 arg2
= PyInt_AsLong(obj1
) ? true : false;
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 (arg1
)->EnableEffects(arg2
);
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11680 Py_INCREF(Py_None
); resultobj
= Py_None
;
11687 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
*resultobj
;
11689 wxFontData
*arg1
= (wxFontData
*) 0 ;
11691 PyObject
* obj0
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
11697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 result
= (bool)(arg1
)->GetAllowSymbols();
11702 wxPyEndAllowThreads(__tstate
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11705 resultobj
= PyInt_FromLong((long)result
);
11712 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
;
11714 wxFontData
*arg1
= (wxFontData
*) 0 ;
11716 PyObject
* obj0
= 0 ;
11717 char *kwnames
[] = {
11718 (char *) "self", NULL
11721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
11722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 result
= (arg1
)->GetColour();
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11731 wxColour
* resultptr
;
11732 resultptr
= new wxColour((wxColour
&) result
);
11733 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11741 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11742 PyObject
*resultobj
;
11743 wxFontData
*arg1
= (wxFontData
*) 0 ;
11745 PyObject
* obj0
= 0 ;
11746 char *kwnames
[] = {
11747 (char *) "self", NULL
11750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
11751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11754 result
= (arg1
)->GetChosenFont();
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11760 wxFont
* resultptr
;
11761 resultptr
= new wxFont((wxFont
&) result
);
11762 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11770 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
;
11772 wxFontData
*arg1
= (wxFontData
*) 0 ;
11774 PyObject
* obj0
= 0 ;
11775 char *kwnames
[] = {
11776 (char *) "self", NULL
11779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
11780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= (bool)(arg1
)->GetEnableEffects();
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= PyInt_FromLong((long)result
);
11795 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
;
11797 wxFontData
*arg1
= (wxFontData
*) 0 ;
11799 PyObject
* obj0
= 0 ;
11800 char *kwnames
[] = {
11801 (char *) "self", NULL
11804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
11805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 result
= (arg1
)->GetInitialFont();
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11814 wxFont
* resultptr
;
11815 resultptr
= new wxFont((wxFont
&) result
);
11816 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11824 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxFontData
*arg1
= (wxFontData
*) 0 ;
11828 PyObject
* obj0
= 0 ;
11829 char *kwnames
[] = {
11830 (char *) "self", NULL
11833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
11834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (bool)(arg1
)->GetShowHelp();
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= PyInt_FromLong((long)result
);
11849 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
*resultobj
;
11851 wxFontData
*arg1
= (wxFontData
*) 0 ;
11853 PyObject
* obj0
= 0 ;
11854 PyObject
* obj1
= 0 ;
11855 char *kwnames
[] = {
11856 (char *) "self",(char *) "allowSymbols", NULL
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
11860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11861 arg2
= PyInt_AsLong(obj1
) ? true : false;
11862 if (PyErr_Occurred()) SWIG_fail
;
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 (arg1
)->SetAllowSymbols(arg2
);
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11870 Py_INCREF(Py_None
); resultobj
= Py_None
;
11877 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
;
11879 wxFontData
*arg1
= (wxFontData
*) 0 ;
11881 PyObject
* obj0
= 0 ;
11882 PyObject
* obj1
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "self",(char *) "font", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11889 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11890 if (arg2
== NULL
) {
11891 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 Py_INCREF(Py_None
); resultobj
= Py_None
;
11907 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11908 PyObject
*resultobj
;
11909 wxFontData
*arg1
= (wxFontData
*) 0 ;
11910 wxColour
*arg2
= 0 ;
11912 PyObject
* obj0
= 0 ;
11913 PyObject
* obj1
= 0 ;
11914 char *kwnames
[] = {
11915 (char *) "self",(char *) "colour", NULL
11918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11922 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 (arg1
)->SetColour((wxColour
const &)*arg2
);
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 Py_INCREF(Py_None
); resultobj
= Py_None
;
11938 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
;
11940 wxFontData
*arg1
= (wxFontData
*) 0 ;
11942 PyObject
* obj0
= 0 ;
11943 PyObject
* obj1
= 0 ;
11944 char *kwnames
[] = {
11945 (char *) "self",(char *) "font", NULL
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11950 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11951 if (arg2
== NULL
) {
11952 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11956 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11961 Py_INCREF(Py_None
); resultobj
= Py_None
;
11968 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11969 PyObject
*resultobj
;
11970 wxFontData
*arg1
= (wxFontData
*) 0 ;
11973 PyObject
* obj0
= 0 ;
11974 char *kwnames
[] = {
11975 (char *) "self",(char *) "min",(char *) "max", NULL
11978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FontData_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 (arg1
)->SetRange(arg2
,arg3
);
11984 wxPyEndAllowThreads(__tstate
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11987 Py_INCREF(Py_None
); resultobj
= Py_None
;
11994 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11995 PyObject
*resultobj
;
11996 wxFontData
*arg1
= (wxFontData
*) 0 ;
11998 PyObject
* obj0
= 0 ;
11999 PyObject
* obj1
= 0 ;
12000 char *kwnames
[] = {
12001 (char *) "self",(char *) "showHelp", NULL
12004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
12005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12006 arg2
= PyInt_AsLong(obj1
) ? true : false;
12007 if (PyErr_Occurred()) SWIG_fail
;
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 (arg1
)->SetShowHelp(arg2
);
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12015 Py_INCREF(Py_None
); resultobj
= Py_None
;
12022 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
12024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12025 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
12027 return Py_BuildValue((char *)"");
12029 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
;
12031 wxWindow
*arg1
= (wxWindow
*) 0 ;
12032 wxFontData
*arg2
= 0 ;
12033 wxFontDialog
*result
;
12034 PyObject
* obj0
= 0 ;
12035 PyObject
* obj1
= 0 ;
12036 char *kwnames
[] = {
12037 (char *) "parent",(char *) "data", NULL
12040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
12041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12042 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12043 if (arg2
== NULL
) {
12044 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontDialog
, 1);
12060 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
;
12062 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
12063 wxFontData
*result
;
12064 PyObject
* obj0
= 0 ;
12065 char *kwnames
[] = {
12066 (char *) "self", NULL
12069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
12070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 wxFontData
&_result_ref
= (arg1
)->GetFontData();
12075 result
= (wxFontData
*) &_result_ref
;
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12081 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 0);
12088 static PyObject
*_wrap_FontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12089 PyObject
*resultobj
;
12090 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
12092 PyObject
* obj0
= 0 ;
12093 char *kwnames
[] = {
12094 (char *) "self", NULL
12097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 result
= (int)(arg1
)->ShowModal();
12103 wxPyEndAllowThreads(__tstate
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12106 resultobj
= PyInt_FromLong((long)result
);
12113 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12116 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
12118 return Py_BuildValue((char *)"");
12120 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12121 PyObject
*resultobj
;
12122 wxWindow
*arg1
= (wxWindow
*) 0 ;
12123 wxString
*arg2
= 0 ;
12124 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
12125 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12126 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12127 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12128 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12129 wxMessageDialog
*result
;
12130 bool temp2
= False
;
12131 bool temp3
= False
;
12133 PyObject
* obj0
= 0 ;
12134 PyObject
* obj1
= 0 ;
12135 PyObject
* obj2
= 0 ;
12136 PyObject
* obj4
= 0 ;
12137 char *kwnames
[] = {
12138 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OlO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
)) goto fail
;
12142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12144 arg2
= wxString_in_helper(obj1
);
12145 if (arg2
== NULL
) SWIG_fail
;
12150 arg3
= wxString_in_helper(obj2
);
12151 if (arg3
== NULL
) SWIG_fail
;
12158 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
12165 wxPyEndAllowThreads(__tstate
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12168 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMessageDialog
, 1);
12191 static PyObject
*_wrap_MessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxMessageDialog
*arg1
= (wxMessageDialog
*) 0 ;
12195 PyObject
* obj0
= 0 ;
12196 char *kwnames
[] = {
12197 (char *) "self", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MessageDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMessageDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 result
= (int)(arg1
)->ShowModal();
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12209 resultobj
= PyInt_FromLong((long)result
);
12216 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12219 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
12221 return Py_BuildValue((char *)"");
12223 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
;
12225 wxString
*arg1
= 0 ;
12226 wxString
*arg2
= 0 ;
12227 int arg3
= (int) 100 ;
12228 wxWindow
*arg4
= (wxWindow
*) NULL
;
12229 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
12230 wxProgressDialog
*result
;
12231 bool temp1
= False
;
12232 bool temp2
= False
;
12233 PyObject
* obj0
= 0 ;
12234 PyObject
* obj1
= 0 ;
12235 PyObject
* obj3
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOi:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
)) goto fail
;
12242 arg1
= wxString_in_helper(obj0
);
12243 if (arg1
== NULL
) SWIG_fail
;
12247 arg2
= wxString_in_helper(obj1
);
12248 if (arg2
== NULL
) SWIG_fail
;
12252 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProgressDialog
, 1);
12284 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12285 PyObject
*resultobj
;
12286 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12288 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12289 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12291 bool temp3
= False
;
12292 PyObject
* obj0
= 0 ;
12293 PyObject
* obj2
= 0 ;
12294 char *kwnames
[] = {
12295 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ProgressDialog_Update",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
12299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12302 arg3
= wxString_in_helper(obj2
);
12303 if (arg3
== NULL
) SWIG_fail
;
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12314 resultobj
= PyInt_FromLong((long)result
);
12329 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12330 PyObject
*resultobj
;
12331 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12332 PyObject
* obj0
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
12338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12343 wxPyEndAllowThreads(__tstate
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12346 Py_INCREF(Py_None
); resultobj
= Py_None
;
12353 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12356 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
12358 return Py_BuildValue((char *)"");
12360 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12361 PyObject
*resultobj
;
12362 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12363 int arg2
= (int) 0 ;
12364 wxFindDialogEvent
*result
;
12365 char *kwnames
[] = {
12366 (char *) "commandType",(char *) "id", NULL
12369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FindDialogEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12377 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindDialogEvent
, 1);
12384 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
;
12386 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12388 PyObject
* obj0
= 0 ;
12389 char *kwnames
[] = {
12390 (char *) "self", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
12394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 result
= (int)(arg1
)->GetFlags();
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12402 resultobj
= PyInt_FromLong((long)result
);
12409 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12410 PyObject
*resultobj
;
12411 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12413 PyObject
* obj0
= 0 ;
12414 char *kwnames
[] = {
12415 (char *) "self", NULL
12418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
12419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 result
= (arg1
)->GetFindString();
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12440 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
;
12442 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12444 PyObject
* obj0
= 0 ;
12445 char *kwnames
[] = {
12446 (char *) "self", NULL
12449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12455 result
= (wxString
*) &_result_ref
;
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12461 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
12468 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
;
12470 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12471 wxFindReplaceDialog
*result
;
12472 PyObject
* obj0
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self", NULL
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
12478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12486 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 0);
12493 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12494 PyObject
*resultobj
;
12495 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12497 PyObject
* obj0
= 0 ;
12498 char *kwnames
[] = {
12499 (char *) "self",(char *) "flags", NULL
12502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindDialogEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 (arg1
)->SetFlags(arg2
);
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12511 Py_INCREF(Py_None
); resultobj
= Py_None
;
12518 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12519 PyObject
*resultobj
;
12520 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12521 wxString
*arg2
= 0 ;
12522 bool temp2
= False
;
12523 PyObject
* obj0
= 0 ;
12524 PyObject
* obj1
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "self",(char *) "str", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12532 arg2
= wxString_in_helper(obj1
);
12533 if (arg2
== NULL
) SWIG_fail
;
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 (arg1
)->SetFindString((wxString
const &)*arg2
);
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12543 Py_INCREF(Py_None
); resultobj
= Py_None
;
12558 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12559 PyObject
*resultobj
;
12560 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12561 wxString
*arg2
= 0 ;
12562 bool temp2
= False
;
12563 PyObject
* obj0
= 0 ;
12564 PyObject
* obj1
= 0 ;
12565 char *kwnames
[] = {
12566 (char *) "self",(char *) "str", NULL
12569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12572 arg2
= wxString_in_helper(obj1
);
12573 if (arg2
== NULL
) SWIG_fail
;
12577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 Py_INCREF(Py_None
); resultobj
= Py_None
;
12598 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12601 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
12603 return Py_BuildValue((char *)"");
12605 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
;
12607 int arg1
= (int) 0 ;
12608 wxFindReplaceData
*result
;
12609 char *kwnames
[] = {
12610 (char *) "flags", NULL
12613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FindReplaceData",kwnames
,&arg1
)) goto fail
;
12615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12616 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
12618 wxPyEndAllowThreads(__tstate
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12621 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 1);
12628 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12629 PyObject
*resultobj
;
12630 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12631 PyObject
* obj0
= 0 ;
12632 char *kwnames
[] = {
12633 (char *) "self", NULL
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
12637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12642 wxPyEndAllowThreads(__tstate
);
12643 if (PyErr_Occurred()) SWIG_fail
;
12645 Py_INCREF(Py_None
); resultobj
= Py_None
;
12652 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12653 PyObject
*resultobj
;
12654 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12656 PyObject
* obj0
= 0 ;
12657 char *kwnames
[] = {
12658 (char *) "self", NULL
12661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
12662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 wxString
const &_result_ref
= (arg1
)->GetFindString();
12667 result
= (wxString
*) &_result_ref
;
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12673 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
12680 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12681 PyObject
*resultobj
;
12682 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12684 PyObject
* obj0
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "self", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12695 result
= (wxString
*) &_result_ref
;
12698 wxPyEndAllowThreads(__tstate
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12701 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
12708 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
;
12710 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12712 PyObject
* obj0
= 0 ;
12713 char *kwnames
[] = {
12714 (char *) "self", NULL
12717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
12718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12721 result
= (int)(arg1
)->GetFlags();
12723 wxPyEndAllowThreads(__tstate
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= PyInt_FromLong((long)result
);
12733 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
;
12735 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12737 PyObject
* obj0
= 0 ;
12738 char *kwnames
[] = {
12739 (char *) "self",(char *) "flags", NULL
12742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindReplaceData_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 (arg1
)->SetFlags(arg2
);
12748 wxPyEndAllowThreads(__tstate
);
12749 if (PyErr_Occurred()) SWIG_fail
;
12751 Py_INCREF(Py_None
); resultobj
= Py_None
;
12758 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12759 PyObject
*resultobj
;
12760 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12761 wxString
*arg2
= 0 ;
12762 bool temp2
= False
;
12763 PyObject
* obj0
= 0 ;
12764 PyObject
* obj1
= 0 ;
12765 char *kwnames
[] = {
12766 (char *) "self",(char *) "str", NULL
12769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12772 arg2
= wxString_in_helper(obj1
);
12773 if (arg2
== NULL
) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 (arg1
)->SetFindString((wxString
const &)*arg2
);
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 Py_INCREF(Py_None
); resultobj
= Py_None
;
12798 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
;
12800 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12801 wxString
*arg2
= 0 ;
12802 bool temp2
= False
;
12803 PyObject
* obj0
= 0 ;
12804 PyObject
* obj1
= 0 ;
12805 char *kwnames
[] = {
12806 (char *) "self",(char *) "str", NULL
12809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12812 arg2
= wxString_in_helper(obj1
);
12813 if (arg2
== NULL
) SWIG_fail
;
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12818 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12823 Py_INCREF(Py_None
); resultobj
= Py_None
;
12838 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
12840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12841 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
12843 return Py_BuildValue((char *)"");
12845 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12846 PyObject
*resultobj
;
12847 wxWindow
*arg1
= (wxWindow
*) 0 ;
12848 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12849 wxString
*arg3
= 0 ;
12850 int arg4
= (int) 0 ;
12851 wxFindReplaceDialog
*result
;
12852 bool temp3
= False
;
12853 PyObject
* obj0
= 0 ;
12854 PyObject
* obj1
= 0 ;
12855 PyObject
* obj2
= 0 ;
12856 char *kwnames
[] = {
12857 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
12861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12862 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12864 arg3
= wxString_in_helper(obj2
);
12865 if (arg3
== NULL
) SWIG_fail
;
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
12872 wxPyEndAllowThreads(__tstate
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12875 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12890 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12891 PyObject
*resultobj
;
12892 wxFindReplaceDialog
*result
;
12893 char *kwnames
[] = {
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12905 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12912 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
;
12914 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12915 wxWindow
*arg2
= (wxWindow
*) 0 ;
12916 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
12917 wxString
*arg4
= 0 ;
12918 int arg5
= (int) 0 ;
12920 bool temp4
= False
;
12921 PyObject
* obj0
= 0 ;
12922 PyObject
* obj1
= 0 ;
12923 PyObject
* obj2
= 0 ;
12924 PyObject
* obj3
= 0 ;
12925 char *kwnames
[] = {
12926 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
12930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12931 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12932 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12934 arg4
= wxString_in_helper(obj3
);
12935 if (arg4
== NULL
) SWIG_fail
;
12939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12940 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12942 wxPyEndAllowThreads(__tstate
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12945 resultobj
= PyInt_FromLong((long)result
);
12960 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12961 PyObject
*resultobj
;
12962 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12963 wxFindReplaceData
*result
;
12964 PyObject
* obj0
= 0 ;
12965 char *kwnames
[] = {
12966 (char *) "self", NULL
12969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
12970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 result
= (wxFindReplaceData
*)(arg1
)->GetData();
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12978 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 0);
12985 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12986 PyObject
*resultobj
;
12987 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12988 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12989 PyObject
* obj0
= 0 ;
12990 PyObject
* obj1
= 0 ;
12991 char *kwnames
[] = {
12992 (char *) "self",(char *) "data", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12997 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 (arg1
)->SetData(arg2
);
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13005 Py_INCREF(Py_None
); resultobj
= Py_None
;
13012 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13015 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
13017 return Py_BuildValue((char *)"");
13019 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
;
13021 wxWindow
*arg1
= (wxWindow
*) 0 ;
13023 wxString
*arg3
= 0 ;
13024 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13025 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13026 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13027 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13028 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
13029 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13030 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13031 wxMDIParentFrame
*result
;
13032 bool temp3
= False
;
13035 bool temp7
= False
;
13036 PyObject
* obj0
= 0 ;
13037 PyObject
* obj2
= 0 ;
13038 PyObject
* obj3
= 0 ;
13039 PyObject
* obj4
= 0 ;
13040 PyObject
* obj6
= 0 ;
13041 char *kwnames
[] = {
13042 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
13046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13048 arg3
= wxString_in_helper(obj2
);
13049 if (arg3
== NULL
) SWIG_fail
;
13055 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13061 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13066 arg7
= wxString_in_helper(obj6
);
13067 if (arg7
== NULL
) SWIG_fail
;
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13075 wxPyEndAllowThreads(__tstate
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13078 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
13101 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
;
13103 wxMDIParentFrame
*result
;
13104 char *kwnames
[] = {
13108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
13110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13111 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
13113 wxPyEndAllowThreads(__tstate
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13116 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
13123 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
;
13125 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13126 wxWindow
*arg2
= (wxWindow
*) 0 ;
13128 wxString
*arg4
= 0 ;
13129 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13130 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13131 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13132 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13133 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
13134 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13135 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13137 bool temp4
= False
;
13140 bool temp8
= False
;
13141 PyObject
* obj0
= 0 ;
13142 PyObject
* obj1
= 0 ;
13143 PyObject
* obj3
= 0 ;
13144 PyObject
* obj4
= 0 ;
13145 PyObject
* obj5
= 0 ;
13146 PyObject
* obj7
= 0 ;
13147 char *kwnames
[] = {
13148 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
13152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13153 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13155 arg4
= wxString_in_helper(obj3
);
13156 if (arg4
== NULL
) SWIG_fail
;
13162 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13168 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13173 arg8
= wxString_in_helper(obj7
);
13174 if (arg8
== NULL
) SWIG_fail
;
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13185 resultobj
= PyInt_FromLong((long)result
);
13208 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13209 PyObject
*resultobj
;
13210 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13211 PyObject
* obj0
= 0 ;
13212 char *kwnames
[] = {
13213 (char *) "self", NULL
13216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
13217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13220 (arg1
)->ActivateNext();
13222 wxPyEndAllowThreads(__tstate
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13225 Py_INCREF(Py_None
); resultobj
= Py_None
;
13232 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13233 PyObject
*resultobj
;
13234 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13235 PyObject
* obj0
= 0 ;
13236 char *kwnames
[] = {
13237 (char *) "self", NULL
13240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
13241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 (arg1
)->ActivatePrevious();
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13249 Py_INCREF(Py_None
); resultobj
= Py_None
;
13256 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
;
13258 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13259 PyObject
* obj0
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "self", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
13265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 (arg1
)->ArrangeIcons();
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 Py_INCREF(Py_None
); resultobj
= Py_None
;
13280 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13283 PyObject
* obj0
= 0 ;
13284 char *kwnames
[] = {
13285 (char *) "self", NULL
13288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
13289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 Py_INCREF(Py_None
); resultobj
= Py_None
;
13304 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13305 PyObject
*resultobj
;
13306 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13307 wxMDIChildFrame
*result
;
13308 PyObject
* obj0
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
13314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= wxPyMake_wxObject(result
);
13331 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
;
13333 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13334 wxMDIClientWindow
*result
;
13335 PyObject
* obj0
= 0 ;
13336 char *kwnames
[] = {
13337 (char *) "self", NULL
13340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
13341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13350 resultobj
= wxPyMake_wxObject(result
);
13358 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
;
13360 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13362 PyObject
* obj0
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
13368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 result
= (wxWindow
*)(arg1
)->GetToolBar();
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13377 resultobj
= wxPyMake_wxObject(result
);
13385 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= wxPyMake_wxObject(result
);
13412 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13415 wxMenu
*arg2
= (wxMenu
*) 0 ;
13416 PyObject
* obj0
= 0 ;
13417 PyObject
* obj1
= 0 ;
13418 char *kwnames
[] = {
13419 (char *) "self",(char *) "menu", NULL
13422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13424 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 (arg1
)->SetWindowMenu(arg2
);
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 Py_INCREF(Py_None
); resultobj
= Py_None
;
13439 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13440 PyObject
*resultobj
;
13441 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13442 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
13443 PyObject
* obj0
= 0 ;
13444 PyObject
* obj1
= 0 ;
13445 char *kwnames
[] = {
13446 (char *) "self",(char *) "toolbar", NULL
13449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
13450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13451 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 (arg1
)->SetToolBar(arg2
);
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 Py_INCREF(Py_None
); resultobj
= Py_None
;
13466 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
;
13468 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13469 PyObject
* obj0
= 0 ;
13470 char *kwnames
[] = {
13471 (char *) "self", NULL
13474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
13475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 wxPyEndAllowThreads(__tstate
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13483 Py_INCREF(Py_None
); resultobj
= Py_None
;
13490 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13493 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
13495 return Py_BuildValue((char *)"");
13497 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13498 PyObject
*resultobj
;
13499 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13501 wxString
*arg3
= 0 ;
13502 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13503 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13504 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13505 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13506 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
13507 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13508 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13509 wxMDIChildFrame
*result
;
13510 bool temp3
= False
;
13513 bool temp7
= False
;
13514 PyObject
* obj0
= 0 ;
13515 PyObject
* obj2
= 0 ;
13516 PyObject
* obj3
= 0 ;
13517 PyObject
* obj4
= 0 ;
13518 PyObject
* obj6
= 0 ;
13519 char *kwnames
[] = {
13520 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
13524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13526 arg3
= wxString_in_helper(obj2
);
13527 if (arg3
== NULL
) SWIG_fail
;
13533 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13539 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13544 arg7
= wxString_in_helper(obj6
);
13545 if (arg7
== NULL
) SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= wxPyMake_wxObject(result
);
13581 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
;
13583 wxMDIChildFrame
*result
;
13584 char *kwnames
[] = {
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13597 resultobj
= wxPyMake_wxObject(result
);
13605 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
;
13607 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13608 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13610 wxString
*arg4
= 0 ;
13611 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13612 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13613 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13614 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13615 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
13616 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13617 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13619 bool temp4
= False
;
13622 bool temp8
= False
;
13623 PyObject
* obj0
= 0 ;
13624 PyObject
* obj1
= 0 ;
13625 PyObject
* obj3
= 0 ;
13626 PyObject
* obj4
= 0 ;
13627 PyObject
* obj5
= 0 ;
13628 PyObject
* obj7
= 0 ;
13629 char *kwnames
[] = {
13630 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
13634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13635 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13637 arg4
= wxString_in_helper(obj3
);
13638 if (arg4
== NULL
) SWIG_fail
;
13644 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13650 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13655 arg8
= wxString_in_helper(obj7
);
13656 if (arg8
== NULL
) SWIG_fail
;
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13667 resultobj
= PyInt_FromLong((long)result
);
13690 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13691 PyObject
*resultobj
;
13692 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13693 PyObject
* obj0
= 0 ;
13694 char *kwnames
[] = {
13695 (char *) "self", NULL
13698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
13699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 (arg1
)->Activate();
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13707 Py_INCREF(Py_None
); resultobj
= Py_None
;
13714 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
;
13716 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13718 PyObject
* obj0
= 0 ;
13719 PyObject
* obj1
= 0 ;
13720 char *kwnames
[] = {
13721 (char *) "self",(char *) "maximize", NULL
13724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
13725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13726 arg2
= PyInt_AsLong(obj1
) ? true : false;
13727 if (PyErr_Occurred()) SWIG_fail
;
13729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13730 (arg1
)->Maximize(arg2
);
13732 wxPyEndAllowThreads(__tstate
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13735 Py_INCREF(Py_None
); resultobj
= Py_None
;
13742 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13743 PyObject
*resultobj
;
13744 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13745 PyObject
* obj0
= 0 ;
13746 char *kwnames
[] = {
13747 (char *) "self", NULL
13750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
13751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13756 wxPyEndAllowThreads(__tstate
);
13757 if (PyErr_Occurred()) SWIG_fail
;
13759 Py_INCREF(Py_None
); resultobj
= Py_None
;
13766 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13769 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
13771 return Py_BuildValue((char *)"");
13773 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
;
13775 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13776 long arg2
= (long) 0 ;
13777 wxMDIClientWindow
*result
;
13778 PyObject
* obj0
= 0 ;
13779 char *kwnames
[] = {
13780 (char *) "parent",(char *) "style", NULL
13783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:new_MDIClientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
13784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13787 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
13789 wxPyEndAllowThreads(__tstate
);
13790 if (PyErr_Occurred()) SWIG_fail
;
13793 resultobj
= wxPyMake_wxObject(result
);
13801 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13802 PyObject
*resultobj
;
13803 wxMDIClientWindow
*result
;
13804 char *kwnames
[] = {
13808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
13810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13811 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13817 resultobj
= wxPyMake_wxObject(result
);
13825 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13826 PyObject
*resultobj
;
13827 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
13828 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13829 long arg3
= (long) 0 ;
13831 PyObject
* obj0
= 0 ;
13832 PyObject
* obj1
= 0 ;
13833 char *kwnames
[] = {
13834 (char *) "self",(char *) "parent",(char *) "style", NULL
13837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIClientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13839 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13847 resultobj
= PyInt_FromLong((long)result
);
13854 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
13856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13857 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
13859 return Py_BuildValue((char *)"");
13861 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxWindow
*arg1
= (wxWindow
*) 0 ;
13865 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13866 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13867 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13868 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13869 long arg5
= (long) 0 ;
13870 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13871 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13872 wxPyWindow
*result
;
13875 bool temp6
= False
;
13876 PyObject
* obj0
= 0 ;
13877 PyObject
* obj2
= 0 ;
13878 PyObject
* obj3
= 0 ;
13879 PyObject
* obj5
= 0 ;
13880 char *kwnames
[] = {
13881 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
13885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13889 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13895 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13900 arg6
= wxString_in_helper(obj5
);
13901 if (arg6
== NULL
) SWIG_fail
;
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13907 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13909 wxPyEndAllowThreads(__tstate
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13912 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyWindow
, 1);
13927 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13928 PyObject
*resultobj
;
13929 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13930 PyObject
*arg2
= (PyObject
*) 0 ;
13931 PyObject
*arg3
= (PyObject
*) 0 ;
13932 PyObject
* obj0
= 0 ;
13933 PyObject
* obj1
= 0 ;
13934 PyObject
* obj2
= 0 ;
13935 char *kwnames
[] = {
13936 (char *) "self",(char *) "self",(char *) "_class", NULL
13939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13947 wxPyEndAllowThreads(__tstate
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13950 Py_INCREF(Py_None
); resultobj
= Py_None
;
13957 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13958 PyObject
*resultobj
;
13959 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13964 PyObject
* obj0
= 0 ;
13965 char *kwnames
[] = {
13966 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
13975 wxPyEndAllowThreads(__tstate
);
13976 if (PyErr_Occurred()) SWIG_fail
;
13978 Py_INCREF(Py_None
); resultobj
= Py_None
;
13985 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13986 PyObject
*resultobj
;
13987 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13992 int arg6
= (int) wxSIZE_AUTO
;
13993 PyObject
* obj0
= 0 ;
13994 char *kwnames
[] = {
13995 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14004 wxPyEndAllowThreads(__tstate
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14007 Py_INCREF(Py_None
); resultobj
= Py_None
;
14014 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
;
14016 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14019 PyObject
* obj0
= 0 ;
14020 char *kwnames
[] = {
14021 (char *) "self",(char *) "width",(char *) "height", NULL
14024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14033 Py_INCREF(Py_None
); resultobj
= Py_None
;
14040 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
;
14042 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14045 PyObject
* obj0
= 0 ;
14046 char *kwnames
[] = {
14047 (char *) "self",(char *) "x",(char *) "y", NULL
14050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14059 Py_INCREF(Py_None
); resultobj
= Py_None
;
14066 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14067 PyObject
*resultobj
;
14068 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14069 int *arg2
= (int *) 0 ;
14070 int *arg3
= (int *) 0 ;
14073 PyObject
* obj0
= 0 ;
14074 char *kwnames
[] = {
14075 (char *) "self", NULL
14080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
14081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 Py_INCREF(Py_None
); resultobj
= Py_None
;
14091 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14092 resultobj
= t_output_helper(resultobj
,o
);
14095 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14096 resultobj
= t_output_helper(resultobj
,o
);
14104 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14105 PyObject
*resultobj
;
14106 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14107 int *arg2
= (int *) 0 ;
14108 int *arg3
= (int *) 0 ;
14111 PyObject
* obj0
= 0 ;
14112 char *kwnames
[] = {
14113 (char *) "self", NULL
14118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
14119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 Py_INCREF(Py_None
); resultobj
= Py_None
;
14129 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14130 resultobj
= t_output_helper(resultobj
,o
);
14133 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14134 resultobj
= t_output_helper(resultobj
,o
);
14142 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14143 PyObject
*resultobj
;
14144 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14145 int *arg2
= (int *) 0 ;
14146 int *arg3
= (int *) 0 ;
14149 PyObject
* obj0
= 0 ;
14150 char *kwnames
[] = {
14151 (char *) "self", NULL
14156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 Py_INCREF(Py_None
); resultobj
= Py_None
;
14167 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14168 resultobj
= t_output_helper(resultobj
,o
);
14171 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14172 resultobj
= t_output_helper(resultobj
,o
);
14180 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14181 PyObject
*resultobj
;
14182 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14184 PyObject
* obj0
= 0 ;
14185 char *kwnames
[] = {
14186 (char *) "self", NULL
14189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
14190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14199 wxSize
* resultptr
;
14200 resultptr
= new wxSize((wxSize
&) result
);
14201 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14209 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
;
14211 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14213 PyObject
* obj0
= 0 ;
14214 char *kwnames
[] = {
14215 (char *) "self", NULL
14218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
14219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14222 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
14224 wxPyEndAllowThreads(__tstate
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14228 wxSize
* resultptr
;
14229 resultptr
= new wxSize((wxSize
&) result
);
14230 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14238 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
;
14240 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14241 PyObject
* obj0
= 0 ;
14242 char *kwnames
[] = {
14243 (char *) "self", NULL
14246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14250 (arg1
)->base_InitDialog();
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14255 Py_INCREF(Py_None
); resultobj
= Py_None
;
14262 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
;
14264 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14266 PyObject
* obj0
= 0 ;
14267 char *kwnames
[] = {
14268 (char *) "self", NULL
14271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 result
= (bool)(arg1
)->base_TransferDataToWindow();
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14280 resultobj
= PyInt_FromLong((long)result
);
14287 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
;
14289 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14291 PyObject
* obj0
= 0 ;
14292 char *kwnames
[] = {
14293 (char *) "self", NULL
14296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
14297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14300 result
= (bool)(arg1
)->base_TransferDataFromWindow();
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14305 resultobj
= PyInt_FromLong((long)result
);
14312 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
;
14314 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14316 PyObject
* obj0
= 0 ;
14317 char *kwnames
[] = {
14318 (char *) "self", NULL
14321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
14322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= (bool)(arg1
)->base_Validate();
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14330 resultobj
= PyInt_FromLong((long)result
);
14337 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14338 PyObject
*resultobj
;
14339 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14341 PyObject
* obj0
= 0 ;
14342 char *kwnames
[] = {
14343 (char *) "self", NULL
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 resultobj
= PyInt_FromLong((long)result
);
14362 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
;
14364 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14366 PyObject
* obj0
= 0 ;
14367 char *kwnames
[] = {
14368 (char *) "self", NULL
14371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= PyInt_FromLong((long)result
);
14387 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14388 PyObject
*resultobj
;
14389 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14391 PyObject
* obj0
= 0 ;
14392 char *kwnames
[] = {
14393 (char *) "self", NULL
14396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
14397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14406 wxSize
* resultptr
;
14407 resultptr
= new wxSize((wxSize
&) result
);
14408 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14416 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
;
14418 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14419 wxWindow
*arg2
= (wxWindow
*) 0 ;
14420 PyObject
* obj0
= 0 ;
14421 PyObject
* obj1
= 0 ;
14422 char *kwnames
[] = {
14423 (char *) "self",(char *) "child", NULL
14426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14428 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 (arg1
)->base_AddChild(arg2
);
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14436 Py_INCREF(Py_None
); resultobj
= Py_None
;
14443 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14444 PyObject
*resultobj
;
14445 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14446 wxWindow
*arg2
= (wxWindow
*) 0 ;
14447 PyObject
* obj0
= 0 ;
14448 PyObject
* obj1
= 0 ;
14449 char *kwnames
[] = {
14450 (char *) "self",(char *) "child", NULL
14453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14455 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14458 (arg1
)->base_RemoveChild(arg2
);
14460 wxPyEndAllowThreads(__tstate
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14463 Py_INCREF(Py_None
); resultobj
= Py_None
;
14470 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
14472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14473 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
14475 return Py_BuildValue((char *)"");
14477 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14478 PyObject
*resultobj
;
14479 wxWindow
*arg1
= (wxWindow
*) 0 ;
14481 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14482 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14483 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14484 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14485 long arg5
= (long) 0 ;
14486 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14487 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14491 bool temp6
= False
;
14492 PyObject
* obj0
= 0 ;
14493 PyObject
* obj2
= 0 ;
14494 PyObject
* obj3
= 0 ;
14495 PyObject
* obj5
= 0 ;
14496 char *kwnames
[] = {
14497 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyPanel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
14501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14505 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14511 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14516 arg6
= wxString_in_helper(obj5
);
14517 if (arg6
== NULL
) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPanel
, 1);
14543 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
;
14545 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14546 PyObject
*arg2
= (PyObject
*) 0 ;
14547 PyObject
*arg3
= (PyObject
*) 0 ;
14548 PyObject
* obj0
= 0 ;
14549 PyObject
* obj1
= 0 ;
14550 PyObject
* obj2
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self",(char *) "self",(char *) "_class", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14566 Py_INCREF(Py_None
); resultobj
= Py_None
;
14573 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
;
14575 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14580 PyObject
* obj0
= 0 ;
14581 char *kwnames
[] = {
14582 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14594 Py_INCREF(Py_None
); resultobj
= Py_None
;
14601 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14602 PyObject
*resultobj
;
14603 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14608 int arg6
= (int) wxSIZE_AUTO
;
14609 PyObject
* obj0
= 0 ;
14610 char *kwnames
[] = {
14611 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14618 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14620 wxPyEndAllowThreads(__tstate
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14623 Py_INCREF(Py_None
); resultobj
= Py_None
;
14630 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
;
14632 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14635 PyObject
* obj0
= 0 ;
14636 char *kwnames
[] = {
14637 (char *) "self",(char *) "width",(char *) "height", NULL
14640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14649 Py_INCREF(Py_None
); resultobj
= Py_None
;
14656 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14657 PyObject
*resultobj
;
14658 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14661 PyObject
* obj0
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "self",(char *) "x",(char *) "y", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
14672 wxPyEndAllowThreads(__tstate
);
14673 if (PyErr_Occurred()) SWIG_fail
;
14675 Py_INCREF(Py_None
); resultobj
= Py_None
;
14682 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14683 PyObject
*resultobj
;
14684 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14685 int *arg2
= (int *) 0 ;
14686 int *arg3
= (int *) 0 ;
14689 PyObject
* obj0
= 0 ;
14690 char *kwnames
[] = {
14691 (char *) "self", NULL
14696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
14697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14700 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14705 Py_INCREF(Py_None
); resultobj
= Py_None
;
14707 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14708 resultobj
= t_output_helper(resultobj
,o
);
14711 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14712 resultobj
= t_output_helper(resultobj
,o
);
14720 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14721 PyObject
*resultobj
;
14722 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14723 int *arg2
= (int *) 0 ;
14724 int *arg3
= (int *) 0 ;
14727 PyObject
* obj0
= 0 ;
14728 char *kwnames
[] = {
14729 (char *) "self", NULL
14734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
14735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14738 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14743 Py_INCREF(Py_None
); resultobj
= Py_None
;
14745 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14746 resultobj
= t_output_helper(resultobj
,o
);
14749 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14750 resultobj
= t_output_helper(resultobj
,o
);
14758 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
;
14760 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14761 int *arg2
= (int *) 0 ;
14762 int *arg3
= (int *) 0 ;
14765 PyObject
* obj0
= 0 ;
14766 char *kwnames
[] = {
14767 (char *) "self", NULL
14772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
14778 wxPyEndAllowThreads(__tstate
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14781 Py_INCREF(Py_None
); resultobj
= Py_None
;
14783 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14784 resultobj
= t_output_helper(resultobj
,o
);
14787 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14788 resultobj
= t_output_helper(resultobj
,o
);
14796 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
;
14798 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14800 PyObject
* obj0
= 0 ;
14801 char *kwnames
[] = {
14802 (char *) "self", NULL
14805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
14806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14809 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
14811 wxPyEndAllowThreads(__tstate
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14815 wxSize
* resultptr
;
14816 resultptr
= new wxSize((wxSize
&) result
);
14817 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14825 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14826 PyObject
*resultobj
;
14827 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14829 PyObject
* obj0
= 0 ;
14830 char *kwnames
[] = {
14831 (char *) "self", NULL
14834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
14835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14838 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14844 wxSize
* resultptr
;
14845 resultptr
= new wxSize((wxSize
&) result
);
14846 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14854 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14855 PyObject
*resultobj
;
14856 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14857 PyObject
* obj0
= 0 ;
14858 char *kwnames
[] = {
14859 (char *) "self", NULL
14862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14866 (arg1
)->base_InitDialog();
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14871 Py_INCREF(Py_None
); resultobj
= Py_None
;
14878 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14882 PyObject
* obj0
= 0 ;
14883 char *kwnames
[] = {
14884 (char *) "self", NULL
14887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14891 result
= (bool)(arg1
)->base_TransferDataToWindow();
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= PyInt_FromLong((long)result
);
14903 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
;
14905 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14907 PyObject
* obj0
= 0 ;
14908 char *kwnames
[] = {
14909 (char *) "self", NULL
14912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
14913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 result
= (bool)(arg1
)->base_TransferDataFromWindow();
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= PyInt_FromLong((long)result
);
14928 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
;
14930 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14932 PyObject
* obj0
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "self", NULL
14937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
14938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 result
= (bool)(arg1
)->base_Validate();
14943 wxPyEndAllowThreads(__tstate
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14946 resultobj
= PyInt_FromLong((long)result
);
14953 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14957 PyObject
* obj0
= 0 ;
14958 char *kwnames
[] = {
14959 (char *) "self", NULL
14962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14966 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
14968 wxPyEndAllowThreads(__tstate
);
14969 if (PyErr_Occurred()) SWIG_fail
;
14971 resultobj
= PyInt_FromLong((long)result
);
14978 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14979 PyObject
*resultobj
;
14980 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14982 PyObject
* obj0
= 0 ;
14983 char *kwnames
[] = {
14984 (char *) "self", NULL
14987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14993 wxPyEndAllowThreads(__tstate
);
14994 if (PyErr_Occurred()) SWIG_fail
;
14996 resultobj
= PyInt_FromLong((long)result
);
15003 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
;
15005 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15007 PyObject
* obj0
= 0 ;
15008 char *kwnames
[] = {
15009 (char *) "self", NULL
15012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15016 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
15018 wxPyEndAllowThreads(__tstate
);
15019 if (PyErr_Occurred()) SWIG_fail
;
15022 wxSize
* resultptr
;
15023 resultptr
= new wxSize((wxSize
&) result
);
15024 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15032 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
;
15034 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15035 wxWindow
*arg2
= (wxWindow
*) 0 ;
15036 PyObject
* obj0
= 0 ;
15037 PyObject
* obj1
= 0 ;
15038 char *kwnames
[] = {
15039 (char *) "self",(char *) "child", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15044 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 (arg1
)->base_AddChild(arg2
);
15049 wxPyEndAllowThreads(__tstate
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15052 Py_INCREF(Py_None
); resultobj
= Py_None
;
15059 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15060 PyObject
*resultobj
;
15061 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15062 wxWindow
*arg2
= (wxWindow
*) 0 ;
15063 PyObject
* obj0
= 0 ;
15064 PyObject
* obj1
= 0 ;
15065 char *kwnames
[] = {
15066 (char *) "self",(char *) "child", NULL
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15071 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 (arg1
)->base_RemoveChild(arg2
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 Py_INCREF(Py_None
); resultobj
= Py_None
;
15086 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
15088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15089 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
15091 return Py_BuildValue((char *)"");
15093 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15094 PyObject
*resultobj
;
15095 wxPrintData
*result
;
15096 char *kwnames
[] = {
15100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
15102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15103 result
= (wxPrintData
*)new wxPrintData();
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15108 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 1);
15115 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15116 PyObject
*resultobj
;
15117 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15118 PyObject
* obj0
= 0 ;
15119 char *kwnames
[] = {
15120 (char *) "self", NULL
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
15124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 Py_INCREF(Py_None
); resultobj
= Py_None
;
15139 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15140 PyObject
*resultobj
;
15141 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15143 PyObject
* obj0
= 0 ;
15144 char *kwnames
[] = {
15145 (char *) "self", NULL
15148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
15149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 result
= (int)(arg1
)->GetNoCopies();
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15157 resultobj
= PyInt_FromLong((long)result
);
15164 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15165 PyObject
*resultobj
;
15166 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15168 PyObject
* obj0
= 0 ;
15169 char *kwnames
[] = {
15170 (char *) "self", NULL
15173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
15174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15177 result
= (bool)(arg1
)->GetCollate();
15179 wxPyEndAllowThreads(__tstate
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15182 resultobj
= PyInt_FromLong((long)result
);
15189 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
;
15191 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15193 PyObject
* obj0
= 0 ;
15194 char *kwnames
[] = {
15195 (char *) "self", NULL
15198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
15199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15202 result
= (int)(arg1
)->GetOrientation();
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15207 resultobj
= PyInt_FromLong((long)result
);
15214 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
;
15216 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15218 PyObject
* obj0
= 0 ;
15219 char *kwnames
[] = {
15220 (char *) "self", NULL
15223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
15224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15227 result
= (bool)(arg1
)->Ok();
15229 wxPyEndAllowThreads(__tstate
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15232 resultobj
= PyInt_FromLong((long)result
);
15239 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
;
15241 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15243 PyObject
* obj0
= 0 ;
15244 char *kwnames
[] = {
15245 (char *) "self", NULL
15248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
15249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15253 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
15254 result
= (wxString
*) &_result_ref
;
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15267 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
;
15269 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15271 PyObject
* obj0
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
15277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15280 result
= (bool)(arg1
)->GetColour();
15282 wxPyEndAllowThreads(__tstate
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15285 resultobj
= PyInt_FromLong((long)result
);
15292 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15293 PyObject
*resultobj
;
15294 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15296 PyObject
* obj0
= 0 ;
15297 char *kwnames
[] = {
15298 (char *) "self", NULL
15301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
15302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 result
= (int)(arg1
)->GetDuplex();
15307 wxPyEndAllowThreads(__tstate
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15310 resultobj
= PyInt_FromLong((long)result
);
15317 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15318 PyObject
*resultobj
;
15319 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15321 PyObject
* obj0
= 0 ;
15322 char *kwnames
[] = {
15323 (char *) "self", NULL
15326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
15327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15330 result
= (int)(arg1
)->GetPaperId();
15332 wxPyEndAllowThreads(__tstate
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15335 resultobj
= PyInt_FromLong((long)result
);
15342 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15343 PyObject
*resultobj
;
15344 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15346 PyObject
* obj0
= 0 ;
15347 char *kwnames
[] = {
15348 (char *) "self", NULL
15351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
15352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15356 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
15357 result
= (wxSize
*) &_result_ref
;
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15363 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
15370 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
;
15372 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15373 wxPrintQuality result
;
15374 PyObject
* obj0
= 0 ;
15375 char *kwnames
[] = {
15376 (char *) "self", NULL
15379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
15380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 result
= (arg1
)->GetQuality();
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15389 wxPrintQuality
* resultptr
;
15390 resultptr
= new wxPrintQuality((wxPrintQuality
&) result
);
15391 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPrintQuality
, 1);
15399 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15400 PyObject
*resultobj
;
15401 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15403 PyObject
* obj0
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "self",(char *) "v", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
15409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 (arg1
)->SetNoCopies(arg2
);
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15417 Py_INCREF(Py_None
); resultobj
= Py_None
;
15424 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15425 PyObject
*resultobj
;
15426 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15428 PyObject
* obj0
= 0 ;
15429 PyObject
* obj1
= 0 ;
15430 char *kwnames
[] = {
15431 (char *) "self",(char *) "flag", NULL
15434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
15435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15436 arg2
= PyInt_AsLong(obj1
) ? true : false;
15437 if (PyErr_Occurred()) SWIG_fail
;
15439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15440 (arg1
)->SetCollate(arg2
);
15442 wxPyEndAllowThreads(__tstate
);
15443 if (PyErr_Occurred()) SWIG_fail
;
15445 Py_INCREF(Py_None
); resultobj
= Py_None
;
15452 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15453 PyObject
*resultobj
;
15454 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15456 PyObject
* obj0
= 0 ;
15457 char *kwnames
[] = {
15458 (char *) "self",(char *) "orient", NULL
15461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
15462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 (arg1
)->SetOrientation(arg2
);
15467 wxPyEndAllowThreads(__tstate
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15470 Py_INCREF(Py_None
); resultobj
= Py_None
;
15477 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
;
15479 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15480 wxString
*arg2
= 0 ;
15481 bool temp2
= False
;
15482 PyObject
* obj0
= 0 ;
15483 PyObject
* obj1
= 0 ;
15484 char *kwnames
[] = {
15485 (char *) "self",(char *) "name", NULL
15488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
15489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15491 arg2
= wxString_in_helper(obj1
);
15492 if (arg2
== NULL
) SWIG_fail
;
15496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15497 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
15499 wxPyEndAllowThreads(__tstate
);
15500 if (PyErr_Occurred()) SWIG_fail
;
15502 Py_INCREF(Py_None
); resultobj
= Py_None
;
15517 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15518 PyObject
*resultobj
;
15519 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15521 PyObject
* obj0
= 0 ;
15522 PyObject
* obj1
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "self",(char *) "colour", NULL
15527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15529 arg2
= PyInt_AsLong(obj1
) ? true : false;
15530 if (PyErr_Occurred()) SWIG_fail
;
15532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15533 (arg1
)->SetColour(arg2
);
15535 wxPyEndAllowThreads(__tstate
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15538 Py_INCREF(Py_None
); resultobj
= Py_None
;
15545 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15546 PyObject
*resultobj
;
15547 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15549 PyObject
* obj0
= 0 ;
15550 char *kwnames
[] = {
15551 (char *) "self",(char *) "duplex", NULL
15554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetDuplex",kwnames
,&obj0
,&arg2
)) goto fail
;
15555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 Py_INCREF(Py_None
); resultobj
= Py_None
;
15570 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
;
15572 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15574 PyObject
* obj0
= 0 ;
15575 char *kwnames
[] = {
15576 (char *) "self",(char *) "sizeId", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
15580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15588 Py_INCREF(Py_None
); resultobj
= Py_None
;
15595 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
;
15597 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15600 PyObject
* obj0
= 0 ;
15601 PyObject
* obj1
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "self",(char *) "sz", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15610 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 Py_INCREF(Py_None
); resultobj
= Py_None
;
15626 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
;
15628 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15629 wxPrintQuality arg2
;
15630 wxPrintQuality
*argp2
;
15631 PyObject
* obj0
= 0 ;
15632 PyObject
* obj1
= 0 ;
15633 char *kwnames
[] = {
15634 (char *) "self",(char *) "quality", NULL
15637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
15638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15639 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPrintQuality
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15643 (arg1
)->SetQuality(arg2
);
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15648 Py_INCREF(Py_None
); resultobj
= Py_None
;
15655 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15656 PyObject
*resultobj
;
15657 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15659 PyObject
* obj0
= 0 ;
15660 char *kwnames
[] = {
15661 (char *) "self", NULL
15664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
15665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
15670 result
= (wxString
*) &_result_ref
;
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15676 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15683 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15684 PyObject
*resultobj
;
15685 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15687 PyObject
* obj0
= 0 ;
15688 char *kwnames
[] = {
15689 (char *) "self", NULL
15692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
15693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
15698 result
= (wxString
*) &_result_ref
;
15701 wxPyEndAllowThreads(__tstate
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15704 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15711 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15712 PyObject
*resultobj
;
15713 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15715 PyObject
* obj0
= 0 ;
15716 char *kwnames
[] = {
15717 (char *) "self", NULL
15720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
15721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15725 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
15726 result
= (wxString
*) &_result_ref
;
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15732 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15739 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15740 PyObject
*resultobj
;
15741 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15743 PyObject
* obj0
= 0 ;
15744 char *kwnames
[] = {
15745 (char *) "self", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
15749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15753 wxString
const &_result_ref
= (arg1
)->GetFilename();
15754 result
= (wxString
*) &_result_ref
;
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15760 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15767 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
;
15769 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15771 PyObject
* obj0
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
15777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
15782 result
= (wxString
*) &_result_ref
;
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15788 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15795 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15796 PyObject
*resultobj
;
15797 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15799 PyObject
* obj0
= 0 ;
15800 char *kwnames
[] = {
15801 (char *) "self", NULL
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
15805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15808 result
= (double)(arg1
)->GetPrinterScaleX();
15810 wxPyEndAllowThreads(__tstate
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15813 resultobj
= PyFloat_FromDouble(result
);
15820 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15821 PyObject
*resultobj
;
15822 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15824 PyObject
* obj0
= 0 ;
15825 char *kwnames
[] = {
15826 (char *) "self", NULL
15829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
15830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15833 result
= (double)(arg1
)->GetPrinterScaleY();
15835 wxPyEndAllowThreads(__tstate
);
15836 if (PyErr_Occurred()) SWIG_fail
;
15838 resultobj
= PyFloat_FromDouble(result
);
15845 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
;
15847 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15849 PyObject
* obj0
= 0 ;
15850 char *kwnames
[] = {
15851 (char *) "self", NULL
15854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
15855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 result
= (long)(arg1
)->GetPrinterTranslateX();
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15863 resultobj
= PyInt_FromLong((long)result
);
15870 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
;
15872 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15874 PyObject
* obj0
= 0 ;
15875 char *kwnames
[] = {
15876 (char *) "self", NULL
15879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
15880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15883 result
= (long)(arg1
)->GetPrinterTranslateY();
15885 wxPyEndAllowThreads(__tstate
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15888 resultobj
= PyInt_FromLong((long)result
);
15895 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15896 PyObject
*resultobj
;
15897 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15899 PyObject
* obj0
= 0 ;
15900 char *kwnames
[] = {
15901 (char *) "self", NULL
15904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
15905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15908 result
= (int)(arg1
)->GetPrintMode();
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= PyInt_FromLong((long)result
);
15920 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15921 PyObject
*resultobj
;
15922 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15923 wxString
*arg2
= 0 ;
15924 bool temp2
= False
;
15925 PyObject
* obj0
= 0 ;
15926 PyObject
* obj1
= 0 ;
15927 char *kwnames
[] = {
15928 (char *) "self",(char *) "command", NULL
15931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15934 arg2
= wxString_in_helper(obj1
);
15935 if (arg2
== NULL
) SWIG_fail
;
15939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15945 Py_INCREF(Py_None
); resultobj
= Py_None
;
15960 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15961 PyObject
*resultobj
;
15962 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15963 wxString
*arg2
= 0 ;
15964 bool temp2
= False
;
15965 PyObject
* obj0
= 0 ;
15966 PyObject
* obj1
= 0 ;
15967 char *kwnames
[] = {
15968 (char *) "self",(char *) "options", NULL
15971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
15972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15974 arg2
= wxString_in_helper(obj1
);
15975 if (arg2
== NULL
) SWIG_fail
;
15979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15980 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
15982 wxPyEndAllowThreads(__tstate
);
15983 if (PyErr_Occurred()) SWIG_fail
;
15985 Py_INCREF(Py_None
); resultobj
= Py_None
;
16000 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16001 PyObject
*resultobj
;
16002 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16003 wxString
*arg2
= 0 ;
16004 bool temp2
= False
;
16005 PyObject
* obj0
= 0 ;
16006 PyObject
* obj1
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "self",(char *) "command", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
16012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16014 arg2
= wxString_in_helper(obj1
);
16015 if (arg2
== NULL
) SWIG_fail
;
16019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16020 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16025 Py_INCREF(Py_None
); resultobj
= Py_None
;
16040 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16041 PyObject
*resultobj
;
16042 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16043 wxString
*arg2
= 0 ;
16044 bool temp2
= False
;
16045 PyObject
* obj0
= 0 ;
16046 PyObject
* obj1
= 0 ;
16047 char *kwnames
[] = {
16048 (char *) "self",(char *) "filename", NULL
16051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
16052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16054 arg2
= wxString_in_helper(obj1
);
16055 if (arg2
== NULL
) SWIG_fail
;
16059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16060 (arg1
)->SetFilename((wxString
const &)*arg2
);
16062 wxPyEndAllowThreads(__tstate
);
16063 if (PyErr_Occurred()) SWIG_fail
;
16065 Py_INCREF(Py_None
); resultobj
= Py_None
;
16080 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16083 wxString
*arg2
= 0 ;
16084 bool temp2
= False
;
16085 PyObject
* obj0
= 0 ;
16086 PyObject
* obj1
= 0 ;
16087 char *kwnames
[] = {
16088 (char *) "self",(char *) "path", NULL
16091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
16092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16094 arg2
= wxString_in_helper(obj1
);
16095 if (arg2
== NULL
) SWIG_fail
;
16099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16100 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
16102 wxPyEndAllowThreads(__tstate
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16105 Py_INCREF(Py_None
); resultobj
= Py_None
;
16120 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16121 PyObject
*resultobj
;
16122 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16124 PyObject
* obj0
= 0 ;
16125 char *kwnames
[] = {
16126 (char *) "self",(char *) "x", NULL
16129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&arg2
)) goto fail
;
16130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 (arg1
)->SetPrinterScaleX(arg2
);
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16138 Py_INCREF(Py_None
); resultobj
= Py_None
;
16145 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16149 PyObject
* obj0
= 0 ;
16150 char *kwnames
[] = {
16151 (char *) "self",(char *) "y", NULL
16154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&arg2
)) goto fail
;
16155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 (arg1
)->SetPrinterScaleY(arg2
);
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16163 Py_INCREF(Py_None
); resultobj
= Py_None
;
16170 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16171 PyObject
*resultobj
;
16172 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16175 PyObject
* obj0
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "self",(char *) "x",(char *) "y", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PrintData_SetPrinterScaling",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 (arg1
)->SetPrinterScaling(arg2
,arg3
);
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16189 Py_INCREF(Py_None
); resultobj
= Py_None
;
16196 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16197 PyObject
*resultobj
;
16198 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 char *kwnames
[] = {
16202 (char *) "self",(char *) "x", NULL
16205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&arg2
)) goto fail
;
16206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 (arg1
)->SetPrinterTranslateX(arg2
);
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16214 Py_INCREF(Py_None
); resultobj
= Py_None
;
16221 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16222 PyObject
*resultobj
;
16223 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16225 PyObject
* obj0
= 0 ;
16226 char *kwnames
[] = {
16227 (char *) "self",(char *) "y", NULL
16230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&arg2
)) goto fail
;
16231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16234 (arg1
)->SetPrinterTranslateY(arg2
);
16236 wxPyEndAllowThreads(__tstate
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16239 Py_INCREF(Py_None
); resultobj
= Py_None
;
16246 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16247 PyObject
*resultobj
;
16248 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16251 PyObject
* obj0
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "self",(char *) "x",(char *) "y", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
16262 wxPyEndAllowThreads(__tstate
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16265 Py_INCREF(Py_None
); resultobj
= Py_None
;
16272 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16273 PyObject
*resultobj
;
16274 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16276 PyObject
* obj0
= 0 ;
16277 char *kwnames
[] = {
16278 (char *) "self",(char *) "printMode", NULL
16281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
16282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
16287 wxPyEndAllowThreads(__tstate
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16290 Py_INCREF(Py_None
); resultobj
= Py_None
;
16297 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
16299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16300 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
16302 return Py_BuildValue((char *)"");
16304 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16305 PyObject
*resultobj
;
16306 wxPageSetupDialogData
*result
;
16307 char *kwnames
[] = {
16311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16319 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 1);
16326 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16327 PyObject
*resultobj
;
16328 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16329 PyObject
* obj0
= 0 ;
16330 char *kwnames
[] = {
16331 (char *) "self", NULL
16334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
16335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 wxPyEndAllowThreads(__tstate
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16343 Py_INCREF(Py_None
); resultobj
= Py_None
;
16350 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16351 PyObject
*resultobj
;
16352 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16354 PyObject
* obj0
= 0 ;
16355 PyObject
* obj1
= 0 ;
16356 char *kwnames
[] = {
16357 (char *) "self",(char *) "flag", NULL
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16362 arg2
= PyInt_AsLong(obj1
) ? true : false;
16363 if (PyErr_Occurred()) SWIG_fail
;
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 (arg1
)->EnableHelp(arg2
);
16368 wxPyEndAllowThreads(__tstate
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16371 Py_INCREF(Py_None
); resultobj
= Py_None
;
16378 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16379 PyObject
*resultobj
;
16380 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16382 PyObject
* obj0
= 0 ;
16383 PyObject
* obj1
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self",(char *) "flag", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16390 arg2
= PyInt_AsLong(obj1
) ? true : false;
16391 if (PyErr_Occurred()) SWIG_fail
;
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 (arg1
)->EnableMargins(arg2
);
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16399 Py_INCREF(Py_None
); resultobj
= Py_None
;
16406 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16407 PyObject
*resultobj
;
16408 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16410 PyObject
* obj0
= 0 ;
16411 PyObject
* obj1
= 0 ;
16412 char *kwnames
[] = {
16413 (char *) "self",(char *) "flag", NULL
16416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16418 arg2
= PyInt_AsLong(obj1
) ? true : false;
16419 if (PyErr_Occurred()) SWIG_fail
;
16421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16422 (arg1
)->EnableOrientation(arg2
);
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16427 Py_INCREF(Py_None
); resultobj
= Py_None
;
16434 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
;
16436 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16438 PyObject
* obj0
= 0 ;
16439 PyObject
* obj1
= 0 ;
16440 char *kwnames
[] = {
16441 (char *) "self",(char *) "flag", NULL
16444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
16445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16446 arg2
= PyInt_AsLong(obj1
) ? true : false;
16447 if (PyErr_Occurred()) SWIG_fail
;
16449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16450 (arg1
)->EnablePaper(arg2
);
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16455 Py_INCREF(Py_None
); resultobj
= Py_None
;
16462 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16463 PyObject
*resultobj
;
16464 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self",(char *) "flag", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
16473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16474 arg2
= PyInt_AsLong(obj1
) ? true : false;
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 (arg1
)->EnablePrinter(arg2
);
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16483 Py_INCREF(Py_None
); resultobj
= Py_None
;
16490 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
;
16492 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16494 PyObject
* obj0
= 0 ;
16495 char *kwnames
[] = {
16496 (char *) "self", NULL
16499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
16500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 result
= (bool)(arg1
)->GetDefaultMinMargins();
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 resultobj
= PyInt_FromLong((long)result
);
16515 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16519 PyObject
* obj0
= 0 ;
16520 char *kwnames
[] = {
16521 (char *) "self", NULL
16524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
16525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (bool)(arg1
)->GetEnableMargins();
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= PyInt_FromLong((long)result
);
16540 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16541 PyObject
*resultobj
;
16542 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16544 PyObject
* obj0
= 0 ;
16545 char *kwnames
[] = {
16546 (char *) "self", NULL
16549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
16550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 result
= (bool)(arg1
)->GetEnableOrientation();
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16558 resultobj
= PyInt_FromLong((long)result
);
16565 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16566 PyObject
*resultobj
;
16567 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16569 PyObject
* obj0
= 0 ;
16570 char *kwnames
[] = {
16571 (char *) "self", NULL
16574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
16575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16578 result
= (bool)(arg1
)->GetEnablePaper();
16580 wxPyEndAllowThreads(__tstate
);
16581 if (PyErr_Occurred()) SWIG_fail
;
16583 resultobj
= PyInt_FromLong((long)result
);
16590 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16591 PyObject
*resultobj
;
16592 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16594 PyObject
* obj0
= 0 ;
16595 char *kwnames
[] = {
16596 (char *) "self", NULL
16599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
16600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 result
= (bool)(arg1
)->GetEnablePrinter();
16605 wxPyEndAllowThreads(__tstate
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16608 resultobj
= PyInt_FromLong((long)result
);
16615 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
;
16617 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16619 PyObject
* obj0
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "self", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
16625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16628 result
= (bool)(arg1
)->GetEnableHelp();
16630 wxPyEndAllowThreads(__tstate
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16633 resultobj
= PyInt_FromLong((long)result
);
16640 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
;
16642 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16644 PyObject
* obj0
= 0 ;
16645 char *kwnames
[] = {
16646 (char *) "self", NULL
16649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
16650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16653 result
= (bool)(arg1
)->GetDefaultInfo();
16655 wxPyEndAllowThreads(__tstate
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16658 resultobj
= PyInt_FromLong((long)result
);
16665 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16666 PyObject
*resultobj
;
16667 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16669 PyObject
* obj0
= 0 ;
16670 char *kwnames
[] = {
16671 (char *) "self", NULL
16674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16678 result
= (arg1
)->GetMarginTopLeft();
16680 wxPyEndAllowThreads(__tstate
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16684 wxPoint
* resultptr
;
16685 resultptr
= new wxPoint((wxPoint
&) result
);
16686 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16694 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
;
16696 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16698 PyObject
* obj0
= 0 ;
16699 char *kwnames
[] = {
16700 (char *) "self", NULL
16703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 result
= (arg1
)->GetMarginBottomRight();
16709 wxPyEndAllowThreads(__tstate
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16713 wxPoint
* resultptr
;
16714 resultptr
= new wxPoint((wxPoint
&) result
);
16715 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16723 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
;
16725 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16727 PyObject
* obj0
= 0 ;
16728 char *kwnames
[] = {
16729 (char *) "self", NULL
16732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16736 result
= (arg1
)->GetMinMarginTopLeft();
16738 wxPyEndAllowThreads(__tstate
);
16739 if (PyErr_Occurred()) SWIG_fail
;
16742 wxPoint
* resultptr
;
16743 resultptr
= new wxPoint((wxPoint
&) result
);
16744 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16752 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
;
16754 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16756 PyObject
* obj0
= 0 ;
16757 char *kwnames
[] = {
16758 (char *) "self", NULL
16761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16765 result
= (arg1
)->GetMinMarginBottomRight();
16767 wxPyEndAllowThreads(__tstate
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16771 wxPoint
* resultptr
;
16772 resultptr
= new wxPoint((wxPoint
&) result
);
16773 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16781 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
;
16783 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16785 PyObject
* obj0
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "self", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 result
= (int)(arg1
)->GetPaperId();
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16799 resultobj
= PyInt_FromLong((long)result
);
16806 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16810 PyObject
* obj0
= 0 ;
16811 char *kwnames
[] = {
16812 (char *) "self", NULL
16815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 result
= (arg1
)->GetPaperSize();
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16825 wxSize
* resultptr
;
16826 resultptr
= new wxSize((wxSize
&) result
);
16827 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16835 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16836 PyObject
*resultobj
;
16837 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16838 wxPrintData
*result
;
16839 PyObject
* obj0
= 0 ;
16840 char *kwnames
[] = {
16841 (char *) "self", NULL
16844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
16845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16850 result
= (wxPrintData
*) &_result_ref
;
16853 wxPyEndAllowThreads(__tstate
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16856 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
16863 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16864 PyObject
*resultobj
;
16865 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16867 PyObject
* obj0
= 0 ;
16868 char *kwnames
[] = {
16869 (char *) "self", NULL
16872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
16873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16876 result
= (bool)(arg1
)->Ok();
16878 wxPyEndAllowThreads(__tstate
);
16879 if (PyErr_Occurred()) SWIG_fail
;
16881 resultobj
= PyInt_FromLong((long)result
);
16888 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16889 PyObject
*resultobj
;
16890 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16892 PyObject
* obj0
= 0 ;
16893 PyObject
* obj1
= 0 ;
16894 char *kwnames
[] = {
16895 (char *) "self",(char *) "flag", NULL
16898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
16899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16900 arg2
= PyInt_AsLong(obj1
) ? true : false;
16901 if (PyErr_Occurred()) SWIG_fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 (arg1
)->SetDefaultInfo(arg2
);
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16909 Py_INCREF(Py_None
); resultobj
= Py_None
;
16916 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
;
16918 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16920 PyObject
* obj0
= 0 ;
16921 PyObject
* obj1
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self",(char *) "flag", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16928 arg2
= PyInt_AsLong(obj1
) ? true : false;
16929 if (PyErr_Occurred()) SWIG_fail
;
16931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16932 (arg1
)->SetDefaultMinMargins(arg2
);
16934 wxPyEndAllowThreads(__tstate
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16937 Py_INCREF(Py_None
); resultobj
= Py_None
;
16944 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
;
16946 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16947 wxPoint
*arg2
= 0 ;
16949 PyObject
* obj0
= 0 ;
16950 PyObject
* obj1
= 0 ;
16951 char *kwnames
[] = {
16952 (char *) "self",(char *) "pt", NULL
16955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16959 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16963 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16968 Py_INCREF(Py_None
); resultobj
= Py_None
;
16975 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16976 PyObject
*resultobj
;
16977 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16978 wxPoint
*arg2
= 0 ;
16980 PyObject
* obj0
= 0 ;
16981 PyObject
* obj1
= 0 ;
16982 char *kwnames
[] = {
16983 (char *) "self",(char *) "pt", NULL
16986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16990 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
16999 Py_INCREF(Py_None
); resultobj
= Py_None
;
17006 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
;
17008 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17009 wxPoint
*arg2
= 0 ;
17011 PyObject
* obj0
= 0 ;
17012 PyObject
* obj1
= 0 ;
17013 char *kwnames
[] = {
17014 (char *) "self",(char *) "pt", NULL
17017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
17018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17021 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17025 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17030 Py_INCREF(Py_None
); resultobj
= Py_None
;
17037 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17038 PyObject
*resultobj
;
17039 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17040 wxPoint
*arg2
= 0 ;
17042 PyObject
* obj0
= 0 ;
17043 PyObject
* obj1
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "self",(char *) "pt", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
17049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17052 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17056 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17061 Py_INCREF(Py_None
); resultobj
= Py_None
;
17068 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17069 PyObject
*resultobj
;
17070 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17072 PyObject
* obj0
= 0 ;
17073 char *kwnames
[] = {
17074 (char *) "self",(char *) "id", NULL
17077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
17078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17081 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
17083 wxPyEndAllowThreads(__tstate
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17086 Py_INCREF(Py_None
); resultobj
= Py_None
;
17093 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17094 PyObject
*resultobj
;
17095 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17098 PyObject
* obj0
= 0 ;
17099 PyObject
* obj1
= 0 ;
17100 char *kwnames
[] = {
17101 (char *) "self",(char *) "size", NULL
17104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17108 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17112 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
17114 wxPyEndAllowThreads(__tstate
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17117 Py_INCREF(Py_None
); resultobj
= Py_None
;
17124 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17125 PyObject
*resultobj
;
17126 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17127 wxPrintData
*arg2
= 0 ;
17128 PyObject
* obj0
= 0 ;
17129 PyObject
* obj1
= 0 ;
17130 char *kwnames
[] = {
17131 (char *) "self",(char *) "printData", NULL
17134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
17135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17136 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17137 if (arg2
== NULL
) {
17138 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17142 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17147 Py_INCREF(Py_None
); resultobj
= Py_None
;
17154 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
17156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17157 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
17159 return Py_BuildValue((char *)"");
17161 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 wxWindow
*arg1
= (wxWindow
*) 0 ;
17164 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
17165 wxPageSetupDialog
*result
;
17166 PyObject
* obj0
= 0 ;
17167 PyObject
* obj1
= 0 ;
17168 char *kwnames
[] = {
17169 (char *) "parent",(char *) "data", NULL
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17175 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17184 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialog
, 1);
17191 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
;
17193 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
17194 wxPageSetupDialogData
*result
;
17195 PyObject
* obj0
= 0 ;
17196 char *kwnames
[] = {
17197 (char *) "self", NULL
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
17201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17205 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
17206 result
= (wxPageSetupDialogData
*) &_result_ref
;
17209 wxPyEndAllowThreads(__tstate
);
17210 if (PyErr_Occurred()) SWIG_fail
;
17212 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
17219 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17220 PyObject
*resultobj
;
17221 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
17223 PyObject
* obj0
= 0 ;
17224 char *kwnames
[] = {
17225 (char *) "self", NULL
17228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
17229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 result
= (int)(arg1
)->ShowModal();
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17237 resultobj
= PyInt_FromLong((long)result
);
17244 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
17246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17247 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
17249 return Py_BuildValue((char *)"");
17251 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 wxPrintDialogData
*result
;
17254 char *kwnames
[] = {
17258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
17260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17261 result
= (wxPrintDialogData
*)new wxPrintDialogData();
17263 wxPyEndAllowThreads(__tstate
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17266 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 1);
17273 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17274 PyObject
*resultobj
;
17275 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17276 PyObject
* obj0
= 0 ;
17277 char *kwnames
[] = {
17278 (char *) "self", NULL
17281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
17282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17290 Py_INCREF(Py_None
); resultobj
= Py_None
;
17297 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
;
17299 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17301 PyObject
* obj0
= 0 ;
17302 char *kwnames
[] = {
17303 (char *) "self", NULL
17306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
17307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17310 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17315 resultobj
= PyInt_FromLong((long)result
);
17322 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17323 PyObject
*resultobj
;
17324 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17326 PyObject
* obj0
= 0 ;
17327 char *kwnames
[] = {
17328 (char *) "self", NULL
17331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
17332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17335 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17340 resultobj
= PyInt_FromLong((long)result
);
17347 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17348 PyObject
*resultobj
;
17349 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17351 PyObject
* obj0
= 0 ;
17352 char *kwnames
[] = {
17353 (char *) "self", NULL
17356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
17357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
17362 wxPyEndAllowThreads(__tstate
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17365 resultobj
= PyInt_FromLong((long)result
);
17372 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
;
17374 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17376 PyObject
* obj0
= 0 ;
17377 char *kwnames
[] = {
17378 (char *) "self", NULL
17381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
17382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
17387 wxPyEndAllowThreads(__tstate
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17390 resultobj
= PyInt_FromLong((long)result
);
17397 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
;
17399 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17401 PyObject
* obj0
= 0 ;
17402 char *kwnames
[] = {
17403 (char *) "self", NULL
17406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17410 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
17412 wxPyEndAllowThreads(__tstate
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17415 resultobj
= PyInt_FromLong((long)result
);
17422 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17423 PyObject
*resultobj
;
17424 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17426 PyObject
* obj0
= 0 ;
17427 char *kwnames
[] = {
17428 (char *) "self", NULL
17431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
17432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17435 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
17437 wxPyEndAllowThreads(__tstate
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17440 resultobj
= PyInt_FromLong((long)result
);
17447 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17451 PyObject
* obj0
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "self", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
17457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= PyInt_FromLong((long)result
);
17472 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
;
17474 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17476 PyObject
* obj0
= 0 ;
17477 char *kwnames
[] = {
17478 (char *) "self", NULL
17481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
17482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17490 resultobj
= PyInt_FromLong((long)result
);
17497 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17498 PyObject
*resultobj
;
17499 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17501 PyObject
* obj0
= 0 ;
17502 char *kwnames
[] = {
17503 (char *) "self", NULL
17506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
17507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= PyInt_FromLong((long)result
);
17522 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17523 PyObject
*resultobj
;
17524 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17526 PyObject
* obj0
= 0 ;
17527 char *kwnames
[] = {
17528 (char *) "self", NULL
17531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
17532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17540 resultobj
= PyInt_FromLong((long)result
);
17547 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
;
17549 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17551 PyObject
* obj0
= 0 ;
17552 char *kwnames
[] = {
17553 (char *) "self",(char *) "v", NULL
17556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetFromPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17560 (arg1
)->SetFromPage(arg2
);
17562 wxPyEndAllowThreads(__tstate
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17565 Py_INCREF(Py_None
); resultobj
= Py_None
;
17572 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17573 PyObject
*resultobj
;
17574 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17576 PyObject
* obj0
= 0 ;
17577 char *kwnames
[] = {
17578 (char *) "self",(char *) "v", NULL
17581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetToPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17585 (arg1
)->SetToPage(arg2
);
17587 wxPyEndAllowThreads(__tstate
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17590 Py_INCREF(Py_None
); resultobj
= Py_None
;
17597 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17598 PyObject
*resultobj
;
17599 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17601 PyObject
* obj0
= 0 ;
17602 char *kwnames
[] = {
17603 (char *) "self",(char *) "v", NULL
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMinPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 (arg1
)->SetMinPage(arg2
);
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 Py_INCREF(Py_None
); resultobj
= Py_None
;
17622 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17626 PyObject
* obj0
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "self",(char *) "v", NULL
17631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 (arg1
)->SetMaxPage(arg2
);
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17640 Py_INCREF(Py_None
); resultobj
= Py_None
;
17647 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17648 PyObject
*resultobj
;
17649 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17651 PyObject
* obj0
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "self",(char *) "v", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
17657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17660 (arg1
)->SetNoCopies(arg2
);
17662 wxPyEndAllowThreads(__tstate
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17665 Py_INCREF(Py_None
); resultobj
= Py_None
;
17672 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17673 PyObject
*resultobj
;
17674 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 char *kwnames
[] = {
17679 (char *) "self",(char *) "flag", NULL
17682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
17683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17684 arg2
= PyInt_AsLong(obj1
) ? true : false;
17685 if (PyErr_Occurred()) SWIG_fail
;
17687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 (arg1
)->SetAllPages(arg2
);
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17693 Py_INCREF(Py_None
); resultobj
= Py_None
;
17700 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17701 PyObject
*resultobj
;
17702 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17704 PyObject
* obj0
= 0 ;
17705 PyObject
* obj1
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "self",(char *) "flag", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17712 arg2
= PyInt_AsLong(obj1
) ? true : false;
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17716 (arg1
)->SetSelection(arg2
);
17718 wxPyEndAllowThreads(__tstate
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17721 Py_INCREF(Py_None
); resultobj
= Py_None
;
17728 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17729 PyObject
*resultobj
;
17730 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17732 PyObject
* obj0
= 0 ;
17733 PyObject
* obj1
= 0 ;
17734 char *kwnames
[] = {
17735 (char *) "self",(char *) "flag", NULL
17738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17740 arg2
= PyInt_AsLong(obj1
) ? true : false;
17741 if (PyErr_Occurred()) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 (arg1
)->SetCollate(arg2
);
17746 wxPyEndAllowThreads(__tstate
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 Py_INCREF(Py_None
); resultobj
= Py_None
;
17756 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
;
17758 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17760 PyObject
* obj0
= 0 ;
17761 PyObject
* obj1
= 0 ;
17762 char *kwnames
[] = {
17763 (char *) "self",(char *) "flag", NULL
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17768 arg2
= PyInt_AsLong(obj1
) ? true : false;
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 (arg1
)->SetPrintToFile(arg2
);
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 Py_INCREF(Py_None
); resultobj
= Py_None
;
17784 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
;
17786 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17788 PyObject
* obj0
= 0 ;
17789 PyObject
* obj1
= 0 ;
17790 char *kwnames
[] = {
17791 (char *) "self",(char *) "flag", NULL
17794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17796 arg2
= PyInt_AsLong(obj1
) ? true : false;
17797 if (PyErr_Occurred()) SWIG_fail
;
17799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17800 (arg1
)->SetSetupDialog(arg2
);
17802 wxPyEndAllowThreads(__tstate
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17805 Py_INCREF(Py_None
); resultobj
= Py_None
;
17812 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
;
17814 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17816 PyObject
* obj0
= 0 ;
17817 PyObject
* obj1
= 0 ;
17818 char *kwnames
[] = {
17819 (char *) "self",(char *) "flag", NULL
17822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17824 arg2
= PyInt_AsLong(obj1
) ? true : false;
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 (arg1
)->EnablePrintToFile(arg2
);
17830 wxPyEndAllowThreads(__tstate
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17833 Py_INCREF(Py_None
); resultobj
= Py_None
;
17840 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17841 PyObject
*resultobj
;
17842 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17844 PyObject
* obj0
= 0 ;
17845 PyObject
* obj1
= 0 ;
17846 char *kwnames
[] = {
17847 (char *) "self",(char *) "flag", NULL
17850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17852 arg2
= PyInt_AsLong(obj1
) ? true : false;
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 (arg1
)->EnableSelection(arg2
);
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 Py_INCREF(Py_None
); resultobj
= Py_None
;
17868 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
;
17870 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 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:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
17879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17880 arg2
= PyInt_AsLong(obj1
) ? true : false;
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 (arg1
)->EnablePageNumbers(arg2
);
17886 wxPyEndAllowThreads(__tstate
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17889 Py_INCREF(Py_None
); resultobj
= Py_None
;
17896 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17897 PyObject
*resultobj
;
17898 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17900 PyObject
* obj0
= 0 ;
17901 PyObject
* obj1
= 0 ;
17902 char *kwnames
[] = {
17903 (char *) "self",(char *) "flag", NULL
17906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17908 arg2
= PyInt_AsLong(obj1
) ? true : false;
17909 if (PyErr_Occurred()) SWIG_fail
;
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 (arg1
)->EnableHelp(arg2
);
17914 wxPyEndAllowThreads(__tstate
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17917 Py_INCREF(Py_None
); resultobj
= Py_None
;
17924 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17925 PyObject
*resultobj
;
17926 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17928 PyObject
* obj0
= 0 ;
17929 char *kwnames
[] = {
17930 (char *) "self", NULL
17933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
17934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 resultobj
= PyInt_FromLong((long)result
);
17949 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
;
17951 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17953 PyObject
* obj0
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
17959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 resultobj
= PyInt_FromLong((long)result
);
17974 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17975 PyObject
*resultobj
;
17976 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17978 PyObject
* obj0
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
17984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17992 resultobj
= PyInt_FromLong((long)result
);
17999 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18000 PyObject
*resultobj
;
18001 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18003 PyObject
* obj0
= 0 ;
18004 char *kwnames
[] = {
18005 (char *) "self", NULL
18008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
18009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= PyInt_FromLong((long)result
);
18024 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18025 PyObject
*resultobj
;
18026 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18028 PyObject
* obj0
= 0 ;
18029 char *kwnames
[] = {
18030 (char *) "self", NULL
18033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
18034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18037 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
18039 wxPyEndAllowThreads(__tstate
);
18040 if (PyErr_Occurred()) SWIG_fail
;
18042 resultobj
= PyInt_FromLong((long)result
);
18049 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18050 PyObject
*resultobj
;
18051 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18052 wxPrintData
*result
;
18053 PyObject
* obj0
= 0 ;
18054 char *kwnames
[] = {
18055 (char *) "self", NULL
18058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
18059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18063 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18064 result
= (wxPrintData
*) &_result_ref
;
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
18077 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
;
18079 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18080 wxPrintData
*arg2
= 0 ;
18081 PyObject
* obj0
= 0 ;
18082 PyObject
* obj1
= 0 ;
18083 char *kwnames
[] = {
18084 (char *) "self",(char *) "printData", NULL
18087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18089 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18090 if (arg2
== NULL
) {
18091 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18100 Py_INCREF(Py_None
); resultobj
= Py_None
;
18107 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
18109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18110 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
18112 return Py_BuildValue((char *)"");
18114 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
;
18116 wxWindow
*arg1
= (wxWindow
*) 0 ;
18117 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
18118 wxPrintDialog
*result
;
18119 PyObject
* obj0
= 0 ;
18120 PyObject
* obj1
= 0 ;
18121 char *kwnames
[] = {
18122 (char *) "parent",(char *) "data", NULL
18125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18128 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
18134 wxPyEndAllowThreads(__tstate
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18137 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialog
, 1);
18144 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18145 PyObject
*resultobj
;
18146 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18147 wxPrintDialogData
*result
;
18148 PyObject
* obj0
= 0 ;
18149 char *kwnames
[] = {
18150 (char *) "self", NULL
18153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
18154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18158 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
18159 result
= (wxPrintDialogData
*) &_result_ref
;
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18165 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
18172 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18173 PyObject
*resultobj
;
18174 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18176 PyObject
* obj0
= 0 ;
18177 char *kwnames
[] = {
18178 (char *) "self", NULL
18181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
18182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= (wxDC
*)(arg1
)->GetPrintDC();
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18191 resultobj
= wxPyMake_wxObject(result
);
18199 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
;
18201 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18203 PyObject
* obj0
= 0 ;
18204 char *kwnames
[] = {
18205 (char *) "self", NULL
18208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 result
= (int)(arg1
)->ShowModal();
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 resultobj
= PyInt_FromLong((long)result
);
18224 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
18226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18227 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
18229 return Py_BuildValue((char *)"");
18231 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
;
18233 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
18235 PyObject
* obj0
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "data", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
18242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 result
= (wxPrinter
*)new wxPrinter(arg1
);
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinter
, 1);
18258 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18261 PyObject
* obj0
= 0 ;
18262 char *kwnames
[] = {
18263 (char *) "self", NULL
18266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
18267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18275 Py_INCREF(Py_None
); resultobj
= Py_None
;
18282 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18283 PyObject
*resultobj
;
18284 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18285 wxWindow
*arg2
= (wxWindow
*) 0 ;
18286 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18287 PyObject
* obj0
= 0 ;
18288 PyObject
* obj1
= 0 ;
18289 PyObject
* obj2
= 0 ;
18290 char *kwnames
[] = {
18291 (char *) "self",(char *) "parent",(char *) "printout", NULL
18294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18296 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18297 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 (arg1
)->CreateAbortWindow(arg2
,arg3
);
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 Py_INCREF(Py_None
); resultobj
= Py_None
;
18312 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
;
18314 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18315 wxPrintDialogData
*result
;
18316 PyObject
* obj0
= 0 ;
18317 char *kwnames
[] = {
18318 (char *) "self", NULL
18321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
18322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18326 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
18327 result
= (wxPrintDialogData
*) &_result_ref
;
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18333 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
18340 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18341 PyObject
*resultobj
;
18342 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18343 wxWindow
*arg2
= (wxWindow
*) 0 ;
18344 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18345 int arg4
= (int) True
;
18347 PyObject
* obj0
= 0 ;
18348 PyObject
* obj1
= 0 ;
18349 PyObject
* obj2
= 0 ;
18350 char *kwnames
[] = {
18351 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
18355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18356 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18357 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 resultobj
= PyInt_FromLong((long)result
);
18372 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
;
18374 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18375 wxWindow
*arg2
= (wxWindow
*) 0 ;
18377 PyObject
* obj0
= 0 ;
18378 PyObject
* obj1
= 0 ;
18379 char *kwnames
[] = {
18380 (char *) "self",(char *) "parent", NULL
18383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18388 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18394 resultobj
= wxPyMake_wxObject(result
);
18402 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
;
18404 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18405 wxWindow
*arg2
= (wxWindow
*) 0 ;
18406 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18407 wxString
*arg4
= 0 ;
18408 bool temp4
= False
;
18409 PyObject
* obj0
= 0 ;
18410 PyObject
* obj1
= 0 ;
18411 PyObject
* obj2
= 0 ;
18412 PyObject
* obj3
= 0 ;
18413 char *kwnames
[] = {
18414 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18419 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18420 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18422 arg4
= wxString_in_helper(obj3
);
18423 if (arg4
== NULL
) SWIG_fail
;
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18428 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
18430 wxPyEndAllowThreads(__tstate
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18433 Py_INCREF(Py_None
); resultobj
= Py_None
;
18448 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18449 PyObject
*resultobj
;
18450 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18451 wxWindow
*arg2
= (wxWindow
*) 0 ;
18453 PyObject
* obj0
= 0 ;
18454 PyObject
* obj1
= 0 ;
18455 char *kwnames
[] = {
18456 (char *) "self",(char *) "parent", NULL
18459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
18460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 result
= (bool)(arg1
)->Setup(arg2
);
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 resultobj
= PyInt_FromLong((long)result
);
18476 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
;
18478 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18480 PyObject
* obj0
= 0 ;
18481 char *kwnames
[] = {
18482 (char *) "self", NULL
18485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
18486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18489 result
= (bool)(arg1
)->GetAbort();
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18494 resultobj
= PyInt_FromLong((long)result
);
18501 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
;
18504 char *kwnames
[] = {
18508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
18510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18511 result
= (int)wxPrinter::GetLastError();
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 resultobj
= PyInt_FromLong((long)result
);
18523 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
18525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18526 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
18528 return Py_BuildValue((char *)"");
18530 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18532 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
18533 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18534 wxPyPrintout
*result
;
18535 bool temp1
= False
;
18536 PyObject
* obj0
= 0 ;
18537 char *kwnames
[] = {
18538 (char *) "title", NULL
18541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
18544 arg1
= wxString_in_helper(obj0
);
18545 if (arg1
== NULL
) SWIG_fail
;
18550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18551 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
18553 wxPyEndAllowThreads(__tstate
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18557 resultobj
= wxPyMake_wxObject(result
);
18573 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18574 PyObject
*resultobj
;
18575 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18576 PyObject
*arg2
= (PyObject
*) 0 ;
18577 PyObject
*arg3
= (PyObject
*) 0 ;
18578 PyObject
* obj0
= 0 ;
18579 PyObject
* obj1
= 0 ;
18580 PyObject
* obj2
= 0 ;
18581 char *kwnames
[] = {
18582 (char *) "self",(char *) "self",(char *) "_class", NULL
18585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18593 wxPyEndAllowThreads(__tstate
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18596 Py_INCREF(Py_None
); resultobj
= Py_None
;
18603 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18604 PyObject
*resultobj
;
18605 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18607 PyObject
* obj0
= 0 ;
18608 char *kwnames
[] = {
18609 (char *) "self", NULL
18612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
18613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
18618 wxPyEndAllowThreads(__tstate
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18634 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
;
18636 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18638 PyObject
* obj0
= 0 ;
18639 char *kwnames
[] = {
18640 (char *) "self", NULL
18643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
18644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 result
= (wxDC
*)(arg1
)->GetDC();
18649 wxPyEndAllowThreads(__tstate
);
18650 if (PyErr_Occurred()) SWIG_fail
;
18653 resultobj
= wxPyMake_wxObject(result
);
18661 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
;
18663 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18664 wxDC
*arg2
= (wxDC
*) 0 ;
18665 PyObject
* obj0
= 0 ;
18666 PyObject
* obj1
= 0 ;
18667 char *kwnames
[] = {
18668 (char *) "self",(char *) "dc", NULL
18671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
18672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18673 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 (arg1
)->SetDC(arg2
);
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 Py_INCREF(Py_None
); resultobj
= Py_None
;
18688 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18691 int *arg2
= (int *) 0 ;
18692 int *arg3
= (int *) 0 ;
18695 PyObject
* obj0
= 0 ;
18696 char *kwnames
[] = {
18697 (char *) "self", NULL
18702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
18703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18706 (arg1
)->GetPageSizePixels(arg2
,arg3
);
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 Py_INCREF(Py_None
); resultobj
= Py_None
;
18713 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18714 resultobj
= t_output_helper(resultobj
,o
);
18717 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18718 resultobj
= t_output_helper(resultobj
,o
);
18726 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18727 PyObject
*resultobj
;
18728 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18731 PyObject
* obj0
= 0 ;
18732 char *kwnames
[] = {
18733 (char *) "self",(char *) "w",(char *) "h", NULL
18736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizePixels",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 (arg1
)->SetPageSizePixels(arg2
,arg3
);
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 Py_INCREF(Py_None
); resultobj
= Py_None
;
18752 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
;
18754 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18757 PyObject
* obj0
= 0 ;
18758 char *kwnames
[] = {
18759 (char *) "self",(char *) "w",(char *) "h", NULL
18762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizeMM",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18766 (arg1
)->SetPageSizeMM(arg2
,arg3
);
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18771 Py_INCREF(Py_None
); resultobj
= Py_None
;
18778 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18781 int *arg2
= (int *) 0 ;
18782 int *arg3
= (int *) 0 ;
18785 PyObject
* obj0
= 0 ;
18786 char *kwnames
[] = {
18787 (char *) "self", NULL
18792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
18793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 (arg1
)->GetPageSizeMM(arg2
,arg3
);
18798 wxPyEndAllowThreads(__tstate
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18801 Py_INCREF(Py_None
); resultobj
= Py_None
;
18803 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18804 resultobj
= t_output_helper(resultobj
,o
);
18807 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18808 resultobj
= t_output_helper(resultobj
,o
);
18816 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18817 PyObject
*resultobj
;
18818 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18821 PyObject
* obj0
= 0 ;
18822 char *kwnames
[] = {
18823 (char *) "self",(char *) "x",(char *) "y", NULL
18826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIScreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18830 (arg1
)->SetPPIScreen(arg2
,arg3
);
18832 wxPyEndAllowThreads(__tstate
);
18833 if (PyErr_Occurred()) SWIG_fail
;
18835 Py_INCREF(Py_None
); resultobj
= Py_None
;
18842 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18843 PyObject
*resultobj
;
18844 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18845 int *arg2
= (int *) 0 ;
18846 int *arg3
= (int *) 0 ;
18849 PyObject
* obj0
= 0 ;
18850 char *kwnames
[] = {
18851 (char *) "self", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
18857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 (arg1
)->GetPPIScreen(arg2
,arg3
);
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18865 Py_INCREF(Py_None
); resultobj
= Py_None
;
18867 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18868 resultobj
= t_output_helper(resultobj
,o
);
18871 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18872 resultobj
= t_output_helper(resultobj
,o
);
18880 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18881 PyObject
*resultobj
;
18882 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18885 PyObject
* obj0
= 0 ;
18886 char *kwnames
[] = {
18887 (char *) "self",(char *) "x",(char *) "y", NULL
18890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIPrinter",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18894 (arg1
)->SetPPIPrinter(arg2
,arg3
);
18896 wxPyEndAllowThreads(__tstate
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18899 Py_INCREF(Py_None
); resultobj
= Py_None
;
18906 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18907 PyObject
*resultobj
;
18908 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18909 int *arg2
= (int *) 0 ;
18910 int *arg3
= (int *) 0 ;
18913 PyObject
* obj0
= 0 ;
18914 char *kwnames
[] = {
18915 (char *) "self", NULL
18920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
18921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18924 (arg1
)->GetPPIPrinter(arg2
,arg3
);
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18929 Py_INCREF(Py_None
); resultobj
= Py_None
;
18931 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18932 resultobj
= t_output_helper(resultobj
,o
);
18935 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18936 resultobj
= t_output_helper(resultobj
,o
);
18944 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18948 PyObject
* obj0
= 0 ;
18949 char *kwnames
[] = {
18950 (char *) "self", NULL
18953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
18954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 result
= (bool)(arg1
)->IsPreview();
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18962 resultobj
= PyInt_FromLong((long)result
);
18969 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18970 PyObject
*resultobj
;
18971 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18973 PyObject
* obj0
= 0 ;
18974 PyObject
* obj1
= 0 ;
18975 char *kwnames
[] = {
18976 (char *) "self",(char *) "p", NULL
18979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
18980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18981 arg2
= PyInt_AsLong(obj1
) ? true : false;
18982 if (PyErr_Occurred()) SWIG_fail
;
18984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18985 (arg1
)->SetIsPreview(arg2
);
18987 wxPyEndAllowThreads(__tstate
);
18988 if (PyErr_Occurred()) SWIG_fail
;
18990 Py_INCREF(Py_None
); resultobj
= Py_None
;
18997 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18998 PyObject
*resultobj
;
18999 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19003 PyObject
* obj0
= 0 ;
19004 char *kwnames
[] = {
19005 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
19008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_base_OnBeginDocument",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19012 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
19014 wxPyEndAllowThreads(__tstate
);
19015 if (PyErr_Occurred()) SWIG_fail
;
19017 resultobj
= PyInt_FromLong((long)result
);
19024 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19025 PyObject
*resultobj
;
19026 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19027 PyObject
* obj0
= 0 ;
19028 char *kwnames
[] = {
19029 (char *) "self", NULL
19032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
19033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 (arg1
)->base_OnEndDocument();
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19041 Py_INCREF(Py_None
); resultobj
= Py_None
;
19048 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19049 PyObject
*resultobj
;
19050 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19051 PyObject
* obj0
= 0 ;
19052 char *kwnames
[] = {
19053 (char *) "self", NULL
19056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
19057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 (arg1
)->base_OnBeginPrinting();
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19065 Py_INCREF(Py_None
); resultobj
= Py_None
;
19072 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
;
19074 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19075 PyObject
* obj0
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
19081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 (arg1
)->base_OnEndPrinting();
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19089 Py_INCREF(Py_None
); resultobj
= Py_None
;
19096 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19098 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19099 PyObject
* obj0
= 0 ;
19100 char *kwnames
[] = {
19101 (char *) "self", NULL
19104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
19105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 (arg1
)->base_OnPreparePrinting();
19110 wxPyEndAllowThreads(__tstate
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19113 Py_INCREF(Py_None
); resultobj
= Py_None
;
19120 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19121 PyObject
*resultobj
;
19122 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19123 int *arg2
= (int *) 0 ;
19124 int *arg3
= (int *) 0 ;
19125 int *arg4
= (int *) 0 ;
19126 int *arg5
= (int *) 0 ;
19131 PyObject
* obj0
= 0 ;
19132 char *kwnames
[] = {
19133 (char *) "self", NULL
19140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
19141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 Py_INCREF(Py_None
); resultobj
= Py_None
;
19151 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19152 resultobj
= t_output_helper(resultobj
,o
);
19155 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19156 resultobj
= t_output_helper(resultobj
,o
);
19159 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
19160 resultobj
= t_output_helper(resultobj
,o
);
19163 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
19164 resultobj
= t_output_helper(resultobj
,o
);
19172 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19173 PyObject
*resultobj
;
19174 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19177 PyObject
* obj0
= 0 ;
19178 char *kwnames
[] = {
19179 (char *) "self",(char *) "page", NULL
19182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Printout_base_HasPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 result
= (bool)(arg1
)->base_HasPage(arg2
);
19188 wxPyEndAllowThreads(__tstate
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19191 resultobj
= PyInt_FromLong((long)result
);
19198 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
19200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19201 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
19203 return Py_BuildValue((char *)"");
19205 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19206 PyObject
*resultobj
;
19207 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19208 wxWindow
*arg2
= (wxWindow
*) 0 ;
19209 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19210 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19211 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19212 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19213 long arg5
= (long) 0 ;
19214 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
19215 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19216 wxPreviewCanvas
*result
;
19219 bool temp6
= False
;
19220 PyObject
* obj0
= 0 ;
19221 PyObject
* obj1
= 0 ;
19222 PyObject
* obj2
= 0 ;
19223 PyObject
* obj3
= 0 ;
19224 PyObject
* obj5
= 0 ;
19225 char *kwnames
[] = {
19226 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
19230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19231 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19235 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19241 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19246 arg6
= wxString_in_helper(obj5
);
19247 if (arg6
== NULL
) SWIG_fail
;
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19255 wxPyEndAllowThreads(__tstate
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19258 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 1);
19273 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
19275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19276 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
19278 return Py_BuildValue((char *)"");
19280 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19281 PyObject
*resultobj
;
19282 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19283 wxFrame
*arg2
= (wxFrame
*) 0 ;
19284 wxString
*arg3
= 0 ;
19285 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19286 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19287 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19288 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19289 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
19290 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
19291 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19292 wxPreviewFrame
*result
;
19293 bool temp3
= False
;
19296 bool temp7
= False
;
19297 PyObject
* obj0
= 0 ;
19298 PyObject
* obj1
= 0 ;
19299 PyObject
* obj2
= 0 ;
19300 PyObject
* obj3
= 0 ;
19301 PyObject
* obj4
= 0 ;
19302 PyObject
* obj6
= 0 ;
19303 char *kwnames
[] = {
19304 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19309 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19311 arg3
= wxString_in_helper(obj2
);
19312 if (arg3
== NULL
) SWIG_fail
;
19318 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19324 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19329 arg7
= wxString_in_helper(obj6
);
19330 if (arg7
== NULL
) SWIG_fail
;
19335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19336 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19338 wxPyEndAllowThreads(__tstate
);
19339 if (PyErr_Occurred()) SWIG_fail
;
19341 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewFrame
, 1);
19364 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19365 PyObject
*resultobj
;
19366 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19367 PyObject
* obj0
= 0 ;
19368 char *kwnames
[] = {
19369 (char *) "self", NULL
19372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
19373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19376 (arg1
)->Initialize();
19378 wxPyEndAllowThreads(__tstate
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19381 Py_INCREF(Py_None
); resultobj
= Py_None
;
19388 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
;
19390 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19391 PyObject
* obj0
= 0 ;
19392 char *kwnames
[] = {
19393 (char *) "self", NULL
19396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
19397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 (arg1
)->CreateControlBar();
19402 wxPyEndAllowThreads(__tstate
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19405 Py_INCREF(Py_None
); resultobj
= Py_None
;
19412 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19413 PyObject
*resultobj
;
19414 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19415 PyObject
* obj0
= 0 ;
19416 char *kwnames
[] = {
19417 (char *) "self", NULL
19420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
19421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 (arg1
)->CreateCanvas();
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 Py_INCREF(Py_None
); resultobj
= Py_None
;
19436 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
;
19438 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19439 wxPreviewControlBar
*result
;
19440 PyObject
* obj0
= 0 ;
19441 char *kwnames
[] = {
19442 (char *) "self", NULL
19445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
19446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19449 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19454 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 0);
19461 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
19463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19464 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
19466 return Py_BuildValue((char *)"");
19468 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
;
19470 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19472 wxWindow
*arg3
= (wxWindow
*) 0 ;
19473 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19474 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19475 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19476 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19477 long arg6
= (long) wxTAB_TRAVERSAL
;
19478 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
19479 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19480 wxPreviewControlBar
*result
;
19483 bool temp7
= False
;
19484 PyObject
* obj0
= 0 ;
19485 PyObject
* obj2
= 0 ;
19486 PyObject
* obj3
= 0 ;
19487 PyObject
* obj4
= 0 ;
19488 PyObject
* obj6
= 0 ;
19489 char *kwnames
[] = {
19490 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19495 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19499 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19505 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19510 arg7
= wxString_in_helper(obj6
);
19511 if (arg7
== NULL
) SWIG_fail
;
19516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19517 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19519 wxPyEndAllowThreads(__tstate
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19522 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 1);
19537 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19538 PyObject
*resultobj
;
19539 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19541 PyObject
* obj0
= 0 ;
19542 char *kwnames
[] = {
19543 (char *) "self", NULL
19546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
19547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19550 result
= (int)(arg1
)->GetZoomControl();
19552 wxPyEndAllowThreads(__tstate
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19555 resultobj
= PyInt_FromLong((long)result
);
19562 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
;
19564 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19566 PyObject
* obj0
= 0 ;
19567 char *kwnames
[] = {
19568 (char *) "self",(char *) "zoom", NULL
19571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
19572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19575 (arg1
)->SetZoomControl(arg2
);
19577 wxPyEndAllowThreads(__tstate
);
19578 if (PyErr_Occurred()) SWIG_fail
;
19580 Py_INCREF(Py_None
); resultobj
= Py_None
;
19587 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19588 PyObject
*resultobj
;
19589 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19590 wxPrintPreview
*result
;
19591 PyObject
* obj0
= 0 ;
19592 char *kwnames
[] = {
19593 (char *) "self", NULL
19596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
19597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19605 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 0);
19612 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19613 PyObject
*resultobj
;
19614 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19615 PyObject
* obj0
= 0 ;
19616 char *kwnames
[] = {
19617 (char *) "self", NULL
19620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
19621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19629 Py_INCREF(Py_None
); resultobj
= Py_None
;
19636 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19637 PyObject
*resultobj
;
19638 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19639 PyObject
* obj0
= 0 ;
19640 char *kwnames
[] = {
19641 (char *) "self", NULL
19644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
19645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 (arg1
)->OnPrevious();
19650 wxPyEndAllowThreads(__tstate
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19653 Py_INCREF(Py_None
); resultobj
= Py_None
;
19660 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
;
19662 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19663 PyObject
* obj0
= 0 ;
19664 char *kwnames
[] = {
19665 (char *) "self", NULL
19668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
19669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 wxPyEndAllowThreads(__tstate
);
19675 if (PyErr_Occurred()) SWIG_fail
;
19677 Py_INCREF(Py_None
); resultobj
= Py_None
;
19684 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19685 PyObject
*resultobj
;
19686 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19687 PyObject
* obj0
= 0 ;
19688 char *kwnames
[] = {
19689 (char *) "self", NULL
19692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
19693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19698 wxPyEndAllowThreads(__tstate
);
19699 if (PyErr_Occurred()) SWIG_fail
;
19701 Py_INCREF(Py_None
); resultobj
= Py_None
;
19708 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19709 PyObject
*resultobj
;
19710 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19711 PyObject
* obj0
= 0 ;
19712 char *kwnames
[] = {
19713 (char *) "self", NULL
19716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
19717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19725 Py_INCREF(Py_None
); resultobj
= Py_None
;
19732 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
19734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19735 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
19737 return Py_BuildValue((char *)"");
19739 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19740 PyObject
*resultobj
;
19741 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19742 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19743 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
19744 wxPrintPreview
*result
;
19745 PyObject
* obj0
= 0 ;
19746 PyObject
* obj1
= 0 ;
19747 PyObject
* obj2
= 0 ;
19748 char *kwnames
[] = {
19749 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19754 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19756 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19760 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19765 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 1);
19772 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19773 PyObject
*resultobj
;
19774 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19777 PyObject
* obj0
= 0 ;
19778 char *kwnames
[] = {
19779 (char *) "self",(char *) "pageNum", NULL
19782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19786 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
19788 wxPyEndAllowThreads(__tstate
);
19789 if (PyErr_Occurred()) SWIG_fail
;
19791 resultobj
= PyInt_FromLong((long)result
);
19798 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19799 PyObject
*resultobj
;
19800 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19802 PyObject
* obj0
= 0 ;
19803 char *kwnames
[] = {
19804 (char *) "self", NULL
19807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
19808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 result
= (int)(arg1
)->GetCurrentPage();
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19816 resultobj
= PyInt_FromLong((long)result
);
19823 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
;
19825 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19826 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19827 PyObject
* obj0
= 0 ;
19828 PyObject
* obj1
= 0 ;
19829 char *kwnames
[] = {
19830 (char *) "self",(char *) "printout", NULL
19833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
19834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19835 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19838 (arg1
)->SetPrintout(arg2
);
19840 wxPyEndAllowThreads(__tstate
);
19841 if (PyErr_Occurred()) SWIG_fail
;
19843 Py_INCREF(Py_None
); resultobj
= Py_None
;
19850 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19851 PyObject
*resultobj
;
19852 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19853 wxPyPrintout
*result
;
19854 PyObject
* obj0
= 0 ;
19855 char *kwnames
[] = {
19856 (char *) "self", NULL
19859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
19860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19863 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19869 resultobj
= wxPyMake_wxObject(result
);
19877 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19878 PyObject
*resultobj
;
19879 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19880 wxPyPrintout
*result
;
19881 PyObject
* obj0
= 0 ;
19882 char *kwnames
[] = {
19883 (char *) "self", NULL
19886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
19887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19896 resultobj
= wxPyMake_wxObject(result
);
19904 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19905 PyObject
*resultobj
;
19906 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19907 wxFrame
*arg2
= (wxFrame
*) 0 ;
19908 PyObject
* obj0
= 0 ;
19909 PyObject
* obj1
= 0 ;
19910 char *kwnames
[] = {
19911 (char *) "self",(char *) "frame", NULL
19914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
19915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19916 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19919 (arg1
)->SetFrame(arg2
);
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19924 Py_INCREF(Py_None
); resultobj
= Py_None
;
19931 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19932 PyObject
*resultobj
;
19933 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19934 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19935 PyObject
* obj0
= 0 ;
19936 PyObject
* obj1
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self",(char *) "canvas", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
19942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19943 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 (arg1
)->SetCanvas(arg2
);
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19951 Py_INCREF(Py_None
); resultobj
= Py_None
;
19958 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
;
19960 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19962 PyObject
* obj0
= 0 ;
19963 char *kwnames
[] = {
19964 (char *) "self", NULL
19967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
19968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 result
= (wxFrame
*)(arg1
)->GetFrame();
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19977 resultobj
= wxPyMake_wxObject(result
);
19985 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19986 PyObject
*resultobj
;
19987 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19988 wxPreviewCanvas
*result
;
19989 PyObject
* obj0
= 0 ;
19990 char *kwnames
[] = {
19991 (char *) "self", NULL
19994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
19995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19998 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20003 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 0);
20010 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20011 PyObject
*resultobj
;
20012 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20013 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20016 PyObject
* obj0
= 0 ;
20017 PyObject
* obj1
= 0 ;
20018 PyObject
* obj2
= 0 ;
20019 char *kwnames
[] = {
20020 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20025 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20026 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20027 if (arg3
== NULL
) {
20028 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20032 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20037 resultobj
= PyInt_FromLong((long)result
);
20044 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20045 PyObject
*resultobj
;
20046 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20047 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20050 PyObject
* obj0
= 0 ;
20051 PyObject
* obj1
= 0 ;
20052 PyObject
* obj2
= 0 ;
20053 char *kwnames
[] = {
20054 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20059 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20060 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20061 if (arg3
== NULL
) {
20062 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 resultobj
= PyInt_FromLong((long)result
);
20078 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
;
20080 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20083 PyObject
* obj0
= 0 ;
20084 char *kwnames
[] = {
20085 (char *) "self",(char *) "pageNum", NULL
20088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20092 result
= (bool)(arg1
)->RenderPage(arg2
);
20094 wxPyEndAllowThreads(__tstate
);
20095 if (PyErr_Occurred()) SWIG_fail
;
20097 resultobj
= PyInt_FromLong((long)result
);
20104 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20105 PyObject
*resultobj
;
20106 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20107 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20108 PyObject
* obj0
= 0 ;
20109 PyObject
* obj1
= 0 ;
20110 char *kwnames
[] = {
20111 (char *) "self",(char *) "canvas", NULL
20114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
20115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20116 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20119 (arg1
)->AdjustScrollbars(arg2
);
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20124 Py_INCREF(Py_None
); resultobj
= Py_None
;
20131 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20132 PyObject
*resultobj
;
20133 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20134 wxPrintDialogData
*result
;
20135 PyObject
* obj0
= 0 ;
20136 char *kwnames
[] = {
20137 (char *) "self", NULL
20140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20146 result
= (wxPrintDialogData
*) &_result_ref
;
20149 wxPyEndAllowThreads(__tstate
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20152 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
20159 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20160 PyObject
*resultobj
;
20161 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20163 PyObject
* obj0
= 0 ;
20164 char *kwnames
[] = {
20165 (char *) "self",(char *) "percent", NULL
20168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
20169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 (arg1
)->SetZoom(arg2
);
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20177 Py_INCREF(Py_None
); resultobj
= Py_None
;
20184 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20185 PyObject
*resultobj
;
20186 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20188 PyObject
* obj0
= 0 ;
20189 char *kwnames
[] = {
20190 (char *) "self", NULL
20193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
20194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 result
= (int)(arg1
)->GetZoom();
20199 wxPyEndAllowThreads(__tstate
);
20200 if (PyErr_Occurred()) SWIG_fail
;
20202 resultobj
= PyInt_FromLong((long)result
);
20209 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20210 PyObject
*resultobj
;
20211 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20213 PyObject
* obj0
= 0 ;
20214 char *kwnames
[] = {
20215 (char *) "self", NULL
20218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20222 result
= (int)(arg1
)->GetMaxPage();
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20227 resultobj
= PyInt_FromLong((long)result
);
20234 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
;
20236 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20238 PyObject
* obj0
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
20244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 result
= (int)(arg1
)->GetMinPage();
20249 wxPyEndAllowThreads(__tstate
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20252 resultobj
= PyInt_FromLong((long)result
);
20259 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20260 PyObject
*resultobj
;
20261 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20263 PyObject
* obj0
= 0 ;
20264 char *kwnames
[] = {
20265 (char *) "self", NULL
20268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
20269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20272 result
= (bool)(arg1
)->Ok();
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= PyInt_FromLong((long)result
);
20284 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
;
20286 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20288 PyObject
* obj0
= 0 ;
20289 PyObject
* obj1
= 0 ;
20290 char *kwnames
[] = {
20291 (char *) "self",(char *) "ok", NULL
20294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
20295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20296 arg2
= PyInt_AsLong(obj1
) ? true : false;
20297 if (PyErr_Occurred()) SWIG_fail
;
20299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20300 (arg1
)->SetOk(arg2
);
20302 wxPyEndAllowThreads(__tstate
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20305 Py_INCREF(Py_None
); resultobj
= Py_None
;
20312 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20313 PyObject
*resultobj
;
20314 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20317 PyObject
* obj0
= 0 ;
20318 PyObject
* obj1
= 0 ;
20319 char *kwnames
[] = {
20320 (char *) "self",(char *) "interactive", NULL
20323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
20324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20325 arg2
= PyInt_AsLong(obj1
) ? true : false;
20326 if (PyErr_Occurred()) SWIG_fail
;
20328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20329 result
= (bool)(arg1
)->Print(arg2
);
20331 wxPyEndAllowThreads(__tstate
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20334 resultobj
= PyInt_FromLong((long)result
);
20341 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20342 PyObject
*resultobj
;
20343 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20344 PyObject
* obj0
= 0 ;
20345 char *kwnames
[] = {
20346 (char *) "self", NULL
20349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
20350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 (arg1
)->DetermineScaling();
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20358 Py_INCREF(Py_None
); resultobj
= Py_None
;
20365 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
20367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20368 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
20370 return Py_BuildValue((char *)"");
20372 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20373 PyObject
*resultobj
;
20374 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20375 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
20376 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
20377 wxPyPrintPreview
*result
;
20378 PyObject
* obj0
= 0 ;
20379 PyObject
* obj1
= 0 ;
20380 PyObject
* obj2
= 0 ;
20381 char *kwnames
[] = {
20382 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20389 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
20395 wxPyEndAllowThreads(__tstate
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20398 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPrintPreview
, 1);
20405 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
;
20407 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20408 PyObject
*arg2
= (PyObject
*) 0 ;
20409 PyObject
*arg3
= (PyObject
*) 0 ;
20410 PyObject
* obj0
= 0 ;
20411 PyObject
* obj1
= 0 ;
20412 PyObject
* obj2
= 0 ;
20413 char *kwnames
[] = {
20414 (char *) "self",(char *) "self",(char *) "_class", NULL
20417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20428 Py_INCREF(Py_None
); resultobj
= Py_None
;
20435 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20436 PyObject
*resultobj
;
20437 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20440 PyObject
* obj0
= 0 ;
20441 char *kwnames
[] = {
20442 (char *) "self",(char *) "pageNum", NULL
20445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20449 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
20451 wxPyEndAllowThreads(__tstate
);
20452 if (PyErr_Occurred()) SWIG_fail
;
20454 resultobj
= PyInt_FromLong((long)result
);
20461 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20462 PyObject
*resultobj
;
20463 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20464 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20467 PyObject
* obj0
= 0 ;
20468 PyObject
* obj1
= 0 ;
20469 PyObject
* obj2
= 0 ;
20470 char *kwnames
[] = {
20471 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20476 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20477 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20478 if (arg3
== NULL
) {
20479 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20483 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
20485 wxPyEndAllowThreads(__tstate
);
20486 if (PyErr_Occurred()) SWIG_fail
;
20488 resultobj
= PyInt_FromLong((long)result
);
20495 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20496 PyObject
*resultobj
;
20497 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20498 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20501 PyObject
* obj0
= 0 ;
20502 PyObject
* obj1
= 0 ;
20503 PyObject
* obj2
= 0 ;
20504 char *kwnames
[] = {
20505 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20510 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20511 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20512 if (arg3
== NULL
) {
20513 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20517 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
20519 wxPyEndAllowThreads(__tstate
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20522 resultobj
= PyInt_FromLong((long)result
);
20529 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20530 PyObject
*resultobj
;
20531 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20534 PyObject
* obj0
= 0 ;
20535 char *kwnames
[] = {
20536 (char *) "self",(char *) "pageNum", NULL
20539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 result
= (bool)(arg1
)->base_RenderPage(arg2
);
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 resultobj
= PyInt_FromLong((long)result
);
20555 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20556 PyObject
*resultobj
;
20557 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20559 PyObject
* obj0
= 0 ;
20560 char *kwnames
[] = {
20561 (char *) "self",(char *) "percent", NULL
20564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
20565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20568 (arg1
)->base_SetZoom(arg2
);
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20573 Py_INCREF(Py_None
); resultobj
= Py_None
;
20580 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20581 PyObject
*resultobj
;
20582 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20585 PyObject
* obj0
= 0 ;
20586 PyObject
* obj1
= 0 ;
20587 char *kwnames
[] = {
20588 (char *) "self",(char *) "interactive", NULL
20591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
20592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20593 arg2
= PyInt_AsLong(obj1
) ? true : false;
20594 if (PyErr_Occurred()) SWIG_fail
;
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 result
= (bool)(arg1
)->base_Print(arg2
);
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20602 resultobj
= PyInt_FromLong((long)result
);
20609 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
;
20611 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20612 PyObject
* obj0
= 0 ;
20613 char *kwnames
[] = {
20614 (char *) "self", NULL
20617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
20618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20621 (arg1
)->base_DetermineScaling();
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20626 Py_INCREF(Py_None
); resultobj
= Py_None
;
20633 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
20635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20636 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
20638 return Py_BuildValue((char *)"");
20640 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20641 PyObject
*resultobj
;
20642 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20643 wxFrame
*arg2
= (wxFrame
*) 0 ;
20644 wxString
*arg3
= 0 ;
20645 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20646 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20647 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20648 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20649 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20650 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20651 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20652 wxPyPreviewFrame
*result
;
20653 bool temp3
= False
;
20656 bool temp7
= False
;
20657 PyObject
* obj0
= 0 ;
20658 PyObject
* obj1
= 0 ;
20659 PyObject
* obj2
= 0 ;
20660 PyObject
* obj3
= 0 ;
20661 PyObject
* obj4
= 0 ;
20662 PyObject
* obj6
= 0 ;
20663 char *kwnames
[] = {
20664 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20669 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20671 arg3
= wxString_in_helper(obj2
);
20672 if (arg3
== NULL
) SWIG_fail
;
20678 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20684 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20689 arg7
= wxString_in_helper(obj6
);
20690 if (arg7
== NULL
) SWIG_fail
;
20695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20696 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20698 wxPyEndAllowThreads(__tstate
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20701 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewFrame
, 1);
20724 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20725 PyObject
*resultobj
;
20726 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20727 PyObject
*arg2
= (PyObject
*) 0 ;
20728 PyObject
*arg3
= (PyObject
*) 0 ;
20729 PyObject
* obj0
= 0 ;
20730 PyObject
* obj1
= 0 ;
20731 PyObject
* obj2
= 0 ;
20732 char *kwnames
[] = {
20733 (char *) "self",(char *) "self",(char *) "_class", NULL
20736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20744 wxPyEndAllowThreads(__tstate
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20747 Py_INCREF(Py_None
); resultobj
= Py_None
;
20754 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20755 PyObject
*resultobj
;
20756 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20757 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20758 PyObject
* obj0
= 0 ;
20759 PyObject
* obj1
= 0 ;
20760 char *kwnames
[] = {
20761 (char *) "self",(char *) "canvas", NULL
20764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
20765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20766 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 (arg1
)->SetPreviewCanvas(arg2
);
20771 wxPyEndAllowThreads(__tstate
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20774 Py_INCREF(Py_None
); resultobj
= Py_None
;
20781 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20782 PyObject
*resultobj
;
20783 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20784 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
20785 PyObject
* obj0
= 0 ;
20786 PyObject
* obj1
= 0 ;
20787 char *kwnames
[] = {
20788 (char *) "self",(char *) "bar", NULL
20791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
20792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20793 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 (arg1
)->SetControlBar(arg2
);
20798 wxPyEndAllowThreads(__tstate
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20801 Py_INCREF(Py_None
); resultobj
= Py_None
;
20808 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
;
20810 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20811 PyObject
* obj0
= 0 ;
20812 char *kwnames
[] = {
20813 (char *) "self", NULL
20816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
20817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 (arg1
)->base_Initialize();
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 Py_INCREF(Py_None
); resultobj
= Py_None
;
20832 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
;
20834 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20835 PyObject
* obj0
= 0 ;
20836 char *kwnames
[] = {
20837 (char *) "self", NULL
20840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20844 (arg1
)->base_CreateCanvas();
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20849 Py_INCREF(Py_None
); resultobj
= Py_None
;
20856 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
;
20858 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20859 PyObject
* obj0
= 0 ;
20860 char *kwnames
[] = {
20861 (char *) "self", NULL
20864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 (arg1
)->base_CreateControlBar();
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20873 Py_INCREF(Py_None
); resultobj
= Py_None
;
20880 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
20882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20883 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
20885 return Py_BuildValue((char *)"");
20887 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20888 PyObject
*resultobj
;
20889 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20891 wxWindow
*arg3
= (wxWindow
*) 0 ;
20892 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20893 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20894 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20895 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20896 long arg6
= (long) 0 ;
20897 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20898 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20899 wxPyPreviewControlBar
*result
;
20902 bool temp7
= False
;
20903 PyObject
* obj0
= 0 ;
20904 PyObject
* obj2
= 0 ;
20905 PyObject
* obj3
= 0 ;
20906 PyObject
* obj4
= 0 ;
20907 PyObject
* obj6
= 0 ;
20908 char *kwnames
[] = {
20909 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20914 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20929 arg7
= wxString_in_helper(obj6
);
20930 if (arg7
== NULL
) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20941 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewControlBar
, 1);
20956 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20957 PyObject
*resultobj
;
20958 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20959 PyObject
*arg2
= (PyObject
*) 0 ;
20960 PyObject
*arg3
= (PyObject
*) 0 ;
20961 PyObject
* obj0
= 0 ;
20962 PyObject
* obj1
= 0 ;
20963 PyObject
* obj2
= 0 ;
20964 char *kwnames
[] = {
20965 (char *) "self",(char *) "self",(char *) "_class", NULL
20968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 Py_INCREF(Py_None
); resultobj
= Py_None
;
20986 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
;
20988 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20989 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
20990 PyObject
* obj0
= 0 ;
20991 PyObject
* obj1
= 0 ;
20992 char *kwnames
[] = {
20993 (char *) "self",(char *) "preview", NULL
20996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20998 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21001 (arg1
)->SetPrintPreview(arg2
);
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21006 Py_INCREF(Py_None
); resultobj
= Py_None
;
21013 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
;
21015 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
21016 PyObject
* obj0
= 0 ;
21017 char *kwnames
[] = {
21018 (char *) "self", NULL
21021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
21022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21025 (arg1
)->base_CreateButtons();
21027 wxPyEndAllowThreads(__tstate
);
21028 if (PyErr_Occurred()) SWIG_fail
;
21030 Py_INCREF(Py_None
); resultobj
= Py_None
;
21037 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21038 PyObject
*resultobj
;
21039 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
21041 PyObject
* obj0
= 0 ;
21042 char *kwnames
[] = {
21043 (char *) "self",(char *) "zoom", NULL
21046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
21047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21050 (arg1
)->base_SetZoomControl(arg2
);
21052 wxPyEndAllowThreads(__tstate
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21055 Py_INCREF(Py_None
); resultobj
= Py_None
;
21062 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
21064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21065 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
21067 return Py_BuildValue((char *)"");
21069 static PyMethodDef SwigMethods
[] = {
21070 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
21071 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
21072 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
21073 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21074 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
21075 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21076 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21077 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21078 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
21079 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
21080 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
21081 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
21082 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
21083 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
21084 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
21085 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
21086 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
21087 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21088 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21089 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
21090 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
21091 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
21092 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
21093 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
21094 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
21095 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
21096 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
21097 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
21098 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
21099 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
21100 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
21101 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
21102 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
21103 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21104 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
21105 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
21106 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
21107 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
21108 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
21109 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21110 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
21111 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
21112 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
21113 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
21114 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
21115 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
21116 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
21117 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
21118 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
21119 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
21120 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
21121 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
21122 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
21123 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
21124 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
21125 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
21126 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
21127 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
21128 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21129 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
21130 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
21131 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
21132 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
21133 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
21134 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21135 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21136 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21137 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21138 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
21139 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21140 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21141 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
21142 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
21143 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21144 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21145 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21146 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
21147 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
21148 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
21149 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
21150 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
21151 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
21152 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
21153 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
21154 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
21155 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
21156 { (char *)"Dialog_SetModal", (PyCFunction
) _wrap_Dialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
21157 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
21158 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21159 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
21160 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
21161 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
21162 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
21163 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
21164 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21165 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
21166 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
21167 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
21168 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
21169 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
21170 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
21171 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
21172 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21173 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
21174 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
21175 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21176 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21177 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
21178 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
21179 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
21180 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21181 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21182 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21183 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21184 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
21185 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
21186 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
21187 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
21188 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
21189 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
21190 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
21191 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
21192 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21193 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
21194 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
21195 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
21196 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
21197 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21198 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
21199 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
21200 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
21201 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
21202 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
21203 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
21204 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21205 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
21206 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21207 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21208 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21209 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
21210 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
21211 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
21212 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
21213 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
21214 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
21215 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
21216 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
21217 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21218 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21219 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
21220 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
21221 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
21222 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
21223 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21224 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21225 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21226 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
21227 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
21228 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
21229 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
21230 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
21231 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21232 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21233 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21234 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21235 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21236 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21237 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21238 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21239 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21240 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21241 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21242 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21243 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
21244 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
21245 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
21246 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
21247 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
21248 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
21249 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
21250 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
21251 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
21252 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
21253 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
21254 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
21255 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
21256 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
21257 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21258 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21259 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
21260 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
21261 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21262 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21263 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21264 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21265 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
21266 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
21267 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21268 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21269 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
21270 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
21271 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
21272 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21273 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21274 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21275 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21276 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21277 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21278 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
21279 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21280 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
21281 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
21282 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
21283 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
21284 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
21285 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21286 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
21287 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
21288 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
21289 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21290 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
21291 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
21292 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21293 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21294 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21295 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
21296 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
21297 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
21298 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
21299 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
21300 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
21301 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
21302 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21303 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21304 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21305 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21306 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
21307 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
21308 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
21309 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
21310 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
21311 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
21312 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
21313 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
21314 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
21315 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
21316 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
21317 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
21318 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
21319 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
21320 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
21321 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
21322 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21323 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
21324 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21325 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
21326 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21327 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
21328 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
21329 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
21330 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
21331 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
21332 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
21333 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
21334 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21335 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
21336 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21337 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
21338 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
21339 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
21340 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
21341 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
21342 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
21343 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
21344 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
21345 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
21346 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
21347 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
21348 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21349 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
21350 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
21351 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21352 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
21353 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
21354 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
21355 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
21356 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
21357 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
21358 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
21359 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
21360 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
21361 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
21362 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
21363 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
21364 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
21365 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
21366 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21367 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
21368 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
21369 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21370 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
21371 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
21372 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
21373 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
21374 { (char *)"ColourDialog_ShowModal", (PyCFunction
) _wrap_ColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21375 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
21376 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
21377 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
21378 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21379 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21380 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21381 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
21382 { (char *)"DirDialog_ShowModal", (PyCFunction
) _wrap_DirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21383 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
21384 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
21385 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21386 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
21387 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
21388 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21389 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
21390 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21391 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
21392 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21393 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
21394 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
21395 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21396 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
21397 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21398 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
21399 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
21400 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
21401 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
21402 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21403 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
21404 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
21405 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
21406 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21407 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21408 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
21409 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21410 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_SingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21411 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
21412 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
21413 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
21414 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
21415 { (char *)"TextEntryDialog_ShowModal", (PyCFunction
) _wrap_TextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21416 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
21417 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
21418 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
21419 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
21420 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
21421 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21422 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
21423 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
21424 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
21425 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
21426 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
21427 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
21428 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21429 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
21430 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
21431 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
21432 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
21433 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
21434 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
21435 { (char *)"FontDialog_ShowModal", (PyCFunction
) _wrap_FontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21436 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
21437 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
21438 { (char *)"MessageDialog_ShowModal", (PyCFunction
) _wrap_MessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21439 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
21440 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
21441 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
21442 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
21443 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
21444 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
21445 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21446 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21447 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21448 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
21449 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21450 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21451 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21452 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
21453 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
21454 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
21455 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21456 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21457 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21458 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21459 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21460 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21461 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
21462 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21463 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21464 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
21465 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
21466 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
21467 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
21468 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21469 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21470 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21471 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
21472 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
21473 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
21474 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
21475 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
21476 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21477 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21478 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
21479 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
21480 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21481 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
21482 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
21483 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21484 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21485 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21486 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
21487 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
21488 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
21489 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
21490 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21491 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21492 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21493 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
21494 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
21495 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21496 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21497 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21498 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21499 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21500 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21501 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21502 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21503 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21504 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21505 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21506 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21507 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21508 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21509 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21510 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21511 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21512 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21513 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21514 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
21515 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
21516 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21517 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21518 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21519 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21520 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21521 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21522 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21523 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21524 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21525 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21526 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21527 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21528 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21529 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21530 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21531 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21532 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21533 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21534 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21535 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
21536 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21537 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21538 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21539 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21540 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21541 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21542 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21543 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21544 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21545 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21546 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21547 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21548 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21549 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21550 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21551 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21552 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21553 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21554 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21555 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21556 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21557 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21558 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21559 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21560 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21561 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21562 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21563 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21564 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21565 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21566 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21567 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21568 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21569 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21570 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21571 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21572 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21573 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21574 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
21575 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21576 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21577 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
21578 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21579 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
21580 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21581 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21582 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21583 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21584 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21585 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21586 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21587 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21588 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21589 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21590 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21591 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21592 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21593 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21594 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21595 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21596 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21597 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21598 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21599 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21600 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21601 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21602 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21603 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21604 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21605 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21606 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21607 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21608 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21609 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21610 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21611 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
21612 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21613 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
21614 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21615 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
21616 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21617 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21618 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21619 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21620 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21621 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21622 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21623 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21624 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21625 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21626 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21627 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21628 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21629 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21630 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21631 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21632 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21633 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21634 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21635 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21636 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21637 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21638 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21639 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21640 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21641 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21642 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21643 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21644 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21645 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21646 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21647 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21648 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21649 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
21650 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21651 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21652 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
21653 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21654 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
21655 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21656 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21657 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
21658 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21659 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
21660 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21661 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
21662 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
21663 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
21664 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
21665 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
21666 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
21667 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21668 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
21669 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
21670 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
21671 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21672 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21673 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21674 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21675 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21676 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21677 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21678 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21679 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21680 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21681 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
21682 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
21683 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21684 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21685 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
21686 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
21687 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
21688 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
21689 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21690 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
21691 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21692 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21693 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21694 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21695 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21696 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
21697 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21698 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21699 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21700 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21701 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
21702 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
21703 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
21704 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
21705 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
21706 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
21707 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21708 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21709 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21710 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21711 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21712 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21713 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21714 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21715 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21716 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21717 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21718 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21719 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21720 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
21721 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21722 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21723 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21724 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21725 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21726 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21727 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
21728 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
21729 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21730 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
21731 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21732 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21733 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21734 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21735 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21736 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21737 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21738 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
21739 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21740 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
21741 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21742 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21743 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21744 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21745 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21746 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21747 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21748 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
21749 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21750 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21751 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21752 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
21753 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21754 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
21759 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21761 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
21762 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21764 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
21765 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21767 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
21768 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
21770 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
21771 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
21773 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
21774 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
21776 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
21777 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
21779 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
21780 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
21782 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
21783 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21785 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
21786 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
21788 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
21789 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
21791 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
21792 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21794 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
21795 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
21797 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
21798 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21800 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
21801 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21803 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
21804 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
21806 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
21807 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21809 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
21810 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21812 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
21813 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
21815 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
21816 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
21818 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
21819 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
21821 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
21822 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
21824 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
21825 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
21827 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
21828 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
21830 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
21831 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
21833 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
21834 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21836 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
21837 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21839 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
21840 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21842 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
21843 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21845 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
21846 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21848 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
21849 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
21851 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
21852 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
21854 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
21855 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21857 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
21858 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
21860 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
21861 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21863 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
21864 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
21866 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
21867 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
21869 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
21870 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21872 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
21873 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21875 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
21876 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21878 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
21879 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
21881 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
21882 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
21884 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
21885 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21887 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
21888 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21890 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
21891 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21893 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
21894 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21896 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
21897 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21899 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
21900 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
21902 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
21903 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
21905 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
21906 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
21908 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
21909 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
21911 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
21912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21914 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
21915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21917 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
21918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21920 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
21921 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21923 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
21924 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21926 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
21927 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21929 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
21930 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21932 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
21933 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
21935 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
21936 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
21938 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
21939 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21941 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
21942 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21944 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
21945 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21947 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
21948 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
21950 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
21951 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21953 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
21954 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
21956 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
21957 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
21959 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
21960 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
21962 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
21963 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
21965 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
21966 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21968 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
21969 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
21971 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
21972 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
21974 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
21975 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
21977 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
21978 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21980 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
21981 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21983 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
21984 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21986 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
21987 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
21989 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
21990 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21992 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
21993 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
21995 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
21996 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21998 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
21999 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22001 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
22002 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22004 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
22005 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
22007 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
22008 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22010 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
22011 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
22013 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
22014 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
22016 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
22017 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22019 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
22020 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22022 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
22023 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22025 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
22026 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
22028 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
22029 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22031 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
22032 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22034 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
22035 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22037 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
22038 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22040 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
22041 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
22043 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
22044 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
22046 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
22047 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
22049 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
22050 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22052 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
22053 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
22055 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
22056 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
22058 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
22059 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
22061 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
22062 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
22064 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
22065 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
22067 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
22068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
22070 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
22071 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22073 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
22074 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
22076 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
22077 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
22079 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
22080 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
22082 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
22083 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
22085 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
22086 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
22088 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
22089 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
22091 static void *_p_wxSizerTo_p_wxObject(void *x
) {
22092 return (void *)((wxObject
*) ((wxSizer
*) x
));
22094 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
22095 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
22097 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
22098 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22100 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
22101 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
22103 static void *_p_wxEventTo_p_wxObject(void *x
) {
22104 return (void *)((wxObject
*) ((wxEvent
*) x
));
22106 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
22107 return (void *)((wxObject
*) ((wxFontData
*) x
));
22109 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
22110 return (void *)((wxObject
*) ((wxPrintData
*) x
));
22112 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
22113 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
22115 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
22116 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
22118 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
22119 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
22121 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
22122 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
22124 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
22125 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
22127 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
22128 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
22130 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
22131 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
22133 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
22134 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
22136 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
22137 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
22139 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
22140 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
22142 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
22143 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
22145 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
22146 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
22148 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
22149 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22151 static void *_p_wxControlTo_p_wxObject(void *x
) {
22152 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
22154 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
22155 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
22157 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
22158 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22160 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
22161 return (void *)((wxObject
*) ((wxFSFile
*) x
));
22163 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
22164 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
22166 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
22167 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
22169 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
22170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22172 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
22173 return (void *)((wxObject
*) ((wxColourData
*) x
));
22175 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
22176 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
22178 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
22179 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22181 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
22182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
22184 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
22185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
22187 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
22188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22190 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
22191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22193 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
22194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22196 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
22197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22199 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
22200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22202 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
22203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22205 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
22206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22208 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
22209 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
22211 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
22212 return (void *)((wxObject
*) ((wxPrinter
*) x
));
22214 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
22215 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
22217 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
22218 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
22220 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
22221 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22223 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
22224 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
22226 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
22227 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
22229 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
22230 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
22232 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
22233 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
22235 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
22236 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
22238 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
22239 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
22241 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
22242 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
22244 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
22245 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
22247 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
22248 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
22250 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
22251 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
22253 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
22254 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
22256 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
22257 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
22259 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
22260 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
22262 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
22263 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
22265 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
22266 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
22268 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
22269 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
22271 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
22272 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
22274 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
22275 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
22277 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
22278 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
22280 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
22281 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
22283 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
22284 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22286 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
22287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22289 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
22290 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
22292 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
22293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
22295 static void *_p_wxImageTo_p_wxObject(void *x
) {
22296 return (void *)((wxObject
*) ((wxImage
*) x
));
22298 static void *_p_wxFrameTo_p_wxObject(void *x
) {
22299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
22301 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
22302 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
22304 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
22305 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
22307 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
22308 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
22310 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
22311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
22313 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
22314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22316 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
22317 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22319 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
22320 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
22322 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
22323 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
22325 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
22326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
22328 static void *_p_wxWindowTo_p_wxObject(void *x
) {
22329 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
22331 static void *_p_wxMenuTo_p_wxObject(void *x
) {
22332 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
22334 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
22335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
22337 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
22338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
22340 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
22341 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
22343 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
22344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
22346 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
22347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
22349 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
22350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22352 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
22353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
22355 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
22356 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22358 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
22359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22361 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
22362 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22364 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
22365 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
22367 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
22368 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
22370 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
22371 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
22373 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
22374 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
22376 static void *_p_wxPanelTo_p_wxObject(void *x
) {
22377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
22379 static void *_p_wxDialogTo_p_wxObject(void *x
) {
22380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
22382 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
22383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22385 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
22386 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22388 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
22389 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22391 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
22392 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22394 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
22395 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22397 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
22398 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
22400 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
22401 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22403 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
22404 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
22406 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
22407 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
22409 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
22410 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
22412 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
22413 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
22415 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
22416 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
22418 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
22419 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22421 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
22422 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
22424 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
22425 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
22427 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
22428 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22430 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
22431 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
22433 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
22434 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
22436 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
22437 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22439 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
22440 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
22442 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
22443 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
22445 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
22446 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
22448 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
22449 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
22451 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
22452 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
22454 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
22455 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22457 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
22458 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22460 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
22461 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22463 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
22464 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22466 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
22467 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22469 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
22470 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22472 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
22473 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
22475 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
22476 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
22478 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
22479 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
22481 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
22482 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
22484 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
22485 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
22487 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
22488 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
22490 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
22491 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
22493 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
22494 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
22496 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
22497 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
22499 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
22500 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
22502 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
22503 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
22505 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
22506 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
22508 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
22509 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
22511 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
22512 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
22514 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
22515 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
22517 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22518 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22520 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22521 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22523 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
22524 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
22526 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22527 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
22529 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22530 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22532 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
22533 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
22535 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
22536 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
22538 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
22539 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
22541 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
22542 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
22544 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
22545 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22547 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
22548 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22550 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
22551 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22553 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
22554 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22556 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
22557 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22559 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
22560 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22562 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
22563 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22565 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
22566 return (void *)((wxWindow
*) ((wxPanel
*) x
));
22568 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
22569 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
22571 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
22572 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
22574 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
22575 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22577 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
22578 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22580 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
22581 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22583 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
22584 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
22586 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
22587 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22589 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
22590 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
22592 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
22593 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
22595 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
22596 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
22598 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
22599 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
22601 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
22602 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
22604 static void *_p_wxControlTo_p_wxWindow(void *x
) {
22605 return (void *)((wxWindow
*) ((wxControl
*) x
));
22607 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
22608 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
22610 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
22611 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22613 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
22614 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22616 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
22617 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
22619 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
22620 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
22622 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
22623 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22625 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
22626 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22628 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
22629 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22631 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
22632 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
22634 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
22635 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22637 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
22638 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
22640 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
22641 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22643 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
22644 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22646 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
22647 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22649 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
22650 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
22652 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
22653 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22655 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
22656 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22658 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
22659 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22661 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
22662 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22664 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
22665 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
22667 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
22668 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
22670 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
22671 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
22673 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
22674 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
22676 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
22677 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
22679 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
22680 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
22682 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
22683 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
22685 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
22686 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22688 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
22689 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22691 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
22692 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
22694 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
22695 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
22697 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
22698 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
22700 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
22701 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
22703 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
22704 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22706 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
22707 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22709 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
22710 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22712 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
22713 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
22715 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
22716 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22718 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
22719 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
22721 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
22722 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22724 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
22725 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22727 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
22728 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
22730 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
22731 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22733 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
22734 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22736 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
22737 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
22739 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
22740 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22742 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
22743 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22745 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
22746 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22748 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
22749 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22751 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
22752 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22754 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
22755 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
22757 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
22758 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22760 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22761 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
},{0}};
22762 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22763 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
22764 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22765 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22766 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22767 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22768 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}};
22769 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22770 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22771 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22772 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22773 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22774 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22775 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22776 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22777 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22778 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22779 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22780 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22781 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22782 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22783 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22784 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
22785 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22786 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22787 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22788 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22789 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22790 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22791 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22792 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22793 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22794 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22795 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
22796 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22797 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}};
22798 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22799 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22800 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
},{0}};
22801 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22802 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
22803 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22804 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}};
22805 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22806 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22807 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22808 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22809 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22810 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22811 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}};
22812 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22813 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22814 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22815 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22816 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22817 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22818 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}};
22819 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
},{0}};
22820 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}};
22821 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
},{0}};
22822 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}};
22823 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}};
22824 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
22825 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22826 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
},{0}};
22827 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22828 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22829 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22830 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22831 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22832 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22833 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}};
22834 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}};
22835 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22836 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22837 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22838 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}};
22839 static swig_type_info _swigt__p_wxPrintQuality
[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22840 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
},{0}};
22841 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22842 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22843 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22844 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22845 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22847 static swig_type_info
*swig_types_initial
[] = {
22848 _swigt__p_wxQueryLayoutInfoEvent
,
22849 _swigt__p_wxPreviewFrame
,
22850 _swigt__p_wxPyPreviewFrame
,
22851 _swigt__p_wxAcceleratorEntry
,
22852 _swigt__p_wxPyPanel
,
22854 _swigt__p_wxPrintData
,
22855 _swigt__p_wxFontData
,
22857 _swigt__p_wxTaskBarIcon
,
22858 _swigt__p_wxIconBundle
,
22859 _swigt__p_wxLayoutAlgorithm
,
22860 _swigt__p_wxFindDialogEvent
,
22861 _swigt__p_wxPreviewCanvas
,
22863 _swigt__p_wxSplitterEvent
,
22864 _swigt__p_wxRegion
,
22865 _swigt__p_wxFindReplaceData
,
22870 _swigt__p_wxMDIChildFrame
,
22871 _swigt__p_wxColourData
,
22872 _swigt__p_wxNotifyEvent
,
22873 _swigt__p_wxPyWindow
,
22874 _swigt__p_wxSplashScreen
,
22875 _swigt__p_wxFindReplaceDialog
,
22876 _swigt__p_wxProgressDialog
,
22877 _swigt__p_wxMessageDialog
,
22878 _swigt__p_wxTextEntryDialog
,
22879 _swigt__p_wxSingleChoiceDialog
,
22880 _swigt__p_wxMultiChoiceDialog
,
22881 _swigt__p_wxFileDialog
,
22882 _swigt__p_wxPrinter
,
22883 _swigt__p_wxMenuItem
,
22884 _swigt__p_wxArrayInt
,
22885 _swigt__p_wxEvtHandler
,
22886 _swigt__p_wxCalculateLayoutEvent
,
22887 _swigt__p_wxPyHtmlListBox
,
22888 _swigt__p_wxPyVListBox
,
22890 _swigt__p_wxAcceleratorTable
,
22891 _swigt__p_wxMiniFrame
,
22893 _swigt__p_wxPyPrintout
,
22894 _swigt__p_wxTaskBarIconEvent
,
22895 _swigt__p_wxScrollWinEvent
,
22896 _swigt__p_wxStatusBar
,
22897 _swigt__p_wxMDIParentFrame
,
22899 _swigt__p_wxObject
,
22900 _swigt__p_unsigned_long
,
22901 _swigt__p_wxMDIClientWindow
,
22902 _swigt__p_wxTipWindow
,
22903 _swigt__p_wxSashLayoutWindow
,
22904 _swigt__p_wxSplitterWindow
,
22905 _swigt__p_wxSplashScreenWindow
,
22906 _swigt__p_wxPyVScrolledWindow
,
22907 _swigt__p_wxPyPopupTransientWindow
,
22908 _swigt__p_wxPopupWindow
,
22909 _swigt__p_wxSashWindow
,
22910 _swigt__p_wxTopLevelWindow
,
22911 _swigt__p_wxWindow
,
22912 _swigt__p_wxScrolledWindow
,
22913 _swigt__p_wxMenuBar
,
22914 _swigt__p_wxPrintPreview
,
22915 _swigt__p_wxSashEvent
,
22916 _swigt__p_wxString
,
22917 _swigt__p_wxPyPrintPreview
,
22918 _swigt__p_wxFontDialog
,
22919 _swigt__p_wxDirDialog
,
22920 _swigt__p_wxColourDialog
,
22921 _swigt__p_wxDialog
,
22923 _swigt__p_wxPageSetupDialog
,
22924 _swigt__p_wxPrintDialog
,
22925 _swigt__p_wxBitmap
,
22926 _swigt__p_wxCommandEvent
,
22927 _swigt__p_wxPrintQuality
,
22928 _swigt__p_wxPreviewControlBar
,
22929 _swigt__p_wxPyPreviewControlBar
,
22930 _swigt__p_wxColour
,
22931 _swigt__p_wxToolBar
,
22932 _swigt__p_wxPageSetupDialogData
,
22933 _swigt__p_wxPrintDialogData
,
22938 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22940 static swig_const_info swig_const_table
[] = {
22941 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR
, 0, 0, 0},
22942 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR
, 0, 0, 0},
22943 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR
, 0, 0, 0},
22944 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER
, 0, 0, 0},
22945 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION
, 0, 0, 0},
22946 { SWIG_PY_INT
, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL
, 0, 0, 0},
22947 { SWIG_PY_INT
, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG
, 0, 0, 0},
22948 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT
, 0, 0, 0},
22949 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN
, 0, 0, 0},
22950 { SWIG_PY_INT
, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE
, 0, 0, 0},
22951 { SWIG_PY_INT
, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT
, 0, 0, 0},
22952 { SWIG_PY_INT
, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT
, 0, 0, 0},
22953 { SWIG_PY_INT
, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER
, 0, 0, 0},
22954 { SWIG_PY_INT
, (char *)"SP_NOSASH", (long) wxSP_NOSASH
, 0, 0, 0},
22955 { SWIG_PY_INT
, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT
, 0, 0, 0},
22956 { SWIG_PY_INT
, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE
, 0, 0, 0},
22957 { SWIG_PY_INT
, (char *)"SP_3DSASH", (long) wxSP_3DSASH
, 0, 0, 0},
22958 { SWIG_PY_INT
, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER
, 0, 0, 0},
22959 { SWIG_PY_INT
, (char *)"SP_BORDER", (long) wxSP_BORDER
, 0, 0, 0},
22960 { SWIG_PY_INT
, (char *)"SP_3D", (long) wxSP_3D
, 0, 0, 0},
22961 { SWIG_PY_INT
, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL
, 0, 0, 0},
22962 { SWIG_PY_INT
, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL
, 0, 0, 0},
22963 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE
, 0, 0, 0},
22964 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING
, 0, 0, 0},
22965 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN
, 0, 0, 0},
22966 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 0, 0, 0},
22967 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 0, 0, 0},
22968 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 0, 0, 0},
22969 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT
, 0, 0, 0},
22970 { SWIG_PY_INT
, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE
, 0, 0, 0},
22971 { SWIG_PY_INT
, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING
, 0, 0, 0},
22972 { SWIG_PY_INT
, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN
, 0, 0, 0},
22973 { SWIG_PY_INT
, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER
, 0, 0, 0},
22974 { SWIG_PY_INT
, (char *)"SW_BORDER", (long) wxSW_BORDER
, 0, 0, 0},
22975 { SWIG_PY_INT
, (char *)"SW_3DSASH", (long) wxSW_3DSASH
, 0, 0, 0},
22976 { SWIG_PY_INT
, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER
, 0, 0, 0},
22977 { SWIG_PY_INT
, (char *)"SW_3D", (long) wxSW_3D
, 0, 0, 0},
22978 { SWIG_PY_INT
, (char *)"SASH_TOP", (long) wxSASH_TOP
, 0, 0, 0},
22979 { SWIG_PY_INT
, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT
, 0, 0, 0},
22980 { SWIG_PY_INT
, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM
, 0, 0, 0},
22981 { SWIG_PY_INT
, (char *)"SASH_LEFT", (long) wxSASH_LEFT
, 0, 0, 0},
22982 { SWIG_PY_INT
, (char *)"SASH_NONE", (long) wxSASH_NONE
, 0, 0, 0},
22983 { SWIG_PY_INT
, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK
, 0, 0, 0},
22984 { SWIG_PY_INT
, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE
, 0, 0, 0},
22985 { SWIG_PY_INT
, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED
, 0, 0, 0},
22986 { SWIG_PY_INT
, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL
, 0, 0, 0},
22987 { SWIG_PY_INT
, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL
, 0, 0, 0},
22988 { SWIG_PY_INT
, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE
, 0, 0, 0},
22989 { SWIG_PY_INT
, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP
, 0, 0, 0},
22990 { SWIG_PY_INT
, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT
, 0, 0, 0},
22991 { SWIG_PY_INT
, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT
, 0, 0, 0},
22992 { SWIG_PY_INT
, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM
, 0, 0, 0},
22993 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y
, 0, 0, 0},
22994 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X
, 0, 0, 0},
22995 { SWIG_PY_INT
, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH
, 0, 0, 0},
22996 { SWIG_PY_INT
, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY
, 0, 0, 0},
22997 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO
, 0, 0, 0},
22998 { SWIG_PY_INT
, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT
, 0, 0, 0},
22999 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE
, 0, 0, 0},
23000 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN
, 0, 0, 0},
23001 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP
, 0, 0, 0},
23002 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN
, 0, 0, 0},
23003 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP
, 0, 0, 0},
23004 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK
, 0, 0, 0},
23005 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK
, 0, 0, 0},
23006 { SWIG_PY_INT
, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE
, 0, 0, 0},
23007 { SWIG_PY_INT
, (char *)"FR_DOWN", (long) wxFR_DOWN
, 0, 0, 0},
23008 { SWIG_PY_INT
, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD
, 0, 0, 0},
23009 { SWIG_PY_INT
, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE
, 0, 0, 0},
23010 { SWIG_PY_INT
, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG
, 0, 0, 0},
23011 { SWIG_PY_INT
, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN
, 0, 0, 0},
23012 { SWIG_PY_INT
, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE
, 0, 0, 0},
23013 { SWIG_PY_INT
, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD
, 0, 0, 0},
23014 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND
, 0, 0, 0},
23015 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT
, 0, 0, 0},
23016 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE
, 0, 0, 0},
23017 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL
, 0, 0, 0},
23018 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE
, 0, 0, 0},
23019 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
23020 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
23021 { SWIG_PY_INT
, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
23022 { SWIG_PY_INT
, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
23023 { SWIG_PY_INT
, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
23024 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
23025 { SWIG_PY_INT
, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
23026 { SWIG_PY_INT
, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
23027 { SWIG_PY_INT
, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE
, 0, 0, 0},
23028 { SWIG_PY_INT
, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW
, 0, 0, 0},
23029 { SWIG_PY_INT
, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE
, 0, 0, 0},
23030 { SWIG_PY_INT
, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER
, 0, 0, 0},
23031 { SWIG_PY_INT
, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR
, 0, 0, 0},
23032 { SWIG_PY_INT
, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED
, 0, 0, 0},
23033 { SWIG_PY_INT
, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR
, 0, 0, 0},
23034 { SWIG_PY_INT
, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT
, 0, 0, 0},
23035 { SWIG_PY_INT
, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS
, 0, 0, 0},
23036 { SWIG_PY_INT
, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT
, 0, 0, 0},
23037 { SWIG_PY_INT
, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM
, 0, 0, 0},
23038 { SWIG_PY_INT
, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST
, 0, 0, 0},
23039 { SWIG_PY_INT
, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST
, 0, 0, 0},
23040 { SWIG_PY_INT
, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO
, 0, 0, 0},
23041 { SWIG_PY_INT
, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT
, 0, 0, 0},
23042 { SWIG_PY_INT
, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE
, 0, 0, 0},
23043 { SWIG_PY_INT
, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT
, 0, 0, 0},
23044 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS
, 0, 0, 0},
23045 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT
, 0, 0, 0},
23046 { SWIG_PY_INT
, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM
, 0, 0, 0},
23047 { SWIG_PY_INT
, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST
, 0, 0, 0},
23048 { SWIG_PY_INT
, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST
, 0, 0, 0},
23049 { SWIG_PY_INT
, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO
, 0, 0, 0},
23059 SWIGEXPORT(void) SWIG_init(void) {
23060 static PyObject
*SWIG_globals
= 0;
23061 static int typeinit
= 0;
23064 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
23065 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
23066 d
= PyModule_GetDict(m
);
23069 for (i
= 0; swig_types_initial
[i
]; i
++) {
23070 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
23074 SWIG_InstallConstants(d
,swig_const_table
);
23076 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
23077 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
23078 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
23079 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
23080 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
23081 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
23082 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
23083 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
23084 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
23086 // Map renamed classes back to their common name for OOR
23087 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
23088 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
23089 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
23091 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
23092 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
23093 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
23094 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
23095 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
23096 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
23097 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
23098 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
23099 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
23100 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
23101 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
23102 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
23104 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");