IPlatformFont issue when upgrading VSTGUI4.0->4.6

Hi Arne,

there’s an include for IPlatformFont in cfontwin32.h, which is included in cfontwin32.cpp, which is included in vstgui_win32.cpp, so I don’t think that’s the problem. Here is the relevant compiler output.

1>c:<projectfolder>\vstgui4\lib\vstguibase.h(407): error C2027: use of undefined type ‘VSTGUI::IPlatformFont’
1>c:\u\vstgui4\lib\vstguifwd.h(207): note: see declaration of ‘VSTGUI::IPlatformFont’
1>c:<projectfolder>\vstgui4\lib\vstguibase.h(405): note: while compiling class template member function ‘VSTGUI::SharedPointerVSTGUI::IPlatformFont::~SharedPointer(void) noexcept’
1>c:<projectfolder><product>\source\wsplashwnd.h(37): note: see reference to function template instantiation ‘VSTGUI::SharedPointerVSTGUI::IPlatformFont::~SharedPointer(void) noexcept’ being compiled
1>c:<projectfolder>\vstgui4\lib\cfont.h(69): note: see reference to class template instantiation ‘VSTGUI::SharedPointerVSTGUI::IPlatformFont’ being compiled

Best regards,
Andreas