From ba06042e796a9d871151bdaff6c3c49f56d553f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gy=C3=B6rgy=20=27Nog=27=20Jeney?= Date: Mon, 30 Sep 2002 18:51:33 +0000 Subject: [PATCH] Define SNDMSG. --- include/commdlg.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/commdlg.h b/include/commdlg.h index cb19da016af..7bd144fe486 100644 --- a/include/commdlg.h +++ b/include/commdlg.h @@ -28,6 +28,14 @@ extern "C" { #include "prsht.h" #include "pshpack1.h" +#ifndef SNDMSG +#ifdef __cplusplus +#define SNDMSG ::SendMessage +#else /* __cplusplus */ +#define SNDMSG SendMessage +#endif /* __cplusplus */ +#endif /* SNDMSG */ + #define OFN_READONLY 0x00000001 #define OFN_OVERWRITEPROMPT 0x00000002 #define OFN_HIDEREADONLY 0x00000004