mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-21 22:04:56 -06:00
Posix compile fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@9949 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
c4be736677
commit
fbca8a050f
3 changed files with 3 additions and 3 deletions
|
|
@ -128,7 +128,7 @@ Ctrl *Ctrl::GetActiveCtrl()
|
|||
|
||||
// There is no generic support in GTK for HotKey
|
||||
|
||||
int Ctrl::RegisterSystemHotKey(dword key, Callback cb)
|
||||
int Ctrl::RegisterSystemHotKey(dword key, Function<void ()> cb)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -177,7 +177,7 @@ Vector<Callback> Ctrl::hotkey;
|
|||
Vector<dword> Ctrl::keyhot;
|
||||
Vector<dword> Ctrl::modhot;
|
||||
|
||||
int Ctrl::RegisterSystemHotKey(dword key, Callback cb)
|
||||
int Ctrl::RegisterSystemHotKey(dword key, Function<void ()> cb)
|
||||
{
|
||||
GuiLock __;
|
||||
ASSERT(key >= K_DELTA);
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ Ctrl *Ctrl::GetActiveCtrl()
|
|||
|
||||
// Vector<Callback> Ctrl::hotkey;
|
||||
|
||||
int Ctrl::RegisterSystemHotKey(dword key, Callback cb)
|
||||
int Ctrl::RegisterSystemHotKey(dword key, Function<void ()> cb)
|
||||
{
|
||||
/* ASSERT(key >= K_DELTA);
|
||||
int q = hotkey.GetCount();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue