Drag'n'drop : moved "setAcceptDragOperation" functions at window level
[blender.git] / intern / ghost / intern / GHOST_C-api.cpp
index 76b3d7caf7e5bff01589a35e51c5ca82a0a306ee..556176809f459ebc03daa9f4a139b50ae1026541 100644 (file)
@@ -404,11 +404,11 @@ GHOST_TSuccess GHOST_GetButtonState(GHOST_SystemHandle systemhandle,
 }
 
 
-void GHOST_setAcceptDragOperation(GHOST_SystemHandle systemhandle, GHOST_TInt8 canAccept)
+void GHOST_setAcceptDragOperation(GHOST_WindowHandle windowhandle, GHOST_TInt8 canAccept)
 {
-       GHOST_ISystem* system = (GHOST_ISystem*) systemhandle;
+       GHOST_IWindow* window = (GHOST_IWindow*) windowhandle;
 
-       system->setAcceptDragOperation(canAccept);
+       window->setAcceptDragOperation(canAccept);
 }