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:
@@ -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
|
||||
|
Reference in New Issue
Block a user