X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3cd0b8c5b5a320bba065c4da306be3687d144157..222702b112dcc7bebe018d6f4d66fe469fefd02c:/src/x11/dcmemory.cpp diff --git a/src/x11/dcmemory.cpp b/src/x11/dcmemory.cpp index 34cc5f0753..65affeed87 100644 --- a/src/x11/dcmemory.cpp +++ b/src/x11/dcmemory.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "dcmemory.h" #endif @@ -59,7 +59,7 @@ void wxMemoryDC::SelectObject( const wxBitmap& bitmap ) } else { -// m_window = m_selected.GetBitmap(); + m_window = m_selected.GetBitmap(); } m_isMemDC = TRUE;