From 6c0e8b4ea5699207befbf692301e12b24bd3409c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 11 Jul 2001 12:35:33 +0000 Subject: [PATCH] moved some headers inside #ifndef WX_PRECOMP git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/evtloop.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/msw/evtloop.cpp b/src/msw/evtloop.cpp index ed84e41c76..8c9f562a33 100644 --- a/src/msw/evtloop.cpp +++ b/src/msw/evtloop.cpp @@ -29,11 +29,11 @@ #endif #ifndef WX_PRECOMP + #include "wx/window.h" + #include "wx/app.h" #endif //WX_PRECOMP #include "wx/evtloop.h" -#include "wx/window.h" -#include "wx/app.h" #include "wx/tooltip.h" #include "wx/msw/private.h" @@ -43,7 +43,7 @@ WX_DECLARE_OBJARRAY(MSG, wxMsgArray); // VS: this is a bit dirty - it duplicates same declaration in app.cpp // (and there's no WX_DEFINE_OBJARRAY for that reason - it is already - // defined in app.cpp). + // defined in app.cpp). #endif // ---------------------------------------------------------------------------- @@ -251,8 +251,7 @@ bool wxEventLoop::Dispatch() // leave out WM_COMMAND messages: too dangerous, sometimes // the message will be processed twice - if ( !wxIsWaitingForThread() || - msg.message != WM_COMMAND ) + if ( !wxIsWaitingForThread() || msg.message != WM_COMMAND ) { s_aSavedMessages.Add(msg); } -- 2.45.2