]> git.saurik.com Git - wxWidgets.git/commitdiff
non owned window implementation
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 25 Mar 2008 07:49:00 +0000 (07:49 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 25 Mar 2008 07:49:00 +0000 (07:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/dnd.cpp

index 961eb6da0f9617a531eccf2110cb00f74e78940e..11709e12cecf18ef0cbf57fe2c5d24020ee06e28 100644 (file)
@@ -359,7 +359,7 @@ pascal OSErr wxMacWindowDragTrackingHandler(
 
     GetDragAttributes( theDrag, &attributes );
 
-    wxTopLevelWindowMac* toplevel = wxFindWinFromMacWindow( theWindow );
+    wxNonOwnedWindow* toplevel = wxFindWinFromMacWindow( theWindow );
 
     bool optionDown = GetCurrentKeyModifiers() & optionKey;
     wxDragResult result = optionDown ? wxDragCopy : wxDragMove;