From: Vadim Zeitlin Date: Thu, 21 Jun 2001 18:37:33 +0000 (+0000) Subject: wxBase compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d1f5f7a44bebccf61a53ad4b308d7face1d95ff7 wxBase compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/db.cpp b/src/common/db.cpp index 4912134e0b..d9ce256f6d 100644 --- a/src/common/db.cpp +++ b/src/common/db.cpp @@ -53,7 +53,9 @@ #include "wx/object.h" #include "wx/list.h" #include "wx/utils.h" - #include "wx/msgdlg.h" + #if wxUSE_GUI + #include "wx/msgdlg.h" + #endif #include "wx/log.h" #endif #include "wx/filefn.h" diff --git a/src/common/dbtable.cpp b/src/common/dbtable.cpp index c6b7f6f4f6..866ade00f3 100644 --- a/src/common/dbtable.cpp +++ b/src/common/dbtable.cpp @@ -44,7 +44,9 @@ #include "wx/object.h" #include "wx/list.h" #include "wx/utils.h" - #include "wx/msgdlg.h" + #if wxUSE_GUI + #include "wx/msgdlg.h" + #endif #include "wx/log.h" #endif #include "wx/filefn.h"