summaryrefslogtreecommitdiffstats
path: root/Tests/MFC/mfc1/mfc1.rc
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/MFC/mfc1/mfc1.rc')
-rw-r--r--Tests/MFC/mfc1/mfc1.rc8
1 files changed, 7 insertions, 1 deletions
diff --git a/Tests/MFC/mfc1/mfc1.rc b/Tests/MFC/mfc1/mfc1.rc
index c960302..346c5fb 100644
--- a/Tests/MFC/mfc1/mfc1.rc
+++ b/Tests/MFC/mfc1/mfc1.rc
@@ -198,9 +198,15 @@ END
// Dialog
//
+#if _MSC_VER < 1300
+#define DS_SHELLFONT_FLAG 0
+#else
+#define DS_SHELLFONT_FLAG DS_SHELLFONT
+#endif
+
IDD_ABOUTBOX DIALOGEX 0, 0, 235, 55
CAPTION "About mfc1"
-STYLE DS_MODALFRAME | DS_SHELLFONT | WS_POPUP | WS_CAPTION | WS_SYSMENU
+STYLE DS_MODALFRAME | DS_SHELLFONT_FLAG | WS_POPUP | WS_CAPTION | WS_SYSMENU
FONT 8, "MS Shell Dlg"
BEGIN
ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20