1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

uiold fixes

This commit is contained in:
Alexander Medvednikov
2020-01-01 13:27:21 +01:00
parent e8bbb00bde
commit 807c16dd1b
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
module ui
module uiold
#flag -framework Carbon
#flag -framework Cocoa
@ -24,7 +24,7 @@ pub fn reg_key_vid() {
#EventTypeSpec eventType;
#eventType.eventClass = kEventClassKeyboard;
#eventType.eventKind = kEventHotKeyPressed;
#InstallApplicationEventHandler(&ui__focus_app, 1, &eventType, NULL, NULL);
#InstallApplicationEventHandler(&uiold__focus_app, 1, &eventType, NULL, NULL);
#gMyHotKeyID.signature = 'rml1';
#gMyHotKeyID.id = 1;
#RegisterEventHotKey(kVK_ANSI_1, cmdKey, gMyHotKeyID,