]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
add wxGenericStaticText (#9656)
[wxWidgets.git] / src / common / wincmn.cpp
index 1a70ba68878bebfbdf95947b606f02ab7aa682ac..03e49a2a0c49e9461eb0cd78e6abbc223b5110a8 100644 (file)
@@ -2747,8 +2747,8 @@ bool wxWindowBase::TryValidator(wxEvent& wxVALIDATOR_PARAM(event))
     // is receiving the event
     if ( event.GetEventObject() == this )
     {
     // is receiving the event
     if ( event.GetEventObject() == this )
     {
-        wxValidator *validator = GetValidator();
-        if ( validator && validator->ProcessEvent(event) )
+        wxValidator * const validator = GetValidator();
+        if ( validator && validator->ProcessEventHere(event) )
         {
             return true;
         }
         {
             return true;
         }