.CtrlCore

git-svn-id: svn://ultimatepp.org/upp/trunk@2865 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2010-11-23 18:40:35 +00:00
parent 9e3b1834e8
commit 9ba0660275

View file

@ -456,6 +456,7 @@ void Ctrl::Create(HWND parent, DWORD style, DWORD exstyle, bool savebits, int sh
ICall(callback1(this, &Ctrl::Create0, &cr));
}
#if 1
void Ctrl::Create0(Ctrl::CreateBox *cr)
{
GuiLock __;
@ -507,8 +508,8 @@ void Ctrl::Create0(Ctrl::CreateBox *cr)
CancelMode();
RefreshLayoutDeep();
}
/* Fix to avoid black corners temorarily artifact, unfortunately it seems to introduce ugly artifact in TS
#else
// Fix to avoid black corners temorarily artifact, unfortunately it seems to introduce ugly artifact in TS
void Ctrl::Create0(Ctrl::CreateBox *cr)
{
GuiLock __;
@ -561,7 +562,8 @@ void Ctrl::Create0(Ctrl::CreateBox *cr)
CancelMode();
RefreshLayoutDeep();
}
*/
#endif
void ReleaseUDropTarget(UDropTarget *dt);