fixing retain semantics

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2009-02-16 10:59:55 +00:00
parent b57c871024
commit 35833b845b

View File

@@ -3198,6 +3198,7 @@ void wxMacMLTEHIViewControl::SetBackground( const wxBrush &brush )
CGColorRef color = CGColorCreate( wxMacGetGenericRGBColorSpace() , component );
HITextViewSetBackgroundColor( m_textView , color );
CGColorRelease(color);
}
else
#endif