text is greyed out in wxSearchCtrl

I created wxSearchCtrl to search in a wxGrid for rows that have cells match
with text in the wxSearchCtrl.
+ If I start by typing in to wxSearchCtrl, everything is OK with black text
in wxSearchCtrl.
+ However in the event EVT_GRID_CELL_LEFT_DCLICK of wxGrid, I set the text
in wxSearchCtrl with value in the cell. No matter I use ChangeValue() or
SetValue(), the text in wxSearchCtrl turns grey. From that point, if I try
to type again in wxSearchCtrl, the text is always grey.
What should I do to make text in wxSearchCtrl black.

ยทยทยท

--
View this message in context: http://wxpython-users.1045709.n5.nabble.com/text-is-greyed-out-in-wxSearchCtrl-tp5715344.html
Sent from the wxPython-users mailing list archive at Nabble.com.