Explorar el 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 hace 15 años
padre
commit
038039674a
Se han modificado 1 ficheros con 1 adiciones y 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;