Motif additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -146,7 +146,7 @@ wxWindowDC::wxWindowDC( wxWindow *window )
|
||||
|
||||
wxWindowDC::~wxWindowDC(void)
|
||||
{
|
||||
if ((m_oldFont != (WXFont) 0) && ((long) m_oldFont != -1))
|
||||
if (m_gc && (m_oldFont != (WXFont) 0) && ((long) m_oldFont != -1))
|
||||
{
|
||||
XSetFont ((Display*) m_display, (GC) m_gc, (Font) m_oldFont);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user