Fix wxMiniFrame caption height.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
bc429ce01f
commit
1ed6bbc207
@ -99,7 +99,7 @@ static void gtk_window_own_expose_callback( GtkWidget *widget, GdkEventExpose *g
|
|||||||
wxBrush brush( LightContrastColour( wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT) ) );
|
wxBrush brush( LightContrastColour( wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT) ) );
|
||||||
dc.SetBrush( brush );
|
dc.SetBrush( brush );
|
||||||
dc.SetPen( *wxTRANSPARENT_PEN );
|
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.SetTextForeground( *wxWHITE );
|
||||||
dc.DrawText( win->GetTitle(), 6, 3 );
|
dc.DrawText( win->GetTitle(), 6, 3 );
|
||||||
|
Loading…
Reference in New Issue
Block a user