|
|
|
@ -359,12 +359,9 @@ public: |
|
|
|
|
|
|
|
virtual void UpdateCursor() |
|
|
|
{ |
|
|
|
[View resetCursorRects]; |
|
|
|
if (cursor != nil) |
|
|
|
{ |
|
|
|
auto rect = [Window frame]; |
|
|
|
[View addCursorRect:rect cursor:cursor]; |
|
|
|
[cursor set]; |
|
|
|
[cursor set]; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -415,6 +412,7 @@ private: |
|
|
|
{ |
|
|
|
WindowEvents = events; |
|
|
|
[Window setCanBecomeKeyAndMain]; |
|
|
|
[Window disableCursorRects]; |
|
|
|
} |
|
|
|
|
|
|
|
virtual HRESULT Show () override |
|
|
|
|