]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/app.cpp
text controls respect wxTE_PROCESS_ENTER/TAB styles again, WM_GETDLGCODE
[wxWidgets.git] / src / gtk / app.cpp
index 1af816532741f3dd53775dfd52c12eb9f196a681..f4e7a220a23ce7cbc8106ef516805203e7830dc4 100644 (file)
@@ -575,9 +575,6 @@ bool wxApp::Initialize()
 
     wxImage::InitStandardHandlers();
 
-    /* no global cursor under X
-       g_globalCursor = new wxCursor; */
-
     wxModule::RegisterModules();
     if (!wxModule::InitializeModules()) return FALSE;
 
@@ -662,6 +659,8 @@ int wxEntry( int argc, char *argv[] )
 {
     gtk_set_locale();
 
+    if (!wxOKlibc()) wxConvCurrent = &wxConvLocal;
+
     gtk_init( &argc, &argv );
 
     wxSetDetectableAutoRepeat( TRUE );