]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/dcmemory.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / dfb / dcmemory.cpp
index bb9171db678b6664bc5e82e0da41ffaa4e25bc14..5ab26cb37f844ac3105b34effb26e99566f35217 100644 (file)
@@ -39,7 +39,7 @@
 
 IMPLEMENT_DYNAMIC_CLASS(wxMemoryDC, wxDC)
 
-wxMemoryDC::wxMemoryDC()
+void wxMemoryDC::Init()
 {
 }
 
@@ -47,7 +47,7 @@ wxMemoryDC::wxMemoryDC(wxDC *WXUNUSED(dc))
 {
 }
 
-void wxMemoryDC::SelectObject(const wxBitmap& bitmap)
+void wxMemoryDC::DoSelect(const wxBitmap& bitmap)
 {
     m_bmp = bitmap;
 
@@ -59,5 +59,5 @@ void wxMemoryDC::SelectObject(const wxBitmap& bitmap)
     }
 
     // init the DC for drawing to this bitmap
-    Init(bitmap.GetDirectFBSurface());
+    DFBInit(bitmap.GetDirectFBSurface());
 }