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:
parent
8f154d87ae
commit
0a95f6d036
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user