X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/002f42185d25472085d36a077d1428d71c781e5b..79570d64d36dfdf31e20b4242bf664232f20594b:/src/gtk/app.cpp?ds=sidebyside diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index 7f95b4c3ac..2b96d69033 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -44,6 +44,8 @@ // global data //----------------------------------------------------------------------------- +extern wxCursor g_globalCursor; + wxApp *wxTheApp = (wxApp *) NULL; wxAppInitializerFunction wxApp::m_appInitFn = (wxAppInitializerFunction) NULL; @@ -575,8 +577,7 @@ bool wxApp::Initialize() wxImage::InitStandardHandlers(); - /* no global cursor under X - g_globalCursor = new wxCursor; */ + g_globalCursor = wxCursor(wxCURSOR_DEFAULT); wxModule::RegisterModules(); if (!wxModule::InitializeModules()) return FALSE; @@ -662,7 +663,7 @@ int wxEntry( int argc, char *argv[] ) { gtk_set_locale(); - if (!wxOKlibc()) wxConv_current = &wxConv_local; + if (!wxOKlibc()) wxConvCurrent = &wxConvLocal; gtk_init( &argc, &argv );