]> git.saurik.com Git - wxWidgets.git/commitdiff
Added missing declarations required for e.g. VC++ 6
authorJulian Smart <julian@anthemion.co.uk>
Thu, 23 Mar 2006 17:15:47 +0000 (17:15 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 23 Mar 2006 17:15:47 +0000 (17:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/display.cpp

index c4be2e60fc4581673ba1436ca1a37cad491d0a78..29755857c4215657839c0b70d1d47769eb6dd252 100644 (file)
     // is only defined in winuser.h if WINVER >= 0x0500
     #if !defined(HMONITOR_DECLARED) && !defined(MNS_NOCHECK)
         DECLARE_HANDLE(HMONITOR);
     // is only defined in winuser.h if WINVER >= 0x0500
     #if !defined(HMONITOR_DECLARED) && !defined(MNS_NOCHECK)
         DECLARE_HANDLE(HMONITOR);
+        typedef BOOL(CALLBACK * MONITORENUMPROC )(HMONITOR, HDC, LPRECT, LPARAM);
+        typedef struct tagMONITORINFO
+        {
+            DWORD   cbSize;
+            RECT    rcMonitor;
+            RECT    rcWork;
+            DWORD   dwFlags;
+        } MONITORINFO, *LPMONITORINFO;
+        typedef struct tagMONITORINFOEX : public tagMONITORINFO
+        {
+            TCHAR       szDevice[CCHDEVICENAME];
+        } MONITORINFOEX, *LPMONITORINFOEX;
+        #define MONITOR_DEFAULTTONULL       0x00000000
+        #define MONITOR_DEFAULTTOPRIMARY    0x00000001
+        #define MONITOR_DEFAULTTONEAREST    0x00000002
+        #define MONITORINFOF_PRIMARY        0x00000001        
         #define HMONITOR_DECLARED
     #endif
 #endif // !__WXWINCE__
         #define HMONITOR_DECLARED
     #endif
 #endif // !__WXWINCE__