]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dragimag.cpp
compilation fix for PCH-less compilation after the last change
[wxWidgets.git] / src / msw / dragimag.cpp
index 4f42ad81d99ef53768300cbfffeeb7e41fdc7354..0f1aa1ebb7bea02c10b231fd22921d658386e0c6 100644 (file)
@@ -218,7 +218,7 @@ bool wxDragImage::Create(const wxString& str, const wxCursor& cursor)
 
     dc2.SetBackground(* wxWHITE_BRUSH);
     dc2.Clear();
-    dc2.SetBackgroundMode(wxTRANSPARENT);
+    dc2.SetBackgroundMode(wxBRUSHSTYLE_TRANSPARENT);
     dc2.SetTextForeground(* wxLIGHT_GREY);
     dc2.DrawText(str, 0, 0);
     dc2.DrawText(str, 1, 0);