Return value of the proper type

Returned value should be the same type like the memeber variable.
This commit is contained in:
Artur Wieczorek
2020-04-05 22:06:00 +02:00
parent 810c1be640
commit 1dc0c777ae

View File

@@ -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