CtrlCore: Fixed workares issue in X11/GTK, various cosmetics

git-svn-id: svn://ultimatepp.org/upp/trunk@7336 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-04-28 16:55:48 +00:00
parent f59fe47620
commit e2b5d44cc8
32 changed files with 87 additions and 56 deletions

View file

@ -58,7 +58,7 @@ void TopWindow::SyncCaption()
void TopWindow::CenterRect(Ctrl *owner)
{
GuiLock __;
SetupRect();
SetupRect(owner);
if(owner && center == 1 || center == 2) {
Size sz = GetRect().Size();
Rect r, wr;