non owned window implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
97ade792e9
commit
296b728fa0
@ -359,7 +359,7 @@ pascal OSErr wxMacWindowDragTrackingHandler(
|
|||||||
|
|
||||||
GetDragAttributes( theDrag, &attributes );
|
GetDragAttributes( theDrag, &attributes );
|
||||||
|
|
||||||
wxTopLevelWindowMac* toplevel = wxFindWinFromMacWindow( theWindow );
|
wxNonOwnedWindow* toplevel = wxFindWinFromMacWindow( theWindow );
|
||||||
|
|
||||||
bool optionDown = GetCurrentKeyModifiers() & optionKey;
|
bool optionDown = GetCurrentKeyModifiers() & optionKey;
|
||||||
wxDragResult result = optionDown ? wxDragCopy : wxDragMove;
|
wxDragResult result = optionDown ? wxDragCopy : wxDragMove;
|
||||||
|
Loading…
Reference in New Issue
Block a user