Very bad wxPrintData destructor... fixed typo.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Brian Macy 1999-03-31 23:01:10 +00:00
parent 30f1b5f3ef
commit 348675e1cc

View File

@ -203,16 +203,9 @@ wxPrintData::wxPrintData(const wxPrintData& printData)
wxPrintData::~wxPrintData()
{
#ifdef __WXMSW__
HGLOBAL hDevMode = (HGLOBAL) hDevMode;
HGLOBAL hDevMode = (HGLOBAL) m_devMode;
if (hDevMode )
GlobalFree(hDevMode);
/*
PRINTDLG *pd = (PRINTDLG *) m_printData;
if ( pd && pd->hDevMode )
GlobalFree(pd->hDevMode);
if ( pd )
delete pd;
*/
#endif
}