]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/db.cpp
make it possible to use wxToolBarSimple as wxToolBar with wxUniv
[wxWidgets.git] / src / common / db.cpp
index 4912134e0bc5beb4f3e667d229efc0107d0b7b0d..d9ce256f6de48395b1c401820c6762c127e83337 100644 (file)
@@ -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"