X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cbf97a6cd655d44e6f7b1ffaf35be0c392532ae7..937f314d3fcb38b7740d6d014a6099236907fa3b:/src/gtk/utilsres.cpp diff --git a/src/gtk/utilsres.cpp b/src/gtk/utilsres.cpp index cf2e22fa69..45bdc9fec1 100644 --- a/src/gtk/utilsres.cpp +++ b/src/gtk/utilsres.cpp @@ -7,9 +7,8 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -//#ifdef __GNUG__ -//#pragma implementation "utils.h" -//#endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" #include "wx/utils.h" #include "wx/string.h" @@ -26,11 +25,11 @@ bool wxWriteResource(const wxString& section, const wxString& entry, const wxStr { wxString filename( file ); if (filename.IsEmpty()) filename = wxT(".wxWindows"); - + wxFileConfig conf( wxTheApp->GetAppName(), wxTheApp->GetVendorName(), filename ); - + conf.SetPath( section ); - + return conf.Write( entry, value ); }