]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/dcmemory.cpp
Separate label with wx mnemonics (&) and with gtk mnemonics (_) into m_text and m_gtk...
[wxWidgets.git] / src / dfb / dcmemory.cpp
index 4f274d960cec7c21a45b4ac534a31b529788234c..5c777710591294e0badaa1448005951e69cb9220 100644 (file)
@@ -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)
 {