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
This commit is contained in:
Václav Slavík 2004-06-24 06:46:27 +00:00
parent 14a6b6e5f0
commit 509cf714f8

View 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