X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/25bb0f8980e997b6146aedbb4deba225b8107f8f..f54e5c1a4f6952c62ed4480f7d26feddc20f98ba:/src/common/rendcmn.cpp?ds=sidebyside diff --git a/src/common/rendcmn.cpp b/src/common/rendcmn.cpp index 323b7b4fb0..b44fcf3a75 100644 --- a/src/common/rendcmn.cpp +++ b/src/common/rendcmn.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: common/rendcmn.cpp +// Name: src/common/rendcmn.cpp // Purpose: wxRendererNative common functions // Author: Vadim Zeitlin // Modified by: @@ -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 { @@ -206,4 +205,3 @@ wxRendererNative *wxRendererNative::Load(const wxString& name) } #endif // wxUSE_DYNLIB_CLASS -