From 509cf714f80f0da04f9610a05e4bf27481a334d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 24 Jun 2004 06:46:27 +0000 Subject: [PATCH] reverted previous commit: the _real_ bug was already fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/spinctrl.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/msw/spinctrl.cpp b/src/msw/spinctrl.cpp index a302bc53bf..a0be1e83d4 100644 --- a/src/msw/spinctrl.cpp +++ b/src/msw/spinctrl.cpp @@ -372,9 +372,6 @@ bool wxSpinCtrl::Create(wxWindow *parent, // should have the same font as the other controls SetFont(GetParent()->GetFont()); - - WXHANDLE hFont = GetFont().GetResourceHandle(); - (void)::SendMessage(GetBuddyHwnd(), WM_SETFONT, (WPARAM)hFont, TRUE); // set the size of the text window - can do it only now, because we // couldn't call DoGetBestSize() before as font wasn't set -- 2.45.2