From: <ob...@us...> - 2009-07-03 14:11:06
|
Revision: 12372 http://jvcl.svn.sourceforge.net/jvcl/?rev=12372&view=rev Author: obones Date: 2009-07-03 14:11:06 +0000 (Fri, 03 Jul 2009) Log Message: ----------- Setting the tab painter must set OwnerDraw to True or nothing will happen... Modified Paths: -------------- trunk/jvcl/run/JvComCtrls.pas Modified: trunk/jvcl/run/JvComCtrls.pas =================================================================== --- trunk/jvcl/run/JvComCtrls.pas 2009-07-03 14:05:47 UTC (rev 12371) +++ trunk/jvcl/run/JvComCtrls.pas 2009-07-03 14:11:06 UTC (rev 12372) @@ -1929,6 +1929,11 @@ begin FTabPainter.FreeNotification(Self); FTabPainter.RegisterChange(Self); + OwnerDraw := True; + end + else + begin + OwnerDraw := False; end; Invalidate; end; @@ -2202,6 +2207,11 @@ begin FTabPainter.FreeNotification(Self); FTabPainter.RegisterChange(Self); + OwnerDraw := True; + end + else + begin + OwnerDraw := False; end; Invalidate; end; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |