#include <wx/string.h>#include <dialog_sch_sheet_props.h>DIALOG_SCH_SHEET_PROPS::DIALOG_SCH_SHEET_PROPS(wxWindow*parent):DIALOG_SCH_SHEET_PROPS_BASE(parent){m_textFileName->SetFocus();m_sdbSizer1OK->SetDefault();}voidDIALOG_SCH_SHEET_PROPS::SetFileName(constwxString&aFileName){// Filenames are stored using unix notationwxStringfname=aFileName;#ifdef __WINDOWS__fname.Replace(wxT("/"),wxT("\\"));#endifm_textFileName->SetValue(fname);}constwxStringDIALOG_SCH_SHEET_PROPS::GetFileName(){// Filenames are stored using unix notationwxStringfname=m_textFileName->GetValue();fname.Replace(wxT("\\"),wxT("/"));returnfname;}