#5620 Convert OSXScreen into Objective C++

This commit is contained in:
Andrew Nelless 2016-10-12 15:43:01 +01:00
parent d1396c9767
commit df88faaad8
2 changed files with 4 additions and 1 deletions

View File

@ -344,4 +344,6 @@ private:
Mutex* m_carbonLoopMutex; Mutex* m_carbonLoopMutex;
CondVar<bool>* m_carbonLoopReady; CondVar<bool>* m_carbonLoopReady;
#endif #endif
class OSXScreenImpl* m_impl;
}; };

View File

@ -112,7 +112,8 @@ OSXScreen::OSXScreen(IEventQueue* events, bool isPrimary, bool autoShowHideCurso
m_lastSingleClickYCursor(0), m_lastSingleClickYCursor(0),
m_autoShowHideCursor(autoShowHideCursor), m_autoShowHideCursor(autoShowHideCursor),
m_events(events), m_events(events),
m_getDropTargetThread(NULL) m_getDropTargetThread(NULL),
m_impl(NULL)
{ {
try { try {
m_displayID = CGMainDisplayID(); m_displayID = CGMainDisplayID();