]> git.saurik.com Git - wxWidgets.git/commitdiff
cleanup
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 14 Feb 2005 05:51:52 +0000 (05:51 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 14 Feb 2005 05:51:52 +0000 (05:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/corefoundation/cfstring.h

index 23e2f8d75b809436bbd547444c01f829fa891754..428e5c8c14164a758391ecfd85765ae55b3da7fd 100644 (file)
@@ -32,23 +32,20 @@ void wxMacWakeUp() ;
 class wxMacCFStringHolder
 {
 public:
-    wxMacCFStringHolder()
+    wxMacCFStringHolder() 
+        : m_cfs(NULL) , m_release(false) 
     {
-        m_cfs = NULL ;
-        m_release = false ;
     }
 
     wxMacCFStringHolder(const wxString &str , wxFontEncoding encoding )
+        : m_cfs(NULL) , m_release(false) 
     {
-        m_cfs = NULL ;
-        m_release = false ;
         Assign( str , encoding ) ;
     }
 
     wxMacCFStringHolder(CFStringRef ref , bool release = true )
+        : m_cfs(ref) , m_release(release) 
     {
-        m_cfs = ref ;
-        m_release = release ;
     }
 
     ~wxMacCFStringHolder()
@@ -80,5 +77,7 @@ private:
 
     CFStringRef m_cfs;
     bool m_release ;
+    
+    DECLARE_NO_COPY_CLASS( wxMacCFStringHolder )
 } ;