wxMathPlot: Removed mouse help related functions

This commit is contained in:
Maciej Suminski
2016-08-11 14:41:36 +02:00
parent fd08f45bd2
commit f634cff206
2 changed files with 0 additions and 13 deletions
-11
View File
@@ -1136,7 +1136,6 @@ IMPLEMENT_DYNAMIC_CLASS(mpWindow, wxWindow)
EVT_MENU( mpID_ZOOM_IN, mpWindow::OnZoomIn)
EVT_MENU( mpID_ZOOM_OUT, mpWindow::OnZoomOut)
EVT_MENU( mpID_LOCKASPECT,mpWindow::OnLockAspect)
EVT_MENU( mpID_HELP_MOUSE,mpWindow::OnMouseHelp)
END_EVENT_TABLE()
mpWindow::mpWindow( wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, long flag )
@@ -1617,16 +1616,6 @@ void mpWindow::OnLockAspect(wxCommandEvent& WXUNUSED(event))
LockAspect( !m_lockaspect );
}
void mpWindow::OnMouseHelp(wxCommandEvent& WXUNUSED(event))
{
wxMessageBox(_("Supported Mouse commands:\n \
- Left button down + Mark area: Rectangular zoom\n \
- Middle button down + Move: Pan (Move)\n \
- Wheel: Vertical scroll\n \
- Wheel + SHIFT: Horizontal scroll\n \
- Wheel + CTRL: Zoom in/out"),_("wxMathPlot help"),wxOK,this);
}
void mpWindow::OnFit(wxCommandEvent& WXUNUSED(event))
{
Fit();