Don't define HAVE_DIMM_H if MSC, as you have to get the Platform SDK to
1999-11-04 Tor Lillqvist <tml@iki.fi> * config.h.win32: Don't define HAVE_DIMM_H if MSC, as you have to get the Platform SDK to get <dimm.h>. * gdk/win32/gdkevents.c: More event handling fixes and simplification. Never generate motion events with is_hint true. We used to do that on bogus grounds earlier. Windows sends WM_MOUSEMOVE messages on button events even if the mouse hasn't moved, ignore these. * gdk/win32/gdkfont.c: Load all fonts as (pretended) fontsets. * gdk/win32/gdkglobals.c * gdk/win32/gdkprivate.h: Define a typedef for the pointer to the TrackMouseEvent function, and use it. * gdk/win32/gdkwindow.c: Terminate widechar string with a zero char before calling WideCharToMultiByte in order to get a string for the window title. * gdk/win32/gdkdnd.c: Some more random hacking, ifdeffed out. * gdk/win32/gdk.def: Remove obsolete functions. * gdk/win32/makefile.{cygwin,msc}: Remove gdkcompat.{o,obj}. Add /nodefaultlib and /defaultlib switches. * gtk/gtkrc.c: s/gwin_getlocale/g_win32_getlocale/.
This commit is contained in:
committed by
Tor Lillqvist
parent
9d8da16ee9
commit
f527b8909f
@ -29,6 +29,7 @@
|
||||
|
||||
#define STRICT /* We want strict type checks */
|
||||
#include <windows.h>
|
||||
#include <commctrl.h>
|
||||
|
||||
/* Make up for some minor mingw32 lossage */
|
||||
|
||||
@ -113,10 +114,6 @@ typedef int Status;
|
||||
#define AllocNone 0
|
||||
#define AllocAll 1
|
||||
|
||||
/* Notify modes */
|
||||
#define NotifyNormal 0
|
||||
#define NotifyHint 1
|
||||
|
||||
/* Some structs are somewhat useful to emulate internally, just to
|
||||
keep the code less #ifdefed. */
|
||||
typedef struct {
|
||||
@ -422,7 +419,9 @@ extern UINT gdk_selection_clear_msg;
|
||||
extern GdkAtom gdk_clipboard_atom;
|
||||
extern GdkAtom gdk_win32_dropfiles_atom;
|
||||
extern GdkAtom gdk_ole2_dnd_atom;
|
||||
extern BOOL (WINAPI *p_TrackMouseEvent) (TRACKMOUSEEVENT *tme);
|
||||
|
||||
typedef BOOL (WINAPI *PFN_TrackMouseEvent) (LPTRACKMOUSEEVENT);
|
||||
extern PFN_TrackMouseEvent p_TrackMouseEvent;
|
||||
|
||||
extern LRESULT CALLBACK gdk_WindowProc (HWND, UINT, WPARAM, LPARAM);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user