X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/66a09d4776b8ae390d5aa51dbd678b694f2c81d6..ca4532668cad0441baf03cfe509d3acb84a15edd:/src/mac/dcmemory.cpp diff --git a/src/mac/dcmemory.cpp b/src/mac/dcmemory.cpp index 9985a00b9e..5e3f603ce8 100644 --- a/src/mac/dcmemory.cpp +++ b/src/mac/dcmemory.cpp @@ -23,6 +23,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxMemoryDC,wxPaintDC) wxMemoryDC::wxMemoryDC(void) + : m_selected() { m_ok = TRUE; SetBackground(*wxWHITE_BRUSH); @@ -32,8 +33,9 @@ wxMemoryDC::wxMemoryDC(void) }; wxMemoryDC::wxMemoryDC( wxDC *WXUNUSED(dc) ) + : m_selected() { - m_ok = TRUE; + m_ok = TRUE; SetBackground(*wxWHITE_BRUSH); SetBrush(*wxWHITE_BRUSH); SetPen(*wxBLACK_PEN);