Fix typo in class name.

pull/733/head
Mooneer Salem 2024-07-13 07:04:47 -07:00
parent 8ec15b0deb
commit 2a77a692a5
4 changed files with 10 additions and 10 deletions

View File

@ -23,7 +23,7 @@
#include <wx/sizer.h> #include <wx/sizer.h>
#include "monitor_volume_adj.h" #include "monitor_volume_adj.h"
MontiorVolumeAdjPopup::MontiorVolumeAdjPopup( wxWindow* parent, ConfigurationDataElement<float>& configVal ) MonitorVolumeAdjPopup::MonitorVolumeAdjPopup( wxWindow* parent, ConfigurationDataElement<float>& configVal )
: wxPopupTransientWindow(parent) : wxPopupTransientWindow(parent)
, configVal_(configVal) , configVal_(configVal)
{ {
@ -39,7 +39,7 @@ MontiorVolumeAdjPopup::MontiorVolumeAdjPopup( wxWindow* parent, ConfigurationDat
Layout(); Layout();
// Link event handlers // 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 // Make popup show up to the left of (and above) mouse cursor position
wxPoint pt = wxGetMousePosition(); wxPoint pt = wxGetMousePosition();
@ -48,12 +48,12 @@ MontiorVolumeAdjPopup::MontiorVolumeAdjPopup( wxWindow* parent, ConfigurationDat
SetPosition( pt ); SetPosition( pt );
} }
MontiorVolumeAdjPopup::~MontiorVolumeAdjPopup() MonitorVolumeAdjPopup::~MonitorVolumeAdjPopup()
{ {
// TBD // TBD
} }
void MontiorVolumeAdjPopup::OnSliderAdjusted(wxCommandEvent& event) void MonitorVolumeAdjPopup::OnSliderAdjusted(wxCommandEvent& event)
{ {
configVal_ = volumeSlider_->GetValue(); configVal_ = volumeSlider_->GetValue();
} }

View File

@ -28,13 +28,13 @@
#include "config/ConfigurationDataElement.h" #include "config/ConfigurationDataElement.h"
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-= //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=
// Class MontiorVolumeAdjPopup // Class MonitorVolumeAdjPopup
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-= //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=
class MontiorVolumeAdjPopup : public wxPopupTransientWindow class MonitorVolumeAdjPopup : public wxPopupTransientWindow
{ {
public: public:
MontiorVolumeAdjPopup( wxWindow* parent, ConfigurationDataElement<float>& configVal ); MonitorVolumeAdjPopup( wxWindow* parent, ConfigurationDataElement<float>& configVal );
~MontiorVolumeAdjPopup(); ~MonitorVolumeAdjPopup();
protected: protected:
void OnSliderAdjusted(wxCommandEvent& event); void OnSliderAdjusted(wxCommandEvent& event);

View File

@ -842,7 +842,7 @@ void MainFrame::OnSetMonitorTxAudio( wxCommandEvent& event )
void MainFrame::OnSetMonitorTxAudioVol( 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(); popup->Popup();
} }

View File

@ -178,7 +178,7 @@ void MainFrame::OnSetMonitorVKAudio( wxCommandEvent& event )
void MainFrame::OnSetMonitorVKAudioVol( 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(); popup->Popup();
} }