From 9ba06602755dd0b3e05c3bb894cbac48218d4e05 Mon Sep 17 00:00:00 2001 From: cxl Date: Tue, 23 Nov 2010 18:40:35 +0000 Subject: [PATCH] .CtrlCore git-svn-id: svn://ultimatepp.org/upp/trunk@2865 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/CtrlCore/Win32Wnd.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/uppsrc/CtrlCore/Win32Wnd.cpp b/uppsrc/CtrlCore/Win32Wnd.cpp index 023745f37..d22b12f76 100644 --- a/uppsrc/CtrlCore/Win32Wnd.cpp +++ b/uppsrc/CtrlCore/Win32Wnd.cpp @@ -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);