Posix compile fixes

git-svn-id: svn://ultimatepp.org/upp/trunk@9949 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-06-16 06:03:32 +00:00
parent c4be736677
commit fbca8a050f
3 changed files with 3 additions and 3 deletions

View file

@ -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;
}

View file

@ -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);

View file

@ -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();