#include <gtk/gtk.h>
-#if wxUSE_LIBGNOMEPRINT
-
-#include "wx/html/forcelnk.h"
-FORCE_LINK(gnome_print)
-
-#endif
-
//-----------------------------------------------------------------------------
// global data
//-----------------------------------------------------------------------------
// this is NULL for a "regular" wxApp, but is set (and freed) by a wxGLApp
m_glVisualInfo = (void *) NULL;
+ m_glFBCInfo = (void *) NULL;
}
wxApp::~wxApp()
wxConvCurrent = (wxMBConv*) NULL;
#endif // wxUSE_WCHAR_T/!wxUSE_WCHAR_T
+#ifdef __WXGTK20__
+ m_convBrokenFileNames = new wxConvBrokenFileNames;
+ m_oldConvFileName = wxConvFileName;
+ wxConvFileName = m_convBrokenFileNames;
+#endif
+
#if wxUSE_UNICODE
// gtk_init() wants UTF-8, not wchar_t, so convert
int i;
void wxApp::CleanUp()
{
+#ifdef __WXGTK20__
+ delete m_convBrokenFileNames;
+ wxConvFileName = m_oldConvFileName;
+#endif
+
gdk_threads_leave();
wxAppBase::CleanUp();