Gtk2: do not set TStatusBar panel text if panel is ownerdrawn. issue #27695

git-svn-id: trunk@48435 -
This commit is contained in:
zeljko 2015-03-20 19:55:26 +00:00
parent 45a96a8c27
commit 344723bda1

View File

@ -6171,6 +6171,9 @@ begin
else
PanelText := '';
if (CurPanel <> nil) and (CurPanel.Style = psOwnerDraw) then
PanelText := '';
ContextID := gtk_statusbar_get_context_id(PGTKStatusBar(StatusPanelWidget),
'state');
//DebugLn(' PanelText="',PanelText,'"');