Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable not used correctly #2

Closed
Rasbats opened this issue Oct 3, 2017 · 1 comment
Closed

Variable not used correctly #2

Rasbats opened this issue Oct 3, 2017 · 1 comment

Comments

@Rasbats
Copy link
Owner

Rasbats commented Oct 3, 2017

myChartFileNameArray.Clear();

int m_iChoiceSat, m_iChoiceSat1;  // TODO: remove m_iChoiceSat1
if (m_nVF->GetSelection() == 0){
	m_iChoiceSat = m_choiceSat->GetSelection(); // need to reset the choice of provider
}
else if (m_nVF->GetSelection() == 1){
            //TODO: change m_iChoiceSat1 to read m_iChoiceSat
	m_iChoiceSat1 = m_choiceSat1->GetSelection(); // need to reset the choice of provider
}

wxString p = wxString::Format(_T("%i"), (int)m_iChoiceSat);

switch (m_iChoiceSat){
case 0: m_sUseSat = _T("google");
	break;
case 1: m_sUseSat = _T("virtualEarth");
	break;
case 2: m_sUseSat = _T("nokia");
	break;
}
@Rasbats
Copy link
Owner Author

Rasbats commented Oct 23, 2017

Now corrected in the release version v1.0.

@Rasbats Rasbats closed this as completed Oct 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant