Index: src/ch/MemDC.h =================================================================== diff -u -N -rc435ab507c8b8280264188b49e9ada56d46c0261 -r3432ca77e8f6d67bf0de4e0dfa36cf89705ae853 --- src/ch/MemDC.h (.../MemDC.h) (revision c435ab507c8b8280264188b49e9ada56d46c0261) +++ src/ch/MemDC.h (.../MemDC.h) (revision 3432ca77e8f6d67bf0de4e0dfa36cf89705ae853) @@ -49,7 +49,6 @@ class CMemDC : public CDC { public: - // constructor sets up the memory DC CMemDC(CDC* pDC, LPCRECT lpSrcRect) : CDC() { @@ -97,10 +96,10 @@ private: CBitmap m_bitmap; // Offscreen bitmap - CBitmap* m_pOldBitmap; // bitmap originally found in BCMenuMemDC - CDC* m_pDC; // Saves CDC passed in constructor + CBitmap* m_pOldBitmap = nullptr; // bitmap originally found in BCMenuMemDC + CDC* m_pDC = nullptr; // Saves CDC passed in constructor CRect m_rect; // Rectangle of drawing area. - BOOL m_bMemDC; // TRUE if CDC really is a Memory DC. + BOOL m_bMemDC = FALSE; // TRUE if CDC really is a Memory DC. }; #endif \ No newline at end of file