oops, forgot default value for MemoryHDC ctor parameter

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-03-24 22:48:54 +00:00
parent 697b08a89a
commit 9cf743aa7f

View File

@@ -367,7 +367,7 @@ private:
class MemoryHDC
{
public:
MemoryHDC(HDC hdc) { m_hdc = ::CreateCompatibleDC(hdc); }
MemoryHDC(HDC hdc = 0) { m_hdc = ::CreateCompatibleDC(hdc); }
~MemoryHDC() { ::DeleteDC(m_hdc); }
operator HDC() const { return m_hdc; }