From 3d2618196370d0387a122678033b89775ccc9ecc Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 15 Oct 2013 16:12:46 +0000 Subject: [PATCH] Include wx/defs.h before testing for wxUSE_CHOICEDLG. Fix compilation of this header if it's the first one to be included from user code. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/choicdlg.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/wx/choicdlg.h b/include/wx/choicdlg.h index 863b880aff..0ab4c076d6 100644 --- a/include/wx/choicdlg.h +++ b/include/wx/choicdlg.h @@ -11,11 +11,12 @@ #ifndef _WX_CHOICDLG_H_BASE_ #define _WX_CHOICDLG_H_BASE_ +#include "wx/defs.h" + #if wxUSE_CHOICEDLG #include "wx/generic/choicdgg.h" #endif -#endif - // _WX_CHOICDLG_H_BASE_ +#endif // _WX_CHOICDLG_H_BASE_