| 1 | // normally this is defined by the IDE by "Using MFC" option but if it isn't |
| 2 | // (e.g. because we use bakefile-generated projects), do it ourselves to ensure |
| 3 | // that MFC libraries are linked in |
| 4 | #ifndef _AFXDLL |
| 5 | #define _AFXDLL |
| 6 | #endif |
| 7 | #include <afxwin.h> |