]> git.saurik.com Git - wxWidgets.git/commitdiff
reverted previous commit: the _real_ bug was already fixed
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 24 Jun 2004 06:46:27 +0000 (06:46 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 24 Jun 2004 06:46:27 +0000 (06:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/spinctrl.cpp

index a302bc53bfcfb9f7ae8cdd79faf26cf786461d6b..a0be1e83d4143b9a3e5ee9c68009ab846c95de7b 100644 (file)
@@ -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