]> Pileus Git - ~andy/gtk/commit
Handle also WM_SYSCHAR, and other changes to get handling of Alt+nnn or
authorTor Lillqvist <tml@iki.fi>
Tue, 4 Jul 2000 06:12:54 +0000 (06:12 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 4 Jul 2000 06:12:54 +0000 (06:12 +0000)
commita1260f864dc85013eb2a66563ffa0369921b5fe4
tree778455fc4d3d59d6d00cc0d892aa587f7049bfb0
parentceac1c16fd5f74a7914b85f85a691bb68e1a756f
Handle also WM_SYSCHAR, and other changes to get handling of Alt+nnn or

2000-07-04  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle also
WM_SYSCHAR, and other changes to get handling of Alt+nnn or
Alt+0nnn on the numpad (used to enter characters by numeric code
from current DOS or ANSI codepage) working correctly, as in other
Windows apps.

* gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Use
same argument validity tests as in X11 version.
(_gdk_cursor_destroy): Use DestroyCursor, not DestroyIcon.

* gdk/win32/gdkwin32.h: Add also WM_MOUSEWHEEL and CopyCursor
definitions in case missing from headers.

* gdk/win32/gdkwindow-win32.c (gdk_win32_window_destroy): ALso
destroy the window-specific cursor.
(RegisterGdkClass): Use the global gdk_ProgInstance instead of
calling GetModuleHandle(NULL).
(gdk_window_set_cursor): Reworked to always copy the passed cursor
with CopyCursor before setting it. It is OK for the caller to
destroy the GdkCursor (and thus also the Windows cursor) after
calling this function. Also, destroy any previous cursor for this
window.

2000-05-29  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkevents-win32.c (gdk_WindowProc): The local "event"
variable should be of type GdkEventPrivate.
12 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
README.win32
gdk/win32/gdkcursor-win32.c
gdk/win32/gdkevents-win32.c
gdk/win32/gdkwin32.h
gdk/win32/gdkwindow-win32.c