win32: no more GdkNativeWindow and related changes

- replace GdkNativeWindow with HWND, remove type casts
 - no more GdkDisplayClass::get_drag_protocol but GdkWindowImpl::get_drag_protocol
 - remove *_client_message*()
This commit is contained in:
Hans Breuer
2011-02-06 15:03:32 +01:00
parent f55ccce2d9
commit b41ee31a16
10 changed files with 48 additions and 124 deletions

View File

@ -290,7 +290,7 @@ gdk_device_win32_query_state (GdkDevice *device,
hwndc = ChildWindowFromPoint (hwnd, point);
if (hwndc && hwndc != hwnd)
*child_window = gdk_win32_handle_table_lookup ((GdkNativeWindow) hwndc);
*child_window = gdk_win32_handle_table_lookup (hwndc);
else
*child_window = NULL; /* Direct child unknown to gdk */
}
@ -372,7 +372,7 @@ gdk_device_win32_window_at_position (GdkDevice *device,
do
{
if (get_toplevel &&
(window = gdk_win32_handle_table_lookup ((GdkNativeWindow) hwnd)) != NULL &&
(window = gdk_win32_handle_table_lookup (hwnd)) != NULL &&
GDK_WINDOW_TYPE (window) != GDK_WINDOW_FOREIGN)
break;
@ -382,7 +382,7 @@ gdk_device_win32_window_at_position (GdkDevice *device,
}
while (hwndc != hwnd && (hwnd = hwndc, 1));
window = gdk_win32_handle_table_lookup ((GdkNativeWindow) hwnd);
window = gdk_win32_handle_table_lookup (hwnd);
if (window && (win_x || win_y))
{