Gtk2: call gtk2ws directly from combobox showhide.Fixes issue #18261

git-svn-id: trunk@28783 -
This commit is contained in:
zeljko 2010-12-20 08:13:46 +00:00
parent d3585038c2
commit 84cd9c95e2

View File

@ -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