moved some headers inside #ifndef WX_PRECOMP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -29,11 +29,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
|
#include "wx/window.h"
|
||||||
|
#include "wx/app.h"
|
||||||
#endif //WX_PRECOMP
|
#endif //WX_PRECOMP
|
||||||
|
|
||||||
#include "wx/evtloop.h"
|
#include "wx/evtloop.h"
|
||||||
#include "wx/window.h"
|
|
||||||
#include "wx/app.h"
|
|
||||||
#include "wx/tooltip.h"
|
#include "wx/tooltip.h"
|
||||||
|
|
||||||
#include "wx/msw/private.h"
|
#include "wx/msw/private.h"
|
||||||
@@ -251,8 +251,7 @@ bool wxEventLoop::Dispatch()
|
|||||||
|
|
||||||
// leave out WM_COMMAND messages: too dangerous, sometimes
|
// leave out WM_COMMAND messages: too dangerous, sometimes
|
||||||
// the message will be processed twice
|
// the message will be processed twice
|
||||||
if ( !wxIsWaitingForThread() ||
|
if ( !wxIsWaitingForThread() || msg.message != WM_COMMAND )
|
||||||
msg.message != WM_COMMAND )
|
|
||||||
{
|
{
|
||||||
s_aSavedMessages.Add(msg);
|
s_aSavedMessages.Add(msg);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user