projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30f1b5f
)
Very bad wxPrintData destructor... fixed typo.
author
Brian Macy
<nobody@localhost>
Wed, 31 Mar 1999 23:01:10 +0000
(23:01 +0000)
committer
Brian Macy
<nobody@localhost>
Wed, 31 Mar 1999 23:01:10 +0000
(23:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2018
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/cmndata.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/cmndata.cpp
b/src/common/cmndata.cpp
index 14f157d3fe25e71e0ad00f68f2f63eba211b9d2f..3510acc06fa1ac30f49c2682482851946e36e013 100644
(file)
--- a/
src/common/cmndata.cpp
+++ b/
src/common/cmndata.cpp
@@
-203,16
+203,9
@@
wxPrintData::wxPrintData(const wxPrintData& printData)
wxPrintData::~wxPrintData()
{
#ifdef __WXMSW__
- HGLOBAL hDevMode = (HGLOBAL)
hD
evMode;
+ HGLOBAL hDevMode = (HGLOBAL)
m_d
evMode;
if (hDevMode )
GlobalFree(hDevMode);
- /*
- PRINTDLG *pd = (PRINTDLG *) m_printData;
- if ( pd && pd->hDevMode )
- GlobalFree(pd->hDevMode);
- if ( pd )
- delete pd;
- */
#endif
}