From 1dc0c777ae907e9ba853cc6528414c27815b65bb Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Sun, 5 Apr 2020 22:06:00 +0200 Subject: [PATCH] Return value of the proper type Returned value should be the same type like the memeber variable. --- src/msw/graphicsd2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/graphicsd2d.cpp b/src/msw/graphicsd2d.cpp index 6a74b3c0a1..7ad74fc4e2 100644 --- a/src/msw/graphicsd2d.cpp +++ b/src/msw/graphicsd2d.cpp @@ -492,7 +492,7 @@ public: return ms_isInitialized; } - static unsigned int SetFontList(const wxArrayString& list) + static wxDirect2DFontKey SetFontList(const wxArrayString& list) { ms_fontList = list; // Every time font collection is changed, generate unique key