X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a624f6ed375e4dbf126743ff1068486cb5241a2..8d5016b18bfaee2f1694e386a7dff89868a03b6d:/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) {