X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a624f6ed375e4dbf126743ff1068486cb5241a2..ceef3893cb12d80e679d4b619fb086529a36c2a8:/src/dfb/dcmemory.cpp diff --git a/src/dfb/dcmemory.cpp b/src/dfb/dcmemory.cpp index 4f274d960c..5c77771059 100644 --- a/src/dfb/dcmemory.cpp +++ b/src/dfb/dcmemory.cpp @@ -23,6 +23,7 @@ #include "wx/bitmap.h" #endif +#include "wx/dcmemory.h" #include "wx/dfb/dcmemory.h" #include "wx/dfb/private.h" @@ -42,6 +43,19 @@ void wxMemoryDCImpl::Init() { } +wxMemoryDCImpl::wxMemoryDCImpl(wxMemoryDC *owner) + : wxDFBDCImpl(owner) +{ + Init(); +} + +wxMemoryDCImpl::wxMemoryDCImpl(wxMemoryDC *owner, wxBitmap& bitmap) + : wxDFBDCImpl(owner) +{ + Init(); + DoSelect(bitmap); +} + wxMemoryDCImpl::wxMemoryDCImpl(wxMemoryDC *owner, wxDC *WXUNUSED(dc)) : wxDFBDCImpl(owner) {