diff --git a/src/common/datacmn.cpp b/src/common/datacmn.cpp index 7fc2803947..4d985031a2 100644 --- a/src/common/datacmn.cpp +++ b/src/common/datacmn.cpp @@ -36,8 +36,6 @@ // Useful buffer, initialized in wxCommonInit wxChar *wxBuffer = NULL; -#if wxUSE_GUI - // Windows List wxWindowList wxTopLevelWindows; @@ -160,4 +158,3 @@ WXDLLEXPORT_DATA(const wxChar *) wxUserResourceStr = wxT("TEXT"); const wxSize wxDefaultSize(-1, -1); const wxPoint wxDefaultPosition(-1, -1); -#endif // wxUSE_GUI diff --git a/src/common/db.cpp b/src/common/db.cpp index 1eb408c33f..6f0e8dce24 100644 --- a/src/common/db.cpp +++ b/src/common/db.cpp @@ -53,9 +53,6 @@ #include "wx/object.h" #include "wx/list.h" #include "wx/utils.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 c25f9dc853..502c914129 100644 --- a/src/common/dbtable.cpp +++ b/src/common/dbtable.cpp @@ -48,9 +48,6 @@ #include "wx/object.h" #include "wx/list.h" #include "wx/utils.h" - #if wxUSE_GUI - #include "wx/msgdlg.h" - #endif #include "wx/log.h" #endif #include "wx/filefn.h"