1. replaced wxRenderer::AdjustScrollbar with AreScrollbarsInsideBorder(),

it now seems to work with GTK theme too
2. added checkbox bitmaps drawing under GTK


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-09-08 14:34:12 +00:00
parent 925f7f2250
commit a10069108f
9 changed files with 157 additions and 112 deletions

View File

@@ -30,7 +30,7 @@
#if wxUSE_CHECKBOX
#ifndef WX_PRECOMP
#include "wx/dc.h"
#include "wx/dcclient.h"
#include "wx/checkbox.h"
#include "wx/validate.h"
#endif
@@ -134,7 +134,7 @@ void wxCheckBox::DoDraw(wxControlRenderer *renderer)
wxSize wxCheckBox::DoGetBestClientSize() const
{
wxClientDC dc(wxConstCast(this, wxButton));
wxClientDC dc(wxConstCast(this, wxCheckBox));
wxCoord width, height;
dc.GetMultiLineTextExtent(GetLabel(), &width, &height);