Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
cfddeb1067
commit
0bc58f9580
@ -404,7 +404,7 @@ void wxRichTextFontPreviewCtrl::OnPaint(wxPaintEvent& WXUNUSED(event))
|
|||||||
{
|
{
|
||||||
dc.SetFont(font);
|
dc.SetFont(font);
|
||||||
// Calculate vertical and horizontal centre
|
// Calculate vertical and horizontal centre
|
||||||
long w = 0, h = 0;
|
wxCoord w = 0, h = 0;
|
||||||
|
|
||||||
wxString text(_("ABCDEFGabcdefg12345"));
|
wxString text(_("ABCDEFGabcdefg12345"));
|
||||||
if (GetTextEffects() & wxTEXT_ATTR_EFFECT_CAPITALS)
|
if (GetTextEffects() & wxTEXT_ATTR_EFFECT_CAPITALS)
|
||||||
|
Loading…
Reference in New Issue
Block a user