X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03baf031866c399a835fef3a00834e32857e0dde..1ec3a9848a6843aca1b3590f636a149dd274efdc:/src/msw/app.cpp 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();