mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 04:19:09 +02:00
Gtk2: do not set TStatusBar panel text if panel is ownerdrawn. issue #27695
git-svn-id: trunk@48435 -
This commit is contained in:
parent
45a96a8c27
commit
344723bda1
@ -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,'"');
|
||||
|
Loading…
Reference in New Issue
Block a user