Partial work related to OS X 10.6 SDK compilation

issue #33: Modernize support for various MacOS APIs to their 10.5 equivalents.
This commit is contained in:
Sorin Sbarnea 2009-04-24 10:11:28 +00:00
parent e69caf4d8b
commit 86c29452f9
5 changed files with 5 additions and 5 deletions

View file

@ -353,7 +353,7 @@ COSXKeyState::fakeKey(const Keystroke& keystroke)
LOG((CLOG_DEBUG1 " %03x (%08x) %s", keystroke.m_data.m_button.m_button, keystroke.m_data.m_button.m_client, keystroke.m_data.m_button.m_press ? "down" : "up"));
// let system figure out character for us
CGPostKeyboardEvent(0, mapKeyButtonToVirtualKey(
CGEventCreateKeyboardEvent(0, mapKeyButtonToVirtualKey(
keystroke.m_data.m_button.m_button),
keystroke.m_data.m_button.m_press);