fix remnants of "convert theme" button

This commit is contained in:
Chris Danford
2005-11-11 22:00:26 +00:00
parent 4f52fab65a
commit e7dbf5ed3d
3 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ void SetDefaultInstallDir( int iInstallDirIndex )
// move the specified index to the top of the list
CStringArray asInstallDirs;
GetStepManiaInstallDirs( asInstallDirs );
ASSERT( iInstallDirIndex > 0 && iInstallDirIndex < asInstallDirs.size() );
ASSERT( iInstallDirIndex >= 0 && iInstallDirIndex < asInstallDirs.size() );
CString sDefaultInstallDir = asInstallDirs[iInstallDirIndex];
asInstallDirs.erase( asInstallDirs.begin()+iInstallDirIndex );
asInstallDirs.insert( asInstallDirs.begin(), sDefaultInstallDir );
@@ -35,7 +35,6 @@ void ConvertThemeDlg::DoDataExchange(CDataExchange* pDX)
DDX_Control(pDX, IDC_BUTTON_ANALYZE_METRICS, m_buttonAnalyzeMetrics);
DDX_Control(pDX, IDC_BUTTON_EDIT_METRICS, m_buttonEditMetrics);
DDX_Control(pDX, IDC_BUTTON_ANALYZE, m_buttonAnalyze);
DDX_Control(pDX, IDC_BUTTON_CONVERT, m_buttonConvert);
DDX_Control(pDX, IDC_LIST_THEMES, m_listThemes);
//}}AFX_DATA_MAP
}
@@ -98,7 +97,6 @@ void ConvertThemeDlg::OnSelchangeListThemes()
{
// TODO: Add your control notification handler code here
BOOL bSomethingSelected = m_listThemes.GetCurSel() != LB_ERR;
m_buttonConvert.EnableWindow( bSomethingSelected );
m_buttonAnalyze.EnableWindow( bSomethingSelected );
m_buttonEditMetrics.EnableWindow( bSomethingSelected );
m_buttonAnalyzeMetrics.EnableWindow( bSomethingSelected );
-1
View File
@@ -22,7 +22,6 @@ public:
CButton m_buttonAnalyzeMetrics;
CButton m_buttonEditMetrics;
CButton m_buttonAnalyze;
CButton m_buttonConvert;
CListBox m_listThemes;
//}}AFX_DATA