X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/519cb848a8f4c91c73421bb75314754284e593a4..c2a05373bff436737034d97540715d6c6a7e3581:/src/mac/dcclient.cpp diff --git a/src/mac/dcclient.cpp b/src/mac/dcclient.cpp index 08aeff0504..b4155b572d 100644 --- a/src/mac/dcclient.cpp +++ b/src/mac/dcclient.cpp @@ -78,8 +78,8 @@ wxClientDC::wxClientDC(wxWindow *window) m_macPort = UMAGetWindowPort( windowref ) ; MacSetupPort() ; m_ok = TRUE ; - SetBackground(wxBrush(window->GetBackgroundColour(), wxSOLID)); - + SetBackground(wxBrush(window->GetBackgroundColour(), wxSOLID)); + SetFont( window->GetFont() ) ; } wxClientDC::~wxClientDC(void) @@ -108,6 +108,7 @@ wxPaintDC::wxPaintDC(wxWindow *window) window->GetUpdateRegion().GetBox( x , y , w , h ) ; SetClippingRegion( x , y , w , h ) ; SetBackground(wxBrush(window->GetBackgroundColour(), wxSOLID)); + SetFont(window->GetFont() ) ; } wxPaintDC::~wxPaintDC()