mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 09:38:12 +02:00
Gtk2: call gtk2ws directly from combobox showhide.Fixes issue #18261
git-svn-id: trunk@28783 -
This commit is contained in:
parent
d3585038c2
commit
84cd9c95e2
@ -1884,7 +1884,8 @@ begin
|
||||
if AWinControl.HandleObjectShouldBeVisible and
|
||||
TCustomComboBox(AWinControl).ReadOnly then
|
||||
SetFont(AWinControl, AWinControl.Font);
|
||||
inherited ShowHide(AWinControl);
|
||||
Gtk2WidgetSet.SetVisible(AWinControl, AWinControl.HandleObjectShouldBeVisible);
|
||||
InvalidateLastWFPResult(AWinControl, AWinControl.BoundsRect);
|
||||
end;
|
||||
|
||||
class function TGtk2WSCustomComboBox.CanFocus(const AWinControl: TWinControl
|
||||
|
Loading…
Reference in New Issue
Block a user