소스 검색

* alias hmonitor to windows.hmonitor. This handle moved from
windows unit to multimon in later delphi versions. An alias solution provides
compat to both.

git-svn-id: trunk@14954 -

marco 15 년 전
부모
커밋
038039674a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/winunits-base/src/multimon.pp

+ 1 - 1
packages/winunits-base/src/multimon.pp

@@ -50,7 +50,7 @@ const
 // HMONITOR is already declared if WINVER >= 0x0500 in windef.h
 // This is for components built with an older version number.
 type
-  HMONITOR = HANDLE;
+  HMONITOR = Windows.HMonitor;
 
 const
   MONITOR_DEFAULTTONULL    = $00000000;