]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/scrlwing.cpp
wxInputConsumer
[wxWidgets.git] / src / generic / scrlwing.cpp
index c4fbb956742c5649cf43375df563103f761c2f3e..fc39dd6d169cf9e2c06441e2d48d90c17c6195fd 100644 (file)
@@ -203,7 +203,7 @@ bool wxScrollHelperEvtHandler::ProcessEvent(wxEvent& event)
         // normally, nothing more to do here - except if it was a paint event
         // which wasn't really processed, then we'll try to call our
         // OnDraw() below (from HandleOnPaint)
-        if ( !m_hasDrawnWindow )
+        if ( m_hasDrawnWindow )
         {
             return TRUE;
         }