Mercurial > hg > openttd
comparison src/ottdres.rc.in @ 8683:3a9a502e5093 draft
(svn r12349) -Change[FS#1826]: Remove the need to include the afxres.h header when all that was needed was just the definition if IDC_STATIC.
Only valid for MSVC compilers.
author | belugas <belugas@openttd.org> |
---|---|
date | Fri, 07 Mar 2008 02:40:10 +0000 |
parents | 4301f74086b2 |
children | ab1f94f2961f |
comparison
equal
deleted
inserted
replaced
8682:40efe8e42f8f | 8683:3a9a502e5093 |
---|---|
11 #include "windows.h" | 11 #include "windows.h" |
12 #undef APSTUDIO_HIDDEN_SYMBOLS | 12 #undef APSTUDIO_HIDDEN_SYMBOLS |
13 #ifdef MSVC | 13 #ifdef MSVC |
14 #include "winres.h" | 14 #include "winres.h" |
15 #else | 15 #else |
16 #include "afxres.h" | 16 #define IDC_STATIC (-1) // all static controls |
17 #endif | 17 #endif |
18 | 18 |
19 ///////////////////////////////////////////////////////////////////////////// | 19 ///////////////////////////////////////////////////////////////////////////// |
20 #undef APSTUDIO_READONLY_SYMBOLS | 20 #undef APSTUDIO_READONLY_SYMBOLS |
21 | 21 |