]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/rendcmn.cpp
fix bug introduced in r54646: we still need to count the embedded NULs when convertin...
[wxWidgets.git] / src / common / rendcmn.cpp
index 86e02ce8b9fe301aeb5f0392d3cc846af3999f5c..b44fcf3a7528fdbfa17decda0034a570e0b5c320 100644 (file)
@@ -42,8 +42,7 @@
 // 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
 {