Added __WXMAC_OSX__ guards around the CFRunLoop calls, CFRunLoop not available on CFM [ followup on Patch 1160346 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -21,10 +21,8 @@
|
||||
#include "wx/gdicmn.h"
|
||||
#include "wx/event.h"
|
||||
|
||||
#ifdef __DARWIN__
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
#else
|
||||
#include <CoreFoundation.h>
|
||||
#ifdef __WXMAC_OSX__
|
||||
#include <CoreFoundation/CFRunLoop.h>
|
||||
#endif
|
||||
|
||||
class WXDLLEXPORT wxFrame;
|
||||
@@ -111,7 +109,9 @@ private:
|
||||
WXEVENTHANDLERREF m_macEventHandler ;
|
||||
WXEVENTHANDLERCALLREF m_macCurrentEventHandlerCallRef ;
|
||||
WXEVENTREF m_macCurrentEvent ;
|
||||
#ifdef __WXMAC_OSX__
|
||||
CFRunLoopSourceRef m_macEventPosted ;
|
||||
#endif
|
||||
|
||||
public:
|
||||
static bool s_macSupportPCMenuShortcuts ;
|
||||
|
Reference in New Issue
Block a user