From: Vadim Zeitlin Date: Thu, 30 May 2002 21:16:59 +0000 (+0000) Subject: removed some duplicate code, no real changes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0a95f6d03619063ecd06b7dc41e57997424fbffe?ds=inline removed some duplicate code, no real changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/app.cpp b/src/msw/app.cpp index 598355cff1..5d3f400257 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -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();