]> git.saurik.com Git - wxWidgets.git/commitdiff
fix for event processing in wxScrollHelper
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 18 Sep 2001 12:39:18 +0000 (12:39 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 18 Sep 2001 12:39:18 +0000 (12:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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;
         }