]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dcmemory.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / gtk / dcmemory.cpp
index 2a0d2687cbb66880cb396e90fe842046b26f1fa7..3c22ca1fc19b2e57293b8c105de6fdb9576d6c2a 100644 (file)
@@ -32,7 +32,7 @@ wxMemoryDCImpl::wxMemoryDCImpl( wxMemoryDC *owner, wxBitmap& bitmap)
   : wxWindowDCImpl( owner )
 { 
     Init(); 
-    owner->SelectObject(bitmap); 
+    DoSelect(bitmap); 
 }
 
 wxMemoryDCImpl::wxMemoryDCImpl( wxMemoryDC *owner, wxDC *WXUNUSED(dc) )