fix wxEVT_COMMAND_TEXT_ENTER generation in wxSpinCtrl [backport of r53396 from trunk]

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-04-28 11:33:47 +00:00
parent a772b79eb1
commit 3fea4c9842
2 changed files with 2 additions and 1 deletions

View File

@@ -166,6 +166,7 @@ wxMSW:
- Fixed rendering of borders for wxTextCtrl with wxTE_RICH(2) style when
using Windows XP's Classic UI theme.
- Text controls with wxTE_RICH style now also generate wxClipboardTextEvents.
- Fixed wxEVT_COMMAND_TEXT_ENTER generation in wxSpinCtrl.
- Fixed wxSpinCtrl::GetClientSize() to return sensible value and not just
spin button's client size.
- Fixed IMPLEMENT_APP() to be compatible with the -WU flag of Borland C++

View File

@@ -177,7 +177,7 @@ LRESULT APIENTRY _EXPORT wxBuddyTextWndProc(HWND hwnd,
case WM_GETDLGCODE:
// we want to get WXK_RETURN in order to generate the event for it
return DLGC_WANTCHARS;
return DLGC_WANTARROWS;
}
return ::CallWindowProc(CASTWNDPROC spin->GetBuddyWndProc(),