X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4bc67cc550bcd9d5f93f88ae22a4f6ac7fafb5f7..77671fd2d684b066b96e210c132a017e82914e4d:/src/gtk1/dcmemory.cpp diff --git a/src/gtk1/dcmemory.cpp b/src/gtk1/dcmemory.cpp index e996334c00..6e6365b3ea 100644 --- a/src/gtk1/dcmemory.cpp +++ b/src/gtk1/dcmemory.cpp @@ -13,6 +13,9 @@ #include "wx/dcmemory.h" +#include "gdk/gdk.h" +#include "gtk/gtk.h" + //----------------------------------------------------------------------------- // wxMemoryDC //----------------------------------------------------------------------------- @@ -63,7 +66,7 @@ void wxMemoryDC::SelectObject( const wxBitmap& bitmap ) } } -void wxMemoryDC::GetSize( int *width, int *height ) const +void wxMemoryDC::DoGetSize( int *width, int *height ) const { if (m_selected.Ok()) {