diff --git a/src/gui/dialogs/monitor_volume_adj.cpp b/src/gui/dialogs/monitor_volume_adj.cpp index 5c06b983..5b1c5155 100644 --- a/src/gui/dialogs/monitor_volume_adj.cpp +++ b/src/gui/dialogs/monitor_volume_adj.cpp @@ -23,7 +23,7 @@ #include #include "monitor_volume_adj.h" -MontiorVolumeAdjPopup::MontiorVolumeAdjPopup( wxWindow* parent, ConfigurationDataElement& configVal ) +MonitorVolumeAdjPopup::MonitorVolumeAdjPopup( wxWindow* parent, ConfigurationDataElement& configVal ) : wxPopupTransientWindow(parent) , configVal_(configVal) { @@ -39,7 +39,7 @@ MontiorVolumeAdjPopup::MontiorVolumeAdjPopup( wxWindow* parent, ConfigurationDat Layout(); // Link event handlers - volumeSlider_->Connect(wxEVT_SLIDER, wxCommandEventHandler(MontiorVolumeAdjPopup::OnSliderAdjusted), NULL, this); + volumeSlider_->Connect(wxEVT_SLIDER, wxCommandEventHandler(MonitorVolumeAdjPopup::OnSliderAdjusted), NULL, this); // Make popup show up to the left of (and above) mouse cursor position wxPoint pt = wxGetMousePosition(); @@ -48,12 +48,12 @@ MontiorVolumeAdjPopup::MontiorVolumeAdjPopup( wxWindow* parent, ConfigurationDat SetPosition( pt ); } -MontiorVolumeAdjPopup::~MontiorVolumeAdjPopup() +MonitorVolumeAdjPopup::~MonitorVolumeAdjPopup() { // TBD } -void MontiorVolumeAdjPopup::OnSliderAdjusted(wxCommandEvent& event) +void MonitorVolumeAdjPopup::OnSliderAdjusted(wxCommandEvent& event) { configVal_ = volumeSlider_->GetValue(); } \ No newline at end of file diff --git a/src/gui/dialogs/monitor_volume_adj.h b/src/gui/dialogs/monitor_volume_adj.h index 6d66724f..8f22ee9a 100644 --- a/src/gui/dialogs/monitor_volume_adj.h +++ b/src/gui/dialogs/monitor_volume_adj.h @@ -28,13 +28,13 @@ #include "config/ConfigurationDataElement.h" //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-= -// Class MontiorVolumeAdjPopup +// Class MonitorVolumeAdjPopup //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-= -class MontiorVolumeAdjPopup : public wxPopupTransientWindow +class MonitorVolumeAdjPopup : public wxPopupTransientWindow { public: - MontiorVolumeAdjPopup( wxWindow* parent, ConfigurationDataElement& configVal ); - ~MontiorVolumeAdjPopup(); + MonitorVolumeAdjPopup( wxWindow* parent, ConfigurationDataElement& configVal ); + ~MonitorVolumeAdjPopup(); protected: void OnSliderAdjusted(wxCommandEvent& event); diff --git a/src/ongui.cpp b/src/ongui.cpp index e5fe817e..7a540fa4 100644 --- a/src/ongui.cpp +++ b/src/ongui.cpp @@ -842,7 +842,7 @@ void MainFrame::OnSetMonitorTxAudio( wxCommandEvent& event ) void MainFrame::OnSetMonitorTxAudioVol( wxCommandEvent& event ) { - auto popup = new MontiorVolumeAdjPopup(this, wxGetApp().appConfiguration.monitorTxAudioVol); + auto popup = new MonitorVolumeAdjPopup(this, wxGetApp().appConfiguration.monitorTxAudioVol); popup->Popup(); } diff --git a/src/voicekeyer.cpp b/src/voicekeyer.cpp index 04580c7e..728af381 100644 --- a/src/voicekeyer.cpp +++ b/src/voicekeyer.cpp @@ -178,7 +178,7 @@ void MainFrame::OnSetMonitorVKAudio( wxCommandEvent& event ) void MainFrame::OnSetMonitorVKAudioVol( wxCommandEvent& event ) { - auto popup = new MontiorVolumeAdjPopup(this, wxGetApp().appConfiguration.monitorVoiceKeyerAudioVol); + auto popup = new MonitorVolumeAdjPopup(this, wxGetApp().appConfiguration.monitorVoiceKeyerAudioVol); popup->Popup(); }