From 2c95eb0c575c95a2cdf3c2eacb562d1a5a8cfe08 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Fri, 17 Feb 2012 13:07:28 +0100 Subject: [wx] Fix api bugs in wxDC Some out arguments was in args. --- lib/wx/c_src/gen/wxe_derived_dest.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/wx/c_src/gen/wxe_derived_dest.h') diff --git a/lib/wx/c_src/gen/wxe_derived_dest.h b/lib/wx/c_src/gen/wxe_derived_dest.h index 8eac5bb62f..cf32c85cdd 100644 --- a/lib/wx/c_src/gen/wxe_derived_dest.h +++ b/lib/wx/c_src/gen/wxe_derived_dest.h @@ -129,13 +129,17 @@ class EwxBufferedPaintDC : public wxBufferedPaintDC { EwxBufferedPaintDC(wxWindow * window,int style) : wxBufferedPaintDC(window,style) {}; }; +#if wxUSE_GRAPHICS_CONTEXT class EwxGraphicsObject : public wxGraphicsObject { public: ~EwxGraphicsObject() {((WxeApp *)wxTheApp)->clearPtr(this);}; }; +#endif // wxUSE_GRAPHICS_CONTEXT +#if wxUSE_GRAPHICS_CONTEXT class EwxGraphicsContext : public wxGraphicsContext { public: ~EwxGraphicsContext() {((WxeApp *)wxTheApp)->clearPtr(this);}; }; +#endif // wxUSE_GRAPHICS_CONTEXT class EwxMenuBar : public wxMenuBar { public: ~EwxMenuBar() {((WxeApp *)wxTheApp)->clearPtr(this);}; @@ -679,16 +683,20 @@ class EwxGLCanvas : public wxGLCanvas { EwxGLCanvas(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style,const wxString& name,int * attribList,const wxPalette& palette) : wxGLCanvas(parent,id,pos,size,style,name,attribList,palette) {}; }; +#if wxUSE_AUI class EwxAuiManager : public wxAuiManager { public: ~EwxAuiManager() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxAuiManager(wxWindow * managed_wnd,unsigned int flags) : wxAuiManager(managed_wnd,flags) {}; }; +#endif // wxUSE_AUI +#if wxUSE_AUI class EwxAuiNotebook : public wxAuiNotebook { public: ~EwxAuiNotebook() {((WxeApp *)wxTheApp)->clearPtr(this);}; EwxAuiNotebook(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxAuiNotebook(parent,id,pos,size,style) {}; EwxAuiNotebook() : wxAuiNotebook() {}; }; +#endif // wxUSE_AUI class EwxMDIParentFrame : public wxMDIParentFrame { public: ~EwxMDIParentFrame() {((WxeApp *)wxTheApp)->clearPtr(this);}; -- cgit v1.2.3