Border correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -465,11 +465,11 @@ wxRect wxStdRenderer::GetBorderDimensions(wxBorder border) const
|
|||||||
case wxBORDER_THEME:
|
case wxBORDER_THEME:
|
||||||
width = 2;
|
width = 2;
|
||||||
break;
|
break;
|
||||||
|
#if 0
|
||||||
case wxBORDER_DOUBLE:
|
case wxBORDER_DOUBLE:
|
||||||
width = 3;
|
width = 3;
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
default:
|
default:
|
||||||
wxFAIL_MSG(_T("unknown border type"));
|
wxFAIL_MSG(_T("unknown border type"));
|
||||||
// fall through
|
// fall through
|
||||||
@@ -696,7 +696,7 @@ void wxStdRenderer::DrawRadioButton(wxDC& dc,
|
|||||||
DrawCheckOrRadioButton(dc, label, bitmap, rect, flags, align, indexAccel);
|
DrawCheckOrRadioButton(dc, label, bitmap, rect, flags, align, indexAccel);
|
||||||
else
|
else
|
||||||
DrawCheckOrRadioButton(dc, label, GetRadioBitmap(flags), rect, flags, align, indexAccel);
|
DrawCheckOrRadioButton(dc, label, GetRadioBitmap(flags), rect, flags, align, indexAccel);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxStdRenderer::DrawCheckOrRadioButton(wxDC& dc,
|
void wxStdRenderer::DrawCheckOrRadioButton(wxDC& dc,
|
||||||
|
|||||||
Reference in New Issue
Block a user