diff --git a/Common/DTMF.cpp b/Common/DTMF.cpp index 05ca390..7630212 100644 --- a/Common/DTMF.cpp +++ b/Common/DTMF.cpp @@ -167,6 +167,8 @@ wxString CDTMF::translate() return processReflector(wxT("XRF"), command.Mid(1U)); else if (command.GetChar(0U) == wxT('D')) return processReflector(wxT("DCS"), command.Mid(1U)); + else + return wxEmptyString; } void CDTMF::reset() diff --git a/GUICommon/DCSSet.cpp b/GUICommon/DCSSet.cpp index 300f3e5..f63a80d 100644 --- a/GUICommon/DCSSet.cpp +++ b/GUICommon/DCSSet.cpp @@ -27,7 +27,7 @@ const unsigned int CONTROL_WIDTH = 130U; const unsigned int BORDER_SIZE = 5U; -CDCSSet::CDCSSet(wxWindow* parent, int id, const wxString& title, bool dcsEnabled) : +CDCSSet::CDCSSet(wxWindow* parent, int id, const wxString& title, bool enabled) : wxPanel(parent, id), m_title(title), m_enabled(NULL) diff --git a/GUICommon/DCSSet.h b/GUICommon/DCSSet.h index a1d46e7..a354581 100644 --- a/GUICommon/DCSSet.h +++ b/GUICommon/DCSSet.h @@ -23,7 +23,7 @@ class CDCSSet : public wxPanel { public: - CDCSSet(wxWindow* parent, int id, const wxString& title, bool dcsEnabled); + CDCSSet(wxWindow* parent, int id, const wxString& title, bool enabled); virtual ~CDCSSet(); virtual bool Validate();