]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mfc/stdafx.h
fix the definition of many static functions marked as 'const' or functions which...
[wxWidgets.git] / samples / mfc / stdafx.h
index 75c9084dcaf77d92f5b683e60ed5d8fb419be2fe..a814f87e7fa3574fbba2a987f1a3d89aa31cbc70 100644 (file)
@@ -1 +1,7 @@
+// normally this is defined by the IDE by "Using MFC" option but if it isn't
+// (e.g. because we use bakefile-generated projects), do it ourselves to ensure
+// that MFC libraries are linked in
+#ifndef _AFXDLL
+    #define _AFXDLL
+#endif
 #include <afxwin.h>