if ( m_font.Ok() )
{
- wxNativeFontInfo *info = m_font.GetNativeFontInfo();
+ const wxNativeFontInfo *info = m_font.GetNativeFontInfo();
if ( info )
{
- delete info;
-
wxString fontDesc = m_font.GetNativeFontInfoUserDesc();
fontInfo.Printf(wxT("Native font info: %s"), fontDesc.c_str());
}
// draw the lines between them
- dc.SetPen(wxPen(wxColour("blue"), 1, wxSOLID));
+ dc.SetPen(wxPen(wxColour(_T("blue")), 1, wxSOLID));
int l;
// horizontal