lcl: gtk2: less hints

git-svn-id: trunk@49466 -
This commit is contained in:
mattias 2015-06-29 09:32:46 +00:00
parent 7cf21da4da
commit dc38f72144

View File

@ -365,7 +365,7 @@ var
begin
if not WSCheckMenuItem(AMenuItem, 'SetCaption') then
Exit;
if gtk_is_separator_menu_item(PGTKWidget(AMenuItem.Handle)) Or (ACaption = cLineCaption) then
if gtk_is_separator_menu_item({%H-}PGTKWidget(AMenuItem.Handle)) Or (ACaption = cLineCaption) then
AMenuItem.RecreateHandle
else
begin