X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..6a44bffd1ac68163e4c1cfe8aa8fe4f7f98a02e7:/src/msw/dragimag.cpp?ds=inline diff --git a/src/msw/dragimag.cpp b/src/msw/dragimag.cpp index 5a9c132e61..ababd9e7cd 100644 --- a/src/msw/dragimag.cpp +++ b/src/msw/dragimag.cpp @@ -28,7 +28,7 @@ #pragma hdrstop #endif -#if wxUSE_DRAGIMAG +#if wxUSE_DRAGIMAGE #if defined(__WIN95__) @@ -192,7 +192,7 @@ bool wxDragImage::Create(const wxIcon& image, const wxCursor& cursor) // Create a drag image from a string and optional cursor bool wxDragImage::Create(const wxString& str, const wxCursor& cursor) { - wxFont font(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT)); + wxFont font(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT)); long w, h; wxScreenDC dc; @@ -435,4 +435,4 @@ bool wxDragImage::Hide() #endif // __WIN95__ -#endif // wxUSE_DRAGIMAG +#endif // wxUSE_DRAGIMAGE