fix Windows window<%> get-text-extent

svn: r11393
This commit is contained in:
Matthew Flatt 2008-08-22 22:12:32 +00:00
parent 54ffac164a
commit 8457a3472a

View File

@ -743,7 +743,7 @@ void wxWindow::GetTextExtent(const char *string, double *x, double *y,
wxFont *fontToUse = theFont;
if (!fontToUse)
fontToUse = font;
fontToUse = GetFont();
if (!measure_dc) {
wxBitmap *bm;