From: <ob...@us...> - 2008-02-21 13:01:45
|
Revision: 11738 http://jvcl.svn.sourceforge.net/jvcl/?rev=11738&view=rev Author: obones Date: 2008-02-21 05:01:42 -0800 (Thu, 21 Feb 2008) Log Message: ----------- Much better with a LongBool as it avoids overwriting the call stack. Modified Paths: -------------- trunk/jvcl/run/JvMenus.pas Modified: trunk/jvcl/run/JvMenus.pas =================================================================== --- trunk/jvcl/run/JvMenus.pas 2008-02-21 12:39:15 UTC (rev 11737) +++ trunk/jvcl/run/JvMenus.pas 2008-02-21 13:01:42 UTC (rev 11738) @@ -3158,7 +3158,7 @@ procedure TJvOfficeMenuItemPainter.DrawItemText(ARect: TRect; const Text: string; Flags: Integer); var - FlatMenus: Boolean; + FlatMenus: LongBool; begin if not IsPopup(FItem) then begin This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |