X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71908213057690d5452f72b2b9c8e62b53357170..9298c435cf9b3f5112de555c46c52c51f1d284bb:/src/univ/checkbox.cpp diff --git a/src/univ/checkbox.cpp b/src/univ/checkbox.cpp index 447e93e216..295756acd0 100644 --- a/src/univ/checkbox.cpp +++ b/src/univ/checkbox.cpp @@ -18,7 +18,7 @@ // ---------------------------------------------------------------------------- #ifdef __GNUG__ - #pragma implementation "checkbox.h" + #pragma implementation "univcheckbox.h" #endif #include "wx/wxprec.h" @@ -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