]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for cygwin/old mingw32 (patch 446700)
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 2 Aug 2001 14:57:02 +0000 (14:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 2 Aug 2001 14:57:02 +0000 (14:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/textctrl.cpp

index eaec878a03818c3a92642e263e97702f308e4dee..f692d4857896d48cd2e3ca9c481bb98edbe37404 100644 (file)
     #define CFM_BACKCOLOR 0x04000000
 #endif
 
+// cygwin does not have these defined for richedit
+#ifndef ENM_LINK
+    #define ENM_LINK 0x04000000
+#endif
+
+#ifndef EM_AUTOURLDETECT
+    #define EM_AUTOURLDETECT (WM_USER + 91)
+#endif
+
+#ifndef EN_LINK
+    #define EN_LINK 0x070b
+
+    typedef struct _enlink
+    {
+        NMHDR nmhdr;
+        UINT msg;
+        WPARAM wParam;
+        LPARAM lParam;
+        CHARRANGE chrg;
+    } ENLINK;
+#endif // ENLINK
+
 // ----------------------------------------------------------------------------
 // private classes
 // ----------------------------------------------------------------------------