# endif
#endif /* wxUSE_VARIANT */
-#ifndef wxUSE_WEAKREF
-# ifdef wxABORT_ON_CONFIG_ERROR
-# error "wxUSE_WEAKREF must be defined."
-# else
-# define wxUSE_WEAKREF 0
-# endif
-#endif /* wxUSE_WEAKREF */
-
#ifndef wxUSE_XLOCALE
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_XLOCALE must be defined."
#elif defined(__WXGTK__)
# include "wx/gtk/chkconf.h"
#elif defined(__WXMAC__)
-# include "wx/mac/chkconf.h"
+# include "wx/osx/chkconf.h"
#elif defined(__OS2__)
# include "wx/os2/chkconf.h"
#elif defined(__WXMGL__)