X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3340066af696862df9394469b341b700fe4e3a68..15126fa8c239f279ca2501c0b52afcc1c3e5d4cc:/src/mac/dc.cpp diff --git a/src/mac/dc.cpp b/src/mac/dc.cpp index ef065b7ac1..d9b5abecbd 100644 --- a/src/mac/dc.cpp +++ b/src/mac/dc.cpp @@ -1650,7 +1650,7 @@ void wxDC::DoGetTextExtent( const wxString &string, wxCoord *width, wxCoord *he macText = wxMacMakeMacStringFromPC( string ) ; text = macText ; length = macText.Length() ; - } + } else { text = string ; @@ -2041,7 +2041,11 @@ void wxDC::MacInstallPen() const case wxUSER_DASH : { wxDash* dash ; + m_pen.GetDashes(&dash) ; + // right now we don't allocate larger pixmaps + // int number = + m_pen.GetDashes(&dash) ; for ( int i = 0 ; i < 8 ; ++i ) { pat.pat[i] = dash[0] ;