]> git.saurik.com Git - wxWidgets.git/commitdiff
GCC 4.0 (Apple 4059) is a little bit pickier than 3.3.
authorDavid Elliott <dfe@tgwbd.org>
Wed, 23 Mar 2005 05:51:15 +0000 (05:51 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Wed, 23 Mar 2005 05:51:15 +0000 (05:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/cocoa/ObjcRef.h

index faa11bea36aef5b944ed3fac9c2a28402a956da3..17493d14dab1f81d685d2036024699136cfb48fe 100644 (file)
@@ -64,7 +64,7 @@ class wxObjcAutoRef: public wxObjcAutoRefFromAlloc<T>
 public:
     wxObjcAutoRef(T p = 0)
     :   wxObjcAutoRefFromAlloc<T>(p)
-    {   ObjcRetain(m_ptr); }
+    {   ObjcRetain(wxObjcAutoRefFromAlloc<T>::m_ptr); }
     ~wxObjcAutoRef() {}
     wxObjcAutoRef(const wxObjcAutoRef& otherRef)
     :   wxObjcAutoRefFromAlloc<T>(otherRef)