Group :: System/Base
RPM: eviacam
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: eviacam-alt-compat.patch
Download
Download
diff --git a/src/wconfiguration.cpp b/src/wconfiguration.cpp
index dff24e7..40728ba 100644
--- a/src/wconfiguration.cpp
+++ b/src/wconfiguration.cpp
@@ -874,7 +874,7 @@ void WConfiguration::CreateControls()
void WConfiguration::CreateHotkey (const eviacam::HotKey& kc, wxWindow* parent, wxSizer* sizer)
{
- wxStaticText* itemStaticText = new wxStaticText( parent, m_lastId, wxString((const wxChar*)kc.GetDescription(),wxConvUTF8), wxDefaultPosition, wxDefaultSize, 0 );
+ wxStaticText* itemStaticText = new wxStaticText( parent, m_lastId, wxString((const wxChar*)kc.GetDescription().c_str(),wxConvUTF8), wxDefaultPosition, wxDefaultSize, 0 );
sizer->Add(itemStaticText, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
m_controlList.push_back((wxControl*) itemStaticText);