merging r60178

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_9_0_BRANCH@60179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2009-04-15 20:45:42 +00:00
parent 02cbcf5808
commit e6aca43e3d

View File

@@ -31,8 +31,8 @@ wxScreenDCImpl::wxScreenDCImpl( wxDC *owner ) :
wxWindowDCImpl( owner )
{
#if wxOSX_USE_COCOA_OR_IPHONE
m_graphicContext = NULL;
m_ok = false ;
SetGraphicsContext( wxGraphicsContext::Create() );
m_ok = true ;
#else
CGRect cgbounds ;
cgbounds = CGDisplayBounds(CGMainDisplayID());