diff --git a/src/toolbars/SelectionBar.cpp b/src/toolbars/SelectionBar.cpp index 0a9c0297f..2024f1493 100644 --- a/src/toolbars/SelectionBar.cpp +++ b/src/toolbars/SelectionBar.cpp @@ -528,7 +528,7 @@ void SelectionBar::OnUpdate(wxCommandEvent &evt) RegenerateTooltips(); - // ToolBar::ReCreateButtons() will get rid of our sizers and controls + // ReCreateButtons() will get rid of our sizers and controls // so reset pointers first. for( i=0;i<5;i++) *Ctrls[i]=NULL; @@ -536,7 +536,7 @@ void SelectionBar::OnUpdate(wxCommandEvent &evt) mRateBox = NULL; mRateText = NULL; - ToolBar::ReCreateButtons(); + ReCreateButtons(); ValuesToControls(); diff --git a/src/toolbars/SpectralSelectionBar.cpp b/src/toolbars/SpectralSelectionBar.cpp index 8ddbb0d1f..4f0957304 100644 --- a/src/toolbars/SpectralSelectionBar.cpp +++ b/src/toolbars/SpectralSelectionBar.cpp @@ -406,12 +406,12 @@ void SpectralSelectionBar::OnUpdate(wxCommandEvent &evt) mListener->SSBL_SetBandwidthSelectionFormatName(bandwidthFormatName); } - // ToolBar::ReCreateButtons() will get rid of our sizers and controls + // ReCreateButtons() will get rid of our sizers and controls // so reset pointers first. mCenterCtrl = mWidthCtrl = NULL; mLowCtrl = mHighCtrl = NULL; - ToolBar::ReCreateButtons(); + ReCreateButtons(); ValuesToControls();