X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f65e33794fca0c936227235515a40e7df5c56e3..bd0df01f3f59940fdbca7a3472c256be2d034ab9:/src/gtk/dcmemory.cpp diff --git a/src/gtk/dcmemory.cpp b/src/gtk/dcmemory.cpp index e947cd2ca7..66c5549f52 100644 --- a/src/gtk/dcmemory.cpp +++ b/src/gtk/dcmemory.cpp @@ -51,6 +51,8 @@ void wxMemoryDC::SelectObject( const wxBitmap& bitmap ) } SetUpDC(); + + m_isDrawable = FALSE; } else { @@ -59,7 +61,7 @@ void wxMemoryDC::SelectObject( const wxBitmap& bitmap ) }; }; -void wxMemoryDC::GetSize( int *width, int *height ) +void wxMemoryDC::GetSize( int *width, int *height ) const { if (m_selected.Ok()) {