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:
Julian Smart
2006-03-24 13:01:19 +00:00
parent 3ee937aad0
commit 54ce9ebbd6
2 changed files with 13 additions and 9 deletions

View File

@@ -1584,4 +1584,15 @@ CGColorSpaceRef wxMacGetGenericRGBColorSpace()
}
#endif
wxMacPortSaver::wxMacPortSaver( GrafPtr port )
{
::GetPort( &m_port ) ;
::SetPort( port ) ;
}
wxMacPortSaver::~wxMacPortSaver()
{
::SetPort( m_port ) ;
}
#endif // wxUSE_GUI