]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/rendcmn.cpp
fix off by 1 error in GetTextRaw() (#4317)
[wxWidgets.git] / src / common / rendcmn.cpp
index 86e02ce8b9fe301aeb5f0392d3cc846af3999f5c..b44fcf3a7528fdbfa17decda0034a570e0b5c320 100644 (file)
@@ -42,8 +42,7 @@
 // wxRendererPtr: auto pointer holding the global renderer
 // ----------------------------------------------------------------------------
 
 // wxRendererPtr: auto pointer holding the global renderer
 // ----------------------------------------------------------------------------
 
-wxDECLARE_SCOPED_PTR(wxRendererNative, wxRendererPtrBase)
-wxDEFINE_SCOPED_PTR(wxRendererNative, wxRendererPtrBase)
+typedef wxScopedPtr<wxRendererNative> wxRendererPtrBase;
 
 class wxRendererPtr : public wxRendererPtrBase
 {
 
 class wxRendererPtr : public wxRendererPtrBase
 {