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:
@@ -922,16 +922,12 @@ bool wxApp::DoMessage()
|
|||||||
{
|
{
|
||||||
s_hadGuiLock = TRUE;
|
s_hadGuiLock = TRUE;
|
||||||
|
|
||||||
size_t count = s_aSavedMessages.Count();
|
size_t count = s_aSavedMessages.GetCount();
|
||||||
for ( size_t n = 0; n < count; n++ )
|
for ( size_t n = 0; n < count; n++ )
|
||||||
{
|
{
|
||||||
MSG& msg = s_aSavedMessages[n];
|
MSG& msg = s_aSavedMessages[n];
|
||||||
|
|
||||||
if ( !ProcessMessage((WXMSG *)&msg) )
|
DoMessage((WXMSG *)&msg);
|
||||||
{
|
|
||||||
::TranslateMessage(&msg);
|
|
||||||
::DispatchMessage(&msg);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
s_aSavedMessages.Empty();
|
s_aSavedMessages.Empty();
|
||||||
|
Reference in New Issue
Block a user