Turn problematic code off for now....
This commit is contained in:
parent
4edf18b023
commit
458af25282
|
@ -166,8 +166,13 @@ void LAYER_BOX_SELECTOR::ResyncBitmapOnly()
|
||||||
|
|
||||||
void LAYER_BOX_SELECTOR::onKeyDown( wxKeyEvent& aEvent )
|
void LAYER_BOX_SELECTOR::onKeyDown( wxKeyEvent& aEvent )
|
||||||
{
|
{
|
||||||
|
#ifdef __WXOSX_MAC__
|
||||||
if( aEvent.GetKeyCode() == WXK_ESCAPE && IsPopupShown() )
|
if( aEvent.GetKeyCode() == WXK_ESCAPE && IsPopupShown() )
|
||||||
|
{
|
||||||
Dismiss();
|
Dismiss();
|
||||||
else
|
return;
|
||||||
aEvent.Skip();
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
aEvent.Skip();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue