Try to fix #977
This commit is contained in:
parent
68cd51435f
commit
ee4f2cf549
1 changed files with 7 additions and 1 deletions
|
@ -3379,7 +3379,13 @@ void GLCanvas3D::on_key_down(wxKeyEvent& evt)
|
|||
if (key == WXK_DELETE)
|
||||
m_on_remove_object_callback.call();
|
||||
else
|
||||
evt.Skip();
|
||||
{
|
||||
#ifdef __WXOSX__
|
||||
if (key == WXK_BACK)
|
||||
m_on_remove_object_callback.call();
|
||||
#endif
|
||||
evt.Skip();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue