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

_T("LOGBOOK_ENGINEBUTTON1")) #12

Open
rgleason opened this issue Nov 25, 2021 · 1 comment
Open

_T("LOGBOOK_ENGINEBUTTON1")) #12

rgleason opened this issue Nov 25, 2021 · 1 comment

Comments

@rgleason
Copy link
Owner

polar_pi.cpp LINE 185

// This one does not look right ENGINEBUTTON   Enginestatus???
void polar_pi::SetPluginMessage(wxString &message_id, wxString &message_body)
{
      if(message_id == _T("LOGBOOK_ENGINEBUTTON1"))
      {
		if(m_pPolarDialog)
			m_pPolarDialog->polar->setEngineStatus(message_body);
      }
}

@peter
Why is this here? What is it supposed to do? What does polar_pi have to do with LOGBOOK?
Is this a fragment of code that is not needed?

@rgleason
Copy link
Owner Author

This code still exists in Polar_pi.cpp Doesn't seem to cause any problem, but still an outstanding question.

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