]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/checkbox.cpp
compilation fix for Watcom (sorry, Vadim, there's some bug in Watcom C++, it doesn...
[wxWidgets.git] / src / univ / checkbox.cpp
index 916ea5c501fe28e03174072fa4ea9a66949196d1..295756acd0d7a1f944a98027b02a44862943c8e8 100644 (file)
@@ -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