line 103 in PluginWindowWin.cpp
case WM_PAINT:
{
RefreshEvent ev;
if (!SendEvent(&ev)) {
HDC hdc;
PAINTSTRUCT ps;
hdc = BeginPaint(m_hWnd, &ps);
// Release the device context
EndPaint(m_hWnd, &ps);
}
}
needs a break at the end, otherwise it bleeds into the WM_TIMER handler.
I found this when I tried to use SetTimer and the TimerEvent handler was being
called on WM_PAINT events.
Original issue reported on code.google.com by YottoK...@gmail.com on 28 Sep 2010 at 5:08
Original issue reported on code.google.com by
YottoK...@gmail.com
on 28 Sep 2010 at 5:08