#endif
#include "unistd.h"
+#ifdef __SUN__
+extern "C"
+{
+void usleep(unsigned long usec);
+};
+#endif
+
#include "glib.h"
#include "gdk/gdk.h"
#include "gtk/gtk.h"
#include "wx/gtk/win_gtk.h"
+#include <unistd.h> // usleep() on solaris
+
//-----------------------------------------------------------------------------
// global data
//-----------------------------------------------------------------------------
wxSystemSettings::Init();
+/*
wxTheFontNameDirectory = new wxFontNameDirectory;
wxTheFontNameDirectory->Initialize();
+*/
wxTheColourDatabase = new wxColourDatabase( wxKEY_STRING );
wxTheColourDatabase->Initialize();
if (wxTheColourDatabase) delete wxTheColourDatabase;
wxTheColourDatabase = (wxColourDatabase*) NULL;
+/*
if (wxTheFontNameDirectory) delete wxTheFontNameDirectory;
wxTheFontNameDirectory = (wxFontNameDirectory*) NULL;
+*/
wxDeleteStockObjects();