implemented (untested) work around for wxScrolledWindow painting bug

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-08-13 15:42:29 +00:00
parent 88b792af94
commit 349efbaa89
3 changed files with 104 additions and 29 deletions

View File

@@ -14,6 +14,7 @@
#include "wx/window.h"
class WXDLLEXPORT wxScrollHelperEvtHandler;
class WXDLLEXPORT wxTimer;
// ----------------------------------------------------------------------------
@@ -139,6 +140,13 @@ protected:
*h = size.y;
}
// change just the target window (unlike SetWindow which changes m_win as
// well)
void DoSetTargetWindow(wxWindow *target);
// delete the event handler we installed
void DeleteEvtHandler();
wxWindow *m_win,
*m_targetWindow;
@@ -164,6 +172,8 @@ protected:
#if wxUSE_MOUSEWHEEL
int m_wheelRotation;
#endif // wxUSE_MOUSEWHEEL
wxScrollHelperEvtHandler *m_handler;
};
// ----------------------------------------------------------------------------