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:
@@ -4,12 +4,21 @@ wxWidgets Change Log - For more verbose changes, see the manual
|
|||||||
|
|
||||||
2.6.1
|
2.6.1
|
||||||
-----
|
-----
|
||||||
|
|
||||||
All:
|
All:
|
||||||
|
|
||||||
- Added wxLaunchDefaultBrowser.
|
- Added wxLaunchDefaultBrowser.
|
||||||
|
|
||||||
|
wxMSW:
|
||||||
|
|
||||||
|
- Fixed erroneous selection of content in wxComboBox when within a wxStaticBox.
|
||||||
|
|
||||||
wxMac:
|
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
|
2.6.0
|
||||||
-----
|
-----
|
||||||
|
@@ -259,6 +259,9 @@ WXLRESULT wxComboBox::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lPara
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case WM_SIZE:
|
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
|
// combobox selection sometimes spontaneously changes when its
|
||||||
// size changes, restore it to the old value if necessary
|
// size changes, restore it to the old value if necessary
|
||||||
|
Reference in New Issue
Block a user