Reduced deprecation warning frequency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1584,4 +1584,15 @@ CGColorSpaceRef wxMacGetGenericRGBColorSpace()
|
||||
}
|
||||
#endif
|
||||
|
||||
wxMacPortSaver::wxMacPortSaver( GrafPtr port )
|
||||
{
|
||||
::GetPort( &m_port ) ;
|
||||
::SetPort( port ) ;
|
||||
}
|
||||
|
||||
wxMacPortSaver::~wxMacPortSaver()
|
||||
{
|
||||
::SetPort( m_port ) ;
|
||||
}
|
||||
|
||||
#endif // wxUSE_GUI
|
||||
|
Reference in New Issue
Block a user