X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a624f6ed375e4dbf126743ff1068486cb5241a2..17d98558b35b75e3cad68d96841b4fa5a0c7e6ee:/src/dfb/dcmemory.cpp?ds=sidebyside 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) {