mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
CtrlCore: SetFocus0 active fix...
git-svn-id: svn://ultimatepp.org/upp/trunk@3389 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
dfc907b3b1
commit
28150bf977
1 changed files with 2 additions and 1 deletions
|
|
@ -203,7 +203,8 @@ bool Ctrl::SetFocus0(bool activate)
|
|||
if(!topwindow) topwindow = topctrl;
|
||||
LLOG("SetFocus -> SetWndFocus: topwindow = " << UPP::Name(topwindow) << ", focusCtrlWnd = " << UPP::Name(focusCtrlWnd));
|
||||
if(!topwindow->HasWndFocus() && !topwindow->SetWndFocus()) return false;// cxl 31.1.2004
|
||||
topwindow->SetWndForeground(); // cxl 2007-4-27
|
||||
if(activate) // Dolik/fudadmin 2011-5-1
|
||||
topctrl->SetWndForeground(); // cxl 2007-4-27
|
||||
LLOG("SetFocus -> focusCtrl = this: " << FormatIntHex(this) << ", _this = " << FormatIntHex(~_this) << ", " << UPP::Name(_this));
|
||||
focusCtrl = _this;
|
||||
focusCtrlWnd = topwindow;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue