fix remnants of "convert theme" button
This commit is contained in:
@@ -79,7 +79,7 @@ void SetDefaultInstallDir( int iInstallDirIndex )
|
|||||||
// move the specified index to the top of the list
|
// move the specified index to the top of the list
|
||||||
CStringArray asInstallDirs;
|
CStringArray asInstallDirs;
|
||||||
GetStepManiaInstallDirs( asInstallDirs );
|
GetStepManiaInstallDirs( asInstallDirs );
|
||||||
ASSERT( iInstallDirIndex > 0 && iInstallDirIndex < asInstallDirs.size() );
|
ASSERT( iInstallDirIndex >= 0 && iInstallDirIndex < asInstallDirs.size() );
|
||||||
CString sDefaultInstallDir = asInstallDirs[iInstallDirIndex];
|
CString sDefaultInstallDir = asInstallDirs[iInstallDirIndex];
|
||||||
asInstallDirs.erase( asInstallDirs.begin()+iInstallDirIndex );
|
asInstallDirs.erase( asInstallDirs.begin()+iInstallDirIndex );
|
||||||
asInstallDirs.insert( asInstallDirs.begin(), sDefaultInstallDir );
|
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_ANALYZE_METRICS, m_buttonAnalyzeMetrics);
|
||||||
DDX_Control(pDX, IDC_BUTTON_EDIT_METRICS, m_buttonEditMetrics);
|
DDX_Control(pDX, IDC_BUTTON_EDIT_METRICS, m_buttonEditMetrics);
|
||||||
DDX_Control(pDX, IDC_BUTTON_ANALYZE, m_buttonAnalyze);
|
DDX_Control(pDX, IDC_BUTTON_ANALYZE, m_buttonAnalyze);
|
||||||
DDX_Control(pDX, IDC_BUTTON_CONVERT, m_buttonConvert);
|
|
||||||
DDX_Control(pDX, IDC_LIST_THEMES, m_listThemes);
|
DDX_Control(pDX, IDC_LIST_THEMES, m_listThemes);
|
||||||
//}}AFX_DATA_MAP
|
//}}AFX_DATA_MAP
|
||||||
}
|
}
|
||||||
@@ -98,7 +97,6 @@ void ConvertThemeDlg::OnSelchangeListThemes()
|
|||||||
{
|
{
|
||||||
// TODO: Add your control notification handler code here
|
// TODO: Add your control notification handler code here
|
||||||
BOOL bSomethingSelected = m_listThemes.GetCurSel() != LB_ERR;
|
BOOL bSomethingSelected = m_listThemes.GetCurSel() != LB_ERR;
|
||||||
m_buttonConvert.EnableWindow( bSomethingSelected );
|
|
||||||
m_buttonAnalyze.EnableWindow( bSomethingSelected );
|
m_buttonAnalyze.EnableWindow( bSomethingSelected );
|
||||||
m_buttonEditMetrics.EnableWindow( bSomethingSelected );
|
m_buttonEditMetrics.EnableWindow( bSomethingSelected );
|
||||||
m_buttonAnalyzeMetrics.EnableWindow( bSomethingSelected );
|
m_buttonAnalyzeMetrics.EnableWindow( bSomethingSelected );
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ public:
|
|||||||
CButton m_buttonAnalyzeMetrics;
|
CButton m_buttonAnalyzeMetrics;
|
||||||
CButton m_buttonEditMetrics;
|
CButton m_buttonEditMetrics;
|
||||||
CButton m_buttonAnalyze;
|
CButton m_buttonAnalyze;
|
||||||
CButton m_buttonConvert;
|
|
||||||
CListBox m_listThemes;
|
CListBox m_listThemes;
|
||||||
//}}AFX_DATA
|
//}}AFX_DATA
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user