It must be tested with #ifdef, not #if.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72626
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
widths.Empty();
wxCHECK_RET( !m_font.IsNull(), wxT("wxCairoContext::GetPartialTextExtents - no valid font set") );
{
widths.Empty();
wxCHECK_RET( !m_font.IsNull(), wxT("wxCairoContext::GetPartialTextExtents - no valid font set") );
const wxCharBuffer data = text.utf8_str();
int w = 0;
if (data.length())
const wxCharBuffer data = text.utf8_str();
int w = 0;
if (data.length())