From: Václav Slavík Date: Wed, 23 Jun 2004 15:30:37 +0000 (+0000) Subject: GetFont doesn't return reference anymore X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/daa38c004f93cbeb7acb7d4dd38e2ea39e288750 GetFont doesn't return reference anymore git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index 97191a01fa..1c2feaa680 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -294,7 +294,7 @@ bool wxRadioBox::Create(wxWindow *parent, m_radioHeight = new int[n]; WXHFONT hfont = 0; - wxFont& font = GetFont(); + wxFont font = GetFont(); if ( font.Ok() ) { hfont = font.GetResourceHandle();