]> git.saurik.com Git - wxWidgets.git/commit - src/msw/combobox.cpp
Fix setting colours for the edit control part of wxComboBox.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 13 Sep 2012 17:11:56 +0000 (17:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 13 Sep 2012 17:11:56 +0000 (17:11 +0000)
commit5ddb3b8c535567e281e7a437e5e700e82d1516b4
treed86450ba1d76afe1481cb2d91c99afc5fcf7ba09
parentd07f2e19181bc5caf29eb2338ce513be6fa42405
Fix setting colours for the edit control part of wxComboBox.

Recognize this control as part of wxComboBox and so handle WM_CTLCOLOR for it.

To do this, override ContainsHWND() in wxComboBox and use it, on the parent
window, in wxControl::DoMSWControlColor(), if we fail to find the window
directly.

Closes #811.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/msw/combobox.h
src/msw/combobox.cpp
src/msw/control.cpp