X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d17ee000a844ae3fe216c2ae79cc0741fafc936..51c72a7b56ea50fb3c9b082da1bbaddf6a218073:/src/common/rendcmn.cpp diff --git a/src/common/rendcmn.cpp b/src/common/rendcmn.cpp index 86e02ce8b9..6cbdbb9d5a 100644 --- a/src/common/rendcmn.cpp +++ b/src/common/rendcmn.cpp @@ -32,7 +32,7 @@ #include "wx/apptrait.h" #include "wx/renderer.h" -#include "wx/ptr_scpd.h" +#include "wx/scopedptr.h" #if wxUSE_DYNLIB_CLASS #include "wx/dynlib.h" @@ -42,8 +42,7 @@ // wxRendererPtr: auto pointer holding the global renderer // ---------------------------------------------------------------------------- -wxDECLARE_SCOPED_PTR(wxRendererNative, wxRendererPtrBase) -wxDEFINE_SCOPED_PTR(wxRendererNative, wxRendererPtrBase) +typedef wxScopedPtr wxRendererPtrBase; class wxRendererPtr : public wxRendererPtrBase { @@ -83,7 +82,7 @@ private: // just to suppress a gcc warning friend class wxRendererPtrDummyFriend; - DECLARE_NO_COPY_CLASS(wxRendererPtr) + wxDECLARE_NO_COPY_CLASS(wxRendererPtr); }; // return the global and unique wxRendererPtr