]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/ObjcRef.h
Applied patch [ 1218833 ] [wxMSW] wxListBox optimisation for XP
[wxWidgets.git] / 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)