X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3cd0b8c5b5a320bba065c4da306be3687d144157..f5698096606b5a3d399018a20135f41d5ba05215:/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;