]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dragimgg.cpp
Use the current font for the DoGetBestSize calculation
[wxWidgets.git] / src / generic / dragimgg.cpp
index fe3fe5574cecd13f1b2aae019e47b2176810ddb2..ddc94cc7c5fe433212ff49f41ba1795a01a595ed 100644 (file)
@@ -220,7 +220,7 @@ bool wxGenericDragImage::BeginDrag(const wxPoint& hotspot,
     // dragged.
 
     wxSize clientSize;
     // dragged.
 
     wxSize clientSize;
-    wxPoint pt(0, 0);
+    wxPoint pt;
     if (!m_fullScreen)
     {
         clientSize = window->GetClientSize();
     if (!m_fullScreen)
     {
         clientSize = window->GetClientSize();