git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35543
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxWindowDC::~wxWindowDC()
{
wxWindowDC::~wxWindowDC()
{
- if (m_gc && (m_oldFont != (WXFont) 0) && ((long) m_oldFont != -1))
{
XSetFont ((Display*) m_display, (GC) m_gc, (Font) m_oldFont);
{
XSetFont ((Display*) m_display, (GC) m_gc, (Font) m_oldFont);
- if ((m_oldFont != (WXFont) 0) && ((wxCoord) m_oldFont != -1))
{
XSetFont ((Display*) m_display, (GC) m_gc, (Font) m_oldFont);
{
XSetFont ((Display*) m_display, (GC) m_gc, (Font) m_oldFont);