The combobox button isn't a focus stop.

This commit is contained in:
David Capello 2012-06-16 00:06:54 -03:00
parent a74b9d89a0
commit 8c13c32ac0

View File

@ -18,7 +18,9 @@ using namespace gfx;
class ComboBoxButton : public Button class ComboBoxButton : public Button
{ {
public: public:
ComboBoxButton() : Button("") { } ComboBoxButton() : Button("") {
setFocusStop(false);
}
void onPaint(PaintEvent& ev) OVERRIDE { void onPaint(PaintEvent& ev) OVERRIDE {
getTheme()->paintComboBoxButton(ev); getTheme()->paintComboBoxButton(ev);