mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-21 04:19:36 +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
|
else
|
||||||
PanelText := '';
|
PanelText := '';
|
||||||
|
|
||||||
|
if (CurPanel <> nil) and (CurPanel.Style = psOwnerDraw) then
|
||||||
|
PanelText := '';
|
||||||
|
|
||||||
ContextID := gtk_statusbar_get_context_id(PGTKStatusBar(StatusPanelWidget),
|
ContextID := gtk_statusbar_get_context_id(PGTKStatusBar(StatusPanelWidget),
|
||||||
'state');
|
'state');
|
||||||
//DebugLn(' PanelText="',PanelText,'"');
|
//DebugLn(' PanelText="',PanelText,'"');
|
||||||
|
Loading…
Reference in New Issue
Block a user