Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -172,7 +172,7 @@ bool wxGenericDragImage::Create(const wxString& str, const wxCursor& cursor)
|
|||||||
{
|
{
|
||||||
wxFont font(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
|
wxFont font(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
|
||||||
|
|
||||||
long w = 0, h = 0;
|
wxCoord w = 0, h = 0;
|
||||||
wxScreenDC dc;
|
wxScreenDC dc;
|
||||||
dc.SetFont(font);
|
dc.SetFont(font);
|
||||||
dc.GetTextExtent(str, & w, & h);
|
dc.GetTextExtent(str, & w, & h);
|
||||||
|
Reference in New Issue
Block a user