// wxPaintDC
//-----------------------------------------------------------------------------
-#if !USE_SHARED_LIBRARY
IMPLEMENT_DYNAMIC_CLASS(wxWindowDC, wxDC)
IMPLEMENT_DYNAMIC_CLASS(wxClientDC, wxWindowDC)
IMPLEMENT_DYNAMIC_CLASS(wxPaintDC, wxWindowDC)
-#endif
/*
* wxWindowDC
m_macPort = UMAGetWindowPort( windowref ) ;
MacSetupPort() ;
m_ok = TRUE ;
- SetBackground(wxBrush(window->GetBackgroundColour(), wxSOLID));
-
+ SetBackground(wxBrush(window->GetBackgroundColour(), wxSOLID));
+ SetFont( window->GetFont() ) ;
}
wxClientDC::~wxClientDC(void)
window->GetUpdateRegion().GetBox( x , y , w , h ) ;
SetClippingRegion( x , y , w , h ) ;
SetBackground(wxBrush(window->GetBackgroundColour(), wxSOLID));
+ SetFont(window->GetFont() ) ;
}
wxPaintDC::~wxPaintDC()