Explorar o código

* 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 %!s(int64=15) %!d(string=hai) anos
pai
achega
038039674a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;