]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/dcmemory.h
Make wxRichTextCtrl again buildable on WinCE.
[wxWidgets.git] / include / wx / dfb / dcmemory.h
index afe7fcf12f80240089df0c8f0bcbd0a230f3ae2e..86ce650a72be3e07e83c961c1e3c598012dfd0f5 100644 (file)
 class WXDLLIMPEXP_CORE wxMemoryDC : public wxDC
 {
 public:
-    wxMemoryDC();
+    wxMemoryDC( const wxBitmap& bitmap = wxNullBitmap );
     wxMemoryDC(wxDC *dc); // create compatible DC
 
     virtual void SelectObject(const wxBitmap& bitmap);
 
+    // implementation from now on:
+
+    wxBitmap GetSelectedObject() const { return m_bmp; }
+
+private:
+    wxBitmap m_bmp;
+
     DECLARE_DYNAMIC_CLASS(wxMemoryDC)
 };