]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/metafile.cpp
wxBrush::SetColour and wxPen::SetColour unified. Source cleaning.
[wxWidgets.git] / src / msw / metafile.cpp
index ec6f66f44f91e8e50cc1f29d5babf88721e3ee80..2889b04b854c4b22ecff58c7f8d100df9819c31b 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "metafile.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -232,7 +228,7 @@ void wxMetafileDC::GetTextExtent(const wxString& string, long *x, long *y,
 
     SIZE sizeRect;
     TEXTMETRIC tm;
-    GetTextExtentPoint(dc, WXSTRINGCAST string, wxStrlen(WXSTRINGCAST string), &sizeRect);
+    ::GetTextExtentPoint32(dc, WXSTRINGCAST string, wxStrlen(WXSTRINGCAST string), &sizeRect);
     GetTextMetrics(dc, &tm);
 
     ReleaseDC(NULL, dc);