]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix wxMiniFrame caption height.
authorRobert Roebling <robert@roebling.de>
Mon, 16 Oct 2006 20:55:59 +0000 (20:55 +0000)
committerRobert Roebling <robert@roebling.de>
Mon, 16 Oct 2006 20:55:59 +0000 (20:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/minifram.cpp

index da857b0e6e0b487c3ce02d37c0c23a6c376db4d4..7cd36b9f8535b8c776a287d93bd24c6a800ec40f 100644 (file)
@@ -99,7 +99,7 @@ static void gtk_window_own_expose_callback( GtkWidget *widget, GdkEventExpose *g
         wxBrush brush( LightContrastColour( wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT) ) );
         dc.SetBrush( brush );
         dc.SetPen( *wxTRANSPARENT_PEN );
-        dc.DrawRectangle( 3, 3, win->m_width - 7, height-2 );
+        dc.DrawRectangle( 3, 3, win->m_width - 7, height );
 
         dc.SetTextForeground( *wxWHITE );
         dc.DrawText( win->GetTitle(), 6, 3 );