From 80a8d607a9cace0791425b09ce0cd0add814c750 Mon Sep 17 00:00:00 2001 From: alexs75 Date: Mon, 16 Mar 2009 14:27:16 +0000 Subject: [PATCH] fix paint on windows git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@741 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/rx/rxlookup.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/rx/rxlookup.pas b/components/rx/rxlookup.pas index f76d9b8d3..10bef5eb4 100644 --- a/components/rx/rxlookup.pas +++ b/components/rx/rxlookup.pas @@ -1352,10 +1352,10 @@ procedure TRxDBLookupCombo.OnClosePopup(AResult: boolean); begin inherited OnClosePopup(AResult); SetFocus; - if (Owner is TWinControl) then +{ if (Owner is TWinControl) then TWinControl(Owner).Repaint else - Parent.Repaint; + Parent.Repaint;} end; end.