git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29368
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#endif
#ifndef WX_PRECOMP
#endif
#ifndef WX_PRECOMP
-#include "wx/font.h"
-#include "wx/intl.h"
+ #include "wx/font.h"
+ #include "wx/intl.h"
+ #include "wx/dcscreen.h"
#endif // WX_PRECOMP
#include "wx/gdicmn.h"
#endif // WX_PRECOMP
#include "wx/gdicmn.h"
return new wxFont(pixelSize, family, style, weight, underlined,
face, encoding);
#else
return new wxFont(pixelSize, family, style, weight, underlined,
face, encoding);
#else
- wxFont * ret = New(10, family, style, weight, underlined, face, encoding);
+ wxFont *self = New(10, family, style, weight, underlined, face, encoding);
- ret->AdjustFontSize(*(wxFont *)this, dc, pixelSize);
- return ret;
+ AdjustFontSize(*(wxFont *)self, dc, pixelSize);
+ return self;