]> git.saurik.com Git - wxWidgets.git/commit
Set colours and fonts for all elements of the generic wxSearchCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 27 Aug 2011 12:13:23 +0000 (12:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 27 Aug 2011 12:13:23 +0000 (12:13 +0000)
commit35368572bc8faa8efc09687f2ba25fd9e02b4281
tree740d113becee59dba14728b95dd392bbb29b993e
parent162e221f7625c366ad064dd5e3a0fc1bfb138a8b
Set colours and fonts for all elements of the generic wxSearchCtrl.

Derive generic wxSearchCtrl from wxCompositeWindow<> to ensure that calls to
its Set{Fore,Back}groundColour() are propagated to all its children, otherwise
they applied only to the composite control itself but not e.g. its text part.

Also update the bitmaps when the background colour changes to ensure that it
appears as transparent.

Closes #13428.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/generic/srchctlg.h
include/wx/srchctrl.h
src/generic/srchctlg.cpp