From 8457a3472ae07757e7ff464432c877012fcbc748 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Fri, 22 Aug 2008 22:12:32 +0000 Subject: [PATCH] fix Windows window<%> get-text-extent svn: r11393 --- src/wxwindow/src/msw/wx_win.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wxwindow/src/msw/wx_win.cxx b/src/wxwindow/src/msw/wx_win.cxx index 84ca8a00b7..87b92d0f07 100644 --- a/src/wxwindow/src/msw/wx_win.cxx +++ b/src/wxwindow/src/msw/wx_win.cxx @@ -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;