Browse Source

* Change Message function return type to be Win64 compatible

git-svn-id: trunk@17304 -
pierre 14 years ago
parent
commit
9420a8ddf4
2 changed files with 2 additions and 2 deletions
  1. 1 1
      packages/graph/src/win32/wincrt.pp
  2. 1 1
      packages/graph/src/win32/winmouse.pp

+ 1 - 1
packages/graph/src/win32/wincrt.pp

@@ -139,7 +139,7 @@ unit wincrt;
        ctrlkey : boolean = false;
        shiftkey : boolean = false;
 
-    function msghandler(Window: HWnd; AMessage:UInt; WParam : WParam; LParam: LParam): Longint; stdcall;
+    function msghandler(Window: HWnd; AMessage:UInt; WParam : WParam; LParam: LParam): LResult; stdcall;
 
       begin
          case amessage of

+ 1 - 1
packages/graph/src/win32/winmouse.pp

@@ -125,7 +125,7 @@ unit winmouse;
          Windows.ShowCursor(false);
       end;
 
-    function msghandler(Window: HWnd; AMessage:UInt; WParam : WParam; LParam: LParam): Longint; stdcall;
+    function msghandler(Window: HWnd; AMessage:UInt; WParam : WParam; LParam: LParam): LResult; stdcall;
 
       begin
          { we catch the double click messages here too, }