From: Vadim Zeitlin Date: Wed, 31 Aug 2005 23:48:11 +0000 (+0000) Subject: include wx/defs.h before testing for wxUSE_TEXTDLG defined in it X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d248a65cdd75230f16f29a7689b9d8c40498decb include wx/defs.h before testing for wxUSE_TEXTDLG defined in it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/generic/textdlgg.h b/include/wx/generic/textdlgg.h index 642dd0e9fe..a2c34a8052 100644 --- a/include/wx/generic/textdlgg.h +++ b/include/wx/generic/textdlgg.h @@ -16,9 +16,10 @@ #pragma interface "textdlgg.h" #endif -#if wxUSE_TEXTDLG #include "wx/defs.h" +#if wxUSE_TEXTDLG + #include "wx/dialog.h" #if wxUSE_VALIDATORS