소스 검색

* Change Message function return type to be Win64 compatible

git-svn-id: trunk@17304 -
pierre 14 년 전
부모
커밋
9420a8ddf4
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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;
        ctrlkey : boolean = false;
        shiftkey : 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
       begin
          case amessage of
          case amessage of

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

@@ -125,7 +125,7 @@ unit winmouse;
          Windows.ShowCursor(false);
          Windows.ShowCursor(false);
       end;
       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
       begin
          { we catch the double click messages here too, }
          { we catch the double click messages here too, }