pressing Enter when a wxButton has the focus

cai public.cai at gmail.com
Thu Oct 5 07:03:43 PDT 2006


>Have you seen this lines?
>     searchBtn->Disable();
>     searchBtn->SetDefault();
>Is "this" the concerned button?
>
>Thomas

Yes, that's the button. However I do not try to hit Enter on it 
unless it is enabled, of course. And also no other button in this 
dialog box does not react at Enter when it gets the focus (all the 
other buttons except "Search" are enabled all the time).

Regards,

Cristina. 





More information about the wx-users mailing list