]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile in non-CG mode
authorJulian Smart <julian@anthemion.co.uk>
Thu, 2 Nov 2006 11:05:41 +0000 (11:05 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 2 Nov 2006 11:05:41 +0000 (11:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/dcclient.cpp

index db6a1c5e727c7c90f610fb8c054c13472cfc517b..1cfe5dcb3023c21fb39813e3438e6d6fcd6a328d 100644 (file)
@@ -112,7 +112,9 @@ static wxBrush MacGetBackgroundBrush( wxWindow* window )
 wxWindowDC::wxWindowDC()
 {
     m_window = NULL ;
+#if wxMAC_USE_CORE_GRAPHICS
     m_release = false;
+#endif
 }
 
 wxWindowDC::wxWindowDC(wxWindow *window)