[ wxwindows-Patches-1539558 ] wxComboCtrl doesn't clip background
properly
SourceForge.net
noreply at sourceforge.net
Sun Aug 13 07:24:49 PDT 2006
Patches item #1539558, was opened at 2006-08-13 17:24
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1539558&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Generic
Group: bug fix
Status: Open
Resolution: None
Priority: 5
Submitted By: Jaakko Salli (jmsalli)
Assigned to: Nobody/Anonymous (nobody)
Summary: wxComboCtrl doesn't clip background properly
Initial Comment:
This bug can be seen in widgets sample: Open odcombo
page, set style to readonly, press "insert few
strings", and select very very long string. The
painting of string should be limited on the focus-rect
area only, but as it can now be seen, it spills out at
the end.
In addition to adding dc.SetClipRegion() calls, this
patch renames wxComboCtrl::DrawFocusBackground to
PrepareBackground. Re-naming is appropriate, since in
addition to drawing focus rect it draws disabled
background and now also sets the clipping region.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1539558&group_id=9863
More information about the wx-dev
mailing list