]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/dcmemory.cpp
XPM updates
[wxWidgets.git] / src / gtk1 / dcmemory.cpp
index 95bf5b9a8a7bd11d0e2dea3d69f6a3da72040a8b..a1e0c244522876fd6e6ce37b46803511e5f8f31a 100644 (file)
@@ -56,9 +56,9 @@ void wxMemoryDC::SelectObject( const wxBitmap& bitmap )
             m_window = m_selected.GetBitmap();
         }
 
-        SetUpDC();
-
         m_isMemDC = TRUE;
+
+        SetUpDC();
     }
     else
     {