]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dcmemory.cpp
added wxWindow::HandleAsNavigationKey() helper for handling (not only) TAB key in...
[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) )