bracket code not working on ios
This commit is contained in:
@@ -26,12 +26,14 @@ wxIMPLEMENT_ABSTRACT_CLASS(wxScreenDCImpl, wxWindowDCImpl);
|
|||||||
wxScreenDCImpl::wxScreenDCImpl( wxDC *owner ) :
|
wxScreenDCImpl::wxScreenDCImpl( wxDC *owner ) :
|
||||||
wxWindowDCImpl( owner )
|
wxWindowDCImpl( owner )
|
||||||
{
|
{
|
||||||
|
#if !wxOSX_USE_IPHONE
|
||||||
CGRect cgbounds ;
|
CGRect cgbounds ;
|
||||||
cgbounds = CGDisplayBounds(CGMainDisplayID());
|
cgbounds = CGDisplayBounds(CGMainDisplayID());
|
||||||
m_width = (wxCoord)cgbounds.size.width;
|
m_width = (wxCoord)cgbounds.size.width;
|
||||||
m_height = (wxCoord)cgbounds.size.height;
|
m_height = (wxCoord)cgbounds.size.height;
|
||||||
SetGraphicsContext( wxGraphicsContext::Create() );
|
SetGraphicsContext( wxGraphicsContext::Create() );
|
||||||
m_ok = true ;
|
m_ok = true ;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
wxScreenDCImpl::~wxScreenDCImpl()
|
wxScreenDCImpl::~wxScreenDCImpl()
|
||||||
|
Reference in New Issue
Block a user