Fixed resize event.

This commit is contained in:
bkaradzic 2013-02-02 21:07:06 -08:00
parent 68af253169
commit 1e459d23c3

View file

@ -327,6 +327,8 @@ namespace entry
, (rect.bottom-rect.top)
, SWP_SHOWWINDOW
);
m_eventQueue.postSizeEvent(m_width, m_height);
}
return 0;
@ -335,14 +337,10 @@ namespace entry
uint32_t width = GET_X_LPARAM(_lparam);
uint32_t height = GET_Y_LPARAM(_lparam);
if (m_width != width
|| m_height != height)
{
m_width = width;
m_height = height;
m_eventQueue.postSizeEvent(m_width, m_height);
}
}
break;
case WM_SYSCOMMAND: