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:
parent
30f1b5f3ef
commit
348675e1cc
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user