]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/dc.cpp
MoreFilesX 1.0.1: A collection of useful high-level File Manager routines which
[wxWidgets.git] / src / mac / dc.cpp
index ef065b7ac1172db31e9f62771522222d252d7811..d9b5abecbd9a85fa2617f09b81f64c3db9a04568 100644 (file)
@@ -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] ;