]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/app.cpp
fix assert when the control doesn't have a valid date initially (bug 1648192)
[wxWidgets.git] / src / gtk / app.cpp
index ed899e5ceedde80877a3a9a574fe836592a20cc5..1aee54439b1919e3b9e1f4272927e70d0b3aaada 100644 (file)
     #include "wx/font.h"
 #endif
 
-#include "wx/file.h"
-#include "wx/filename.h"
 #include "wx/thread.h"
 
 #ifdef __WXGPE__
     #include <gpe/init.h>
 #endif
 
-#ifdef __WXUNIVERSAL__
-    #include "wx/univ/theme.h"
-    #include "wx/univ/renderer.h"
-#endif
-
 #include "wx/gtk/win_gtk.h"
 #include "wx/gtk/private.h"
 
@@ -48,9 +41,9 @@
 // link GnomeVFS
 //-----------------------------------------------------------------------------
 
-#if wxUSE_LIBGNOMEVFS
-#include "wx/html/forcelnk.h"
-FORCE_LINK(gnome_vfs)
+#if wxUSE_MIMETYPE && wxUSE_LIBGNOMEVFS
+    #include "wx/link.h"
+    wxFORCE_LINK_MODULE(gnome_vfs)
 #endif
 
 //-----------------------------------------------------------------------------