X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fbb7ee81b4af8eccbef20f738142d5c8048f0f4a..f45bffb6861df2f9c25e7311b765be6ba9045f45:/include/wx/mac/carbon/private.h diff --git a/include/wx/mac/carbon/private.h b/include/wx/mac/carbon/private.h index 9e57b5f43a..3f20c40076 100644 --- a/include/wx/mac/carbon/private.h +++ b/include/wx/mac/carbon/private.h @@ -97,15 +97,8 @@ class WXDLLEXPORT wxMacPortSaver DECLARE_NO_COPY_CLASS(wxMacPortSaver) public: - wxMacPortSaver( GrafPtr port ) - { - ::GetPort( &m_port ) ; - ::SetPort( port ) ; - } - ~wxMacPortSaver() - { - ::SetPort( m_port ) ; - } + wxMacPortSaver( GrafPtr port ); + ~wxMacPortSaver(); private : GrafPtr m_port ; } ;