X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/349efbaa89b499557d9a26320bcbd9b012aac9d2..a200c35efa060107d8243458fca160eb237b9c23:/src/generic/scrlwing.cpp?ds=sidebyside diff --git a/src/generic/scrlwing.cpp b/src/generic/scrlwing.cpp index c4fbb95674..fc39dd6d16 100644 --- a/src/generic/scrlwing.cpp +++ b/src/generic/scrlwing.cpp @@ -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; }