// Licence:
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "configtooldoc.h"
-#endif
-
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
{
if (!IsModified() && m_savedYet) return true;
- bool ret = (m_documentFile == wxT("") || !m_savedYet) ?
+ bool ret = (m_documentFile.empty() || !m_savedYet) ?
SaveAs() :
OnSaveDocument(m_documentFile);
if ( ret )
//rootItem->InitProperties();
rootItem->GetProperties().AddProperty(
new ctProperty(
- wxT("The item description."),
- wxVariant(wxT(""), wxT("description")),
- wxT("multiline")));
+ wxT("The item description."),
+ wxVariant(wxEmptyString, wxT("description")),
+ wxT("multiline")));
rootItem->SetPropertyString(_T("description"),
_T("<B>This is the top-level configuration item.</B>"));
wxString type(wxT("string"));
wxString choices;
wxString editorType(wxT("string"));
- wxString description(wxT(""));
+ wxString description;
childTag->GetAttributeValue(type, wxT("type"));
childTag->GetAttributeValue(type, wxT("editor-type"));
childTag->GetAttributeValue(type, wxT("choices"));
else if (type == wxT("long"))
prop->GetVariant() = wxVariant((long) 0, name);
else
- prop->GetVariant() = wxVariant(wxT(""), name);
+ prop->GetVariant() = wxVariant(wxEmptyString, name);
prop->SetDescription(description);
prop->SetCustom(true);
prop->SetEditorType(editorType);
#ifdef __WXMSW__
if (makeUnix)
path.Replace(wxT("\\"), wxT("/"));
+#else
+ wxUnusedVar(makeUnix);
#endif
}
return path;