wxInputConsumer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -276,12 +276,12 @@ wxStdCheckboxInputHandler::wxStdCheckboxInputHandler(wxInputHandler *inphand)
|
||||
{
|
||||
}
|
||||
|
||||
bool wxStdCheckboxInputHandler::HandleActivation(wxControl *control,
|
||||
bool wxStdCheckboxInputHandler::HandleActivation(wxInputConsumer *consumer,
|
||||
bool activated)
|
||||
{
|
||||
// only the focused checkbox appearance changes when the app gains/loses
|
||||
// activation
|
||||
return control->IsFocused();
|
||||
return consumer->GetInputWindow()->IsFocused();
|
||||
}
|
||||
|
||||
#endif // wxUSE_CHECKBOX
|
||||
|
Reference in New Issue
Block a user