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:
parent
14a6b6e5f0
commit
509cf714f8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user