|
@@ -218,7 +218,9 @@ bool UIWebView::OnEvent(const TBWidgetEvent &ev)
|
|
|
}
|
|
}
|
|
|
else if (ev.type == EVENT_TYPE_SHORTCUT)
|
|
else if (ev.type == EVENT_TYPE_SHORTCUT)
|
|
|
{
|
|
{
|
|
|
- // These shortcuts are not being invoked with key combinations (Handle KeyDown/KeyUp)
|
|
|
|
|
|
|
+
|
|
|
|
|
+#ifdef ATOMIC_PLATFORM_OSX
|
|
|
|
|
+ // On OSX, these shortcuts are not being invoked with key combinations (Handle KeyDown/KeyUp)
|
|
|
if (ev.ref_id == TBIDC("copy"))
|
|
if (ev.ref_id == TBIDC("copy"))
|
|
|
{
|
|
{
|
|
|
webClient_->ShortcutCopy();
|
|
webClient_->ShortcutCopy();
|
|
@@ -234,6 +236,8 @@ bool UIWebView::OnEvent(const TBWidgetEvent &ev)
|
|
|
webClient_->ShortcutCut();
|
|
webClient_->ShortcutCut();
|
|
|
return true;
|
|
return true;
|
|
|
}
|
|
}
|
|
|
|
|
+#endif
|
|
|
|
|
+
|
|
|
|
|
|
|
|
// Handled by key combinations in Handle KeyDown/KeyUp
|
|
// Handled by key combinations in Handle KeyDown/KeyUp
|
|
|
/*
|
|
/*
|