mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-03 09:29:30 +02:00
Remove radio button function overloads made unused in previous commit
This commit is contained in:
parent
51115903d4
commit
c8a8c6a3fa
@ -1959,17 +1959,6 @@ wxChoice * ShuttleGuiBase::TieNumberAsChoice(
|
||||
Prompt, SettingName, Default, Choices, InternalChoices );
|
||||
}
|
||||
|
||||
/// Integer specific version of StartRadioButtonGroup.
|
||||
/// All 'TieRadioButton()' enclosed must be ints.
|
||||
void ShuttleGuiBase::StartRadioButtonGroup( const wxString & SettingName, const int iDefaultValue )
|
||||
{
|
||||
// Configure the generic type mechanism to use OUR integer.
|
||||
mRadioValueInt = iDefaultValue;
|
||||
mRadioValue.create( mRadioValueInt );
|
||||
// Now actually start the radio button group.
|
||||
StartRadioButtonGroup( SettingName );
|
||||
}
|
||||
|
||||
/// String specific version of StartRadioButtonGroup.
|
||||
/// All 'TieRadioButton()' enclosed must be strings.
|
||||
void ShuttleGuiBase::StartRadioButtonGroup( const wxString & SettingName, const wxString & DefaultValue )
|
||||
@ -1982,16 +1971,6 @@ void ShuttleGuiBase::StartRadioButtonGroup( const wxString & SettingName, const
|
||||
}
|
||||
|
||||
|
||||
/// This function must be within a StartRadioButtonGroup - EndRadioButtonGroup pair.
|
||||
wxRadioButton * ShuttleGuiBase::TieRadioButton(
|
||||
const wxString &Prompt,
|
||||
const int iValue)
|
||||
{
|
||||
int iTemp = iValue;
|
||||
WrappedType WrappedRef( iTemp );
|
||||
return TieRadioButton( Prompt, WrappedRef );
|
||||
}
|
||||
|
||||
/// This function must be within a StartRadioButtonGroup - EndRadioButtonGroup pair.
|
||||
wxRadioButton * ShuttleGuiBase::TieRadioButton(
|
||||
const wxString &Prompt,
|
||||
|
@ -178,7 +178,6 @@ public:
|
||||
void StartRadioButtonGroup( const wxString & SettingName );
|
||||
void EndRadioButtonGroup();
|
||||
|
||||
void StartRadioButtonGroup( const wxString & SettingName, const int iDefaultValue );
|
||||
void StartRadioButtonGroup( const wxString & SettingName, const wxString &DefaultValue );
|
||||
|
||||
void DoDataShuttle( const wxString &Name, WrappedType & WrappedRef );
|
||||
@ -217,7 +216,6 @@ public:
|
||||
wxSlider * TieVSlider( const wxString &Prompt, float &pos, const float fMin, const float fMax);
|
||||
|
||||
wxRadioButton * TieRadioButton( const wxString & Prompt, WrappedType &WrappedRef);
|
||||
wxRadioButton * TieRadioButton( const wxString &Prompt, const int iValue);
|
||||
wxRadioButton * TieRadioButton( const wxString &Prompt, const wxString &Value);
|
||||
|
||||
wxSpinCtrl * TieSpinCtrl( const wxString &Prompt, WrappedType & WrappedRef, const int max, const int min = 0 );
|
||||
@ -351,7 +349,6 @@ protected:
|
||||
|
||||
Maybe<WrappedType> mRadioValue; /// The wrapped value associated with the active radio button.
|
||||
wxString mRadioValueString; /// Unwrapped string value.
|
||||
int mRadioValueInt; /// Unwrapped integer value.
|
||||
|
||||
int miSizerProp;
|
||||
int mSizerDepth;
|
||||
|
Loading…
x
Reference in New Issue
Block a user