Fixed erroneous selection of content in comboboxes within static boxes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2005-04-25 13:49:53 +00:00
parent f4dd8614fa
commit 3bce55ac06
2 changed files with 14 additions and 2 deletions

View File

@ -4,12 +4,21 @@ wxWidgets Change Log - For more verbose changes, see the manual
2.6.1
-----
All:
- Added wxLaunchDefaultBrowser.
wxMSW:
- Fixed erroneous selection of content in wxComboBox when within a wxStaticBox.
wxMac:
- Added support for launching 'APPL' bundles with wxExecute (usually they have a .app extension and are the ones that reside in the Applications folder).
- Fixed a bug in wxGetKeyState where shift and some other keys were returning an incorrect state.
- Added support for launching 'APPL' bundles with wxExecute (usually they have a
.app extension and are the ones that reside in the Applications folder).
- Fixed a bug in wxGetKeyState where shift and some other keys were returning an
incorrect state.
2.6.0
-----

View File

@ -259,6 +259,9 @@ WXLRESULT wxComboBox::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lPara
break;
case WM_SIZE:
// wxStaticBox can generate this message, when modifying the control's style.
// This causes the content of the combobox to be selected, for some reason.
case WM_STYLECHANGED:
{
// combobox selection sometimes spontaneously changes when its
// size changes, restore it to the old value if necessary