// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-//#ifdef __GNUG__
+//#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
//#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"
#include "wx/list.h"
bool wxWriteResource(const wxString& section, const wxString& entry, const wxString& value, const wxString& file )
{
wxString filename( file );
- if (filename.IsEmpty()) filename = wxT(".wxWindows");
+ if (filename.IsEmpty()) filename = wxT(".wxWidgets");
wxFileConfig conf( wxTheApp->GetAppName(), wxTheApp->GetVendorName(), filename );
bool wxGetResource(const wxString& section, const wxString& entry, wxChar **value, const wxString& file )
{
wxString filename( file );
- if (filename.IsEmpty()) filename = wxT(".wxWindows");
+ if (filename.IsEmpty()) filename = wxT(".wxWidgets");
wxFileConfig conf( wxTheApp->GetAppName(), wxTheApp->GetVendorName(), filename );