diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index c65b29d48a..f3893507e5 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -99,6 +99,10 @@ #include // needed for SHELLEXECUTEINFO #endif +#if wxUSE_GUI && defined(__WXGTK__) + #include // for GTK_XXX_VERSION constants +#endif + #if wxUSE_BASE // ---------------------------------------------------------------------------- @@ -1392,7 +1396,10 @@ void wxInfoMessageBox(wxWindow* parent) wxPlatformInfo::Get().GetToolkitMajorVersion(), wxPlatformInfo::Get().GetToolkitMinorVersion(), #ifdef __WXGTK__ - wxString::Format(_T("\nThe compile-time GTK+ version is %d.%d.%d."), GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION).c_str() + wxString::Format("\nThe compile-time GTK+ version is %d.%d.%d.", + GTK_MAJOR_VERSION, + GTK_MINOR_VERSION, + GTK_MICRO_VERSION).c_str() #else wxEmptyString #endif