X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c282e47d8f2179954ca40688677961c169688084..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/gtk/filehistory.cpp diff --git a/src/gtk/filehistory.cpp b/src/gtk/filehistory.cpp index 0f482597dd..3d564b92a2 100644 --- a/src/gtk/filehistory.cpp +++ b/src/gtk/filehistory.cpp @@ -44,7 +44,9 @@ void wxFileHistory::AddFileToHistory(const wxString& file) #ifdef __WXGTK210__ const wxString fullPath = wxFileName(file).GetFullPath(); +#ifndef __WXGTK3__ if ( !gtk_check_version(2,10,0) ) +#endif { wxGtkString uri(g_filename_to_uri(wxGTK_CONV_FN(fullPath), NULL, NULL));