Commit 344723bd authored by Željan Rikalo's avatar Željan Rikalo 🏊🏼
Browse files

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

git-svn-id: trunk@48435 -
parent 45a96a8c
......@@ -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,'"');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment