Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -747,11 +747,9 @@ void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) )
|
|||||||
|
|
||||||
if ( m_font.Ok() )
|
if ( m_font.Ok() )
|
||||||
{
|
{
|
||||||
wxNativeFontInfo *info = m_font.GetNativeFontInfo();
|
const wxNativeFontInfo *info = m_font.GetNativeFontInfo();
|
||||||
if ( info )
|
if ( info )
|
||||||
{
|
{
|
||||||
delete info;
|
|
||||||
|
|
||||||
wxString fontDesc = m_font.GetNativeFontInfoUserDesc();
|
wxString fontDesc = m_font.GetNativeFontInfoUserDesc();
|
||||||
fontInfo.Printf(wxT("Native font info: %s"), fontDesc.c_str());
|
fontInfo.Printf(wxT("Native font info: %s"), fontDesc.c_str());
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user