c++ - wxButton still looking selected after next button gets selected -


there several wxbutton on panel. wxbutton blinks when focused, after new button gets selected, previous not stop blink. 2 of them looking selected, e.g. if third gets selected first 1 looks fine etc.

i tried stopping propagation of setfocus events, subclassing wxbutton , overriding methods

bool acceptsfocusfromkeyboard() const {      return false; }   virtual bool acceptsfocus() const {     return false; } 

but without results.

this happens on windows 7, win 8.1 , mac looks expected.

anyone had same problem?

you shouldn't have special focus work correctly, make sure not intercept, without skipping, focus events doing can indeed break things mentioned in documentation.

if can reproduce problem simple changes in 1 of wxwidgets samples wxwidgets 3, please open ticket explaining how it.


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -