mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 16:29:32 +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
|
if AWinControl.HandleObjectShouldBeVisible and
|
||||||
TCustomComboBox(AWinControl).ReadOnly then
|
TCustomComboBox(AWinControl).ReadOnly then
|
||||||
SetFont(AWinControl, AWinControl.Font);
|
SetFont(AWinControl, AWinControl.Font);
|
||||||
inherited ShowHide(AWinControl);
|
Gtk2WidgetSet.SetVisible(AWinControl, AWinControl.HandleObjectShouldBeVisible);
|
||||||
|
InvalidateLastWFPResult(AWinControl, AWinControl.BoundsRect);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
class function TGtk2WSCustomComboBox.CanFocus(const AWinControl: TWinControl
|
class function TGtk2WSCustomComboBox.CanFocus(const AWinControl: TWinControl
|
||||||
|
Loading…
Reference in New Issue
Block a user