]> git.saurik.com Git - wxWidgets.git/commitdiff
forcibly call operator
authorRyan Norton <wxprojects@comcast.net>
Thu, 21 Apr 2005 22:13:09 +0000 (22:13 +0000)
committerRyan Norton <wxprojects@comcast.net>
Thu, 21 Apr 2005 22:13:09 +0000 (22:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/mimetmac.cpp

index 4db3b6ae2872aa5ad3e6d5398672fdf041a7fc4b..61f059e992760cc20387adab8429858710bb1a78 100644 (file)
@@ -1173,7 +1173,7 @@ public:
     {                  }
     
     operator CFTypeRef() const
-    {return (CFTypeRef) ((CFStringRef) m_Holder);      }
+    {return (CFTypeRef) (m_Holder.operator CFStringRef());     } //don't ask
     
     bool IsOk() { return ((CFTypeRef)(*this)) != NULL; }