vertically centered miniframe close button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -105,7 +105,7 @@ static void gtk_window_own_expose_callback( GtkWidget *widget, GdkEventExpose *g
|
|||||||
dc.DrawText( win->GetTitle(), 6, 3 );
|
dc.DrawText( win->GetTitle(), 6, 3 );
|
||||||
|
|
||||||
if (style & wxCLOSE_BOX)
|
if (style & wxCLOSE_BOX)
|
||||||
dc.DrawBitmap( win->m_closeButton, win->m_width-19, 3, true );
|
dc.DrawBitmap( win->m_closeButton, win->m_width-19, 2, true );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user