X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1481968400c94128642815b6871724f118141cbc..76fa9e023cdc89c86f9d69c48410c29a69e49827:/src/gtk/minifram.cpp diff --git a/src/gtk/minifram.cpp b/src/gtk/minifram.cpp index b98eceb5e7..7cd36b9f85 100644 --- a/src/gtk/minifram.cpp +++ b/src/gtk/minifram.cpp @@ -16,17 +16,13 @@ #ifndef WX_PRECOMP #include "wx/settings.h" - #include "wx/dcscreen.h" + #include "wx/dcclient.h" + #include "wx/image.h" #endif -#include "gtk/gtk.h" #include "wx/gtk/win_gtk.h" #include "wx/gtk/private.h" -#include -#include -#include - //----------------------------------------------------------------------------- // data //----------------------------------------------------------------------------- @@ -103,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 );