git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10060
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
class WXDLLEXPORT wxMacPortSetter
{
public :
class WXDLLEXPORT wxMacPortSetter
{
public :
- wxMacPortSetter( wxDC* dc ) ;
+ wxMacPortSetter( const wxDC* dc ) ;
~wxMacPortSetter() ;
private :
AGAPortHelper m_ph ;
~wxMacPortSetter() ;
private :
AGAPortHelper m_ph ;
m_brush = *wxWHITE_BRUSH;
};
m_brush = *wxWHITE_BRUSH;
};
-wxMacPortSetter::wxMacPortSetter( wxDC* dc ) :
+wxMacPortSetter::wxMacPortSetter( const wxDC* dc ) :
m_ph( dc->m_macPort )
{
wxASSERT( dc->Ok() ) ;
m_ph( dc->m_macPort )
{
wxASSERT( dc->Ok() ) ;
m_brush = *wxWHITE_BRUSH;
};
m_brush = *wxWHITE_BRUSH;
};
-wxMacPortSetter::wxMacPortSetter( wxDC* dc ) :
+wxMacPortSetter::wxMacPortSetter( const wxDC* dc ) :
m_ph( dc->m_macPort )
{
wxASSERT( dc->Ok() ) ;
m_ph( dc->m_macPort )
{
wxASSERT( dc->Ok() ) ;