removed some duplicate code, no real changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-05-30 21:16:59 +00:00
parent 8f154d87ae
commit 0a95f6d036

View File

@ -922,16 +922,12 @@ bool wxApp::DoMessage()
{
s_hadGuiLock = TRUE;
size_t count = s_aSavedMessages.Count();
size_t count = s_aSavedMessages.GetCount();
for ( size_t n = 0; n < count; n++ )
{
MSG& msg = s_aSavedMessages[n];
if ( !ProcessMessage((WXMSG *)&msg) )
{
::TranslateMessage(&msg);
::DispatchMessage(&msg);
}
DoMessage((WXMSG *)&msg);
}
s_aSavedMessages.Empty();