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
#ifndef _WX_EVTLOOP_H_
#define _WX_EVTLOOP_H_
#ifndef _WX_EVTLOOP_H_
#define _WX_EVTLOOP_H_
/*
NOTE ABOUT wxEventLoopBase::YieldFor LOGIC
------------------------------------------
/*
NOTE ABOUT wxEventLoopBase::YieldFor LOGIC
------------------------------------------
+#include "wx/evtloop.h"
+
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/app.h"
#endif //WX_PRECOMP
#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>
#import <AppKit/NSApplication.h>
#import <AppKit/NSEvent.h>
#import <Foundation/NSRunLoop.h>
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
-// ============================================================================
-// declarations
-// ============================================================================
-
-// ----------------------------------------------------------------------------
-// headers
-// ----------------------------------------------------------------------------
-
// for compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// for compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
+#include "wx/evtloop.h"
+
#ifndef WX_PRECOMP
#include "wx/app.h"
#ifndef WX_PRECOMP
#include "wx/app.h"
-#include "wx/evtloop.h"
-
// ----------------------------------------------------------------------------
// globals
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// globals
// ----------------------------------------------------------------------------
+#include "wx/evtloop.h"
+
#ifndef WX_PRECOMP
#if wxUSE_GUI
#include "wx/window.h"
#endif
#include "wx/app.h"
#ifndef WX_PRECOMP
#if wxUSE_GUI
#include "wx/window.h"
#endif
#include "wx/app.h"
#include "wx/thread.h"
#include "wx/except.h"
#include "wx/msw/private.h"
#include "wx/thread.h"
#include "wx/except.h"
#include "wx/msw/private.h"
#ifndef WX_PRECOMP
#include "wx/app.h"
#endif // WX_PRECOMP
#ifndef WX_PRECOMP
#include "wx/app.h"
#endif // WX_PRECOMP
-#include "wx/evtloop.h"
-
#include "wx/osx/private.h"
// ============================================================================
#include "wx/osx/private.h"
// ============================================================================
#if wxUSE_CONSOLE_EVENTLOOP
#if wxUSE_CONSOLE_EVENTLOOP
+#include "wx/evtloop.h"
+
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/log.h"
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/log.h"
#include <errno.h>
#include "wx/apptrait.h"
#include <errno.h>
#include "wx/apptrait.h"
#include "wx/thread.h"
#include "wx/module.h"
#include "wx/unix/pipe.h"
#include "wx/thread.h"
#include "wx/module.h"
#include "wx/unix/pipe.h"