reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit aa903aa848782fdcd97a5231d232af6ee4535441
parent ff61989453d6dfe1398fc8034fb2dfebc8781ca2
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Sat, 20 Aug 2016 19:53:53 -0700

about: fix redraw issue on windows

...without really understanding what was going wrong

Diffstat:
Msrc/about.cpp | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/about.cpp b/src/about.cpp @@ -124,6 +124,10 @@ void About::setDelegate(const DelegatePtr &delegate) m_menu->resizeColumn(m_menu->columnCount() - 1, LVSCW_AUTOSIZE_USEHEADER); m_list->resizeColumn(m_list->columnCount() - 1, LVSCW_AUTOSIZE_USEHEADER); #endif + + // This is required on Windows to get the first tab to be fully draw, + // but I have no idea why... + InvalidateRect(handle(), nullptr, true); } void About::setTitle(const string &what)