Skip to content

Commit

Permalink
fixed ListControl header drawing problem (thanks to FrozenCow for pro…
Browse files Browse the repository at this point in the history
…viding the patch)
  • Loading branch information
briandunnington committed Oct 11, 2009
1 parent 39e9c4d commit 4a49dd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Growl/Growl.Connector/ConnectorBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ namespace Growl.Connector
/// Along with applications sending notifications, this class serves as the basis
/// for objects that do things like forward notifications from one server to another
/// or subscribe to notifications from a remote client.
///
/// NOTE: This class' ability to parse and receive GNTP responses is not currently able
/// to handle responses with inline binary data.
/// </remarks>
public abstract class ConnectorBase
{
Expand Down
2 changes: 1 addition & 1 deletion Growl/Growl/UI/ListControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ void ListControl_DrawItem(object sender, DrawItemEventArgs e)

protected override void OnPaint(PaintEventArgs e)
{
Rectangle headerRect = new Rectangle(e.ClipRectangle.X, e.ClipRectangle.Y, e.ClipRectangle.Width, this.headerHeight);
Rectangle headerRect = new Rectangle(0, 0, ClientSize.Width, headerHeight);
Brush b1 = new SolidBrush(Color.FromArgb(222, 222, 222));
using (b1)
{
Expand Down

0 comments on commit 4a49dd3

Please sign in to comment.