]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/chkconf.h
Link with bufferoverflowu.lib for VC++ 8 and later
[wxWidgets.git] / include / wx / msw / chkconf.h
index 85990ed350618b75958d19a10a1f0889b7fa815c..53059846ab2e614af639c1371d580d816b0e445b 100644 (file)
 #ifndef _WX_MSW_CHKCONF_H_
 #define _WX_MSW_CHKCONF_H_
 
+/* ensure that MSW-specific settings are defined */
+#ifndef wxUSE_DC_CACHEING
+#   ifdef wxABORT_ON_CONFIG_ERROR
+#       error "wxUSE_DC_CACHEING must be defined"
+#   else
+#       define wxUSE_DC_CACHEING 1
+#   endif
+#endif /* wxUSE_DC_CACHEING */
+
+
 /*
  * disable the settings which don't work for some compilers
  */
 
 #endif /* __GNUWIN32__ */
 
+/* wxUSE_MFC is not defined when using configure as it doesn't make sense for
+   gcc or mingw32 anyhow */
+#ifndef wxUSE_MFC
+    #define wxUSE_MFC 0
+#endif /* !defined(wxUSE_MFC) */
+
 /* MFC duplicates these operators */
 #if wxUSE_MFC
 #   undef  wxUSE_GLOBAL_MEMORY_OPERATORS
 #        ifdef wxABORT_ON_CONFIG_ERROR
 #            error "wxUSE_MS_HTML_HELP requires wxUSE_DYNAMIC_LOADER."
 #        else
-#            define wxUSE_DYNAMIC_LOADER 1
+#            define wxUSE_MS_HTML_HELP 0
 #        endif
 #    endif
 #    if wxUSE_DIALUP_MANAGER
 #        ifdef wxABORT_ON_CONFIG_ERROR
 #            error "wxUSE_DIALUP_MANAGER requires wxUSE_DYNAMIC_LOADER."
 #        else
-#            define wxUSE_DYNAMIC_LOADER 1
+#            undef wxUSE_DIALUP_MANAGER
+#            define wxUSE_DIALUP_MANAGER 0
 #        endif
 #    endif
 #endif  /* wxUSE_DYNAMIC_LOADER */