fix evtloop.h header dependency

implementation headers go first to catch this kind of problem, don't move them to fix a build error

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2009-02-16 17:19:17 +00:00
parent 3f63d14108
commit 1e04d2bf54
6 changed files with 11 additions and 18 deletions

View File

@@ -12,9 +12,9 @@
#ifndef _WX_EVTLOOP_H_
#define _WX_EVTLOOP_H_
#include "wx/event.h"
#include "wx/utils.h"
/*
NOTE ABOUT wxEventLoopBase::YieldFor LOGIC
------------------------------------------

View File

@@ -11,13 +11,13 @@
#include "wx/wxprec.h"
#include "wx/evtloop.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/app.h"
#endif //WX_PRECOMP
#include "wx/evtloop.h"
#import <AppKit/NSApplication.h>
#import <AppKit/NSEvent.h>
#import <Foundation/NSRunLoop.h>

View File

@@ -9,14 +9,6 @@
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// ============================================================================
// declarations
// ============================================================================
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
// for compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
@@ -24,13 +16,12 @@
#pragma hdrstop
#endif
#include "wx/evtloop.h"
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/event.h"
#endif //WX_PRECOMP
#include "wx/evtloop.h"
// ----------------------------------------------------------------------------
// globals
// ----------------------------------------------------------------------------

View File

@@ -24,14 +24,16 @@
#pragma hdrstop
#endif
#include "wx/evtloop.h"
#ifndef WX_PRECOMP
#if wxUSE_GUI
#include "wx/window.h"
#endif
#include "wx/app.h"
#include "wx/log.h"
#endif //WX_PRECOMP
#include "wx/evtloop.h"
#include "wx/thread.h"
#include "wx/except.h"
#include "wx/msw/private.h"

View File

@@ -24,13 +24,12 @@
#pragma hdrstop
#endif
#include "wx/evtloop.h"
#ifndef WX_PRECOMP
#include "wx/app.h"
#endif // WX_PRECOMP
#include "wx/evtloop.h"
#include "wx/osx/private.h"
// ============================================================================

View File

@@ -21,6 +21,8 @@
#if wxUSE_CONSOLE_EVENTLOOP
#include "wx/evtloop.h"
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/log.h"
@@ -28,7 +30,6 @@
#include <errno.h>
#include "wx/apptrait.h"
#include "wx/evtloop.h"
#include "wx/thread.h"
#include "wx/module.h"
#include "wx/unix/pipe.h"