]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dragimag.cpp
Compilation fir for VC6 after r73124.
[wxWidgets.git] / src / msw / dragimag.cpp
index 17cad733bb91cab42e0df1e77130095a2e9f2226..067d67608df63d181fedcc7ef80f9412582861e5 100644 (file)
@@ -413,7 +413,7 @@ bool wxDragImage::BeginDrag(const wxPoint& hotspot, wxWindow* window, wxWindow*
 
     wxSize sz = fullScreenRect->GetSize();
 
-    if (fullScreenRect->GetParent() && !fullScreenRect->IsKindOf(CLASSINFO(wxFrame)))
+    if (fullScreenRect->GetParent() && !wxDynamicCast(fullScreenRect, wxFrame))
         fullScreenRect->GetParent()->ClientToScreen(& x, & y);
 
     rect.x = x; rect.y = y;