VSTGUI 4.1 to 4.9 with VSTGUI_ENABLE_DEPRECATED_METHODS 1

A user interface toolkit mainly for audio plug-ins (VST, AudioUnit, etc).
Post Reply
Alex@SM
Posts: 1
Joined: Tue Jun 23, 2020 10:54 am

VSTGUI 4.1 to 4.9 with VSTGUI_ENABLE_DEPRECATED_METHODS 1

Post by Alex@SM »

I am switching from VSTGUI 4.1 to 4.9 without changing too much in code. However, the compilation of VSTGUI 4.9 with VSTGUI_ENABLE_DEPRECATED_METHODS 1 gives 2 errors:

aeffguieditor.cpp(91,34): error C2039: 'createDrawContext': is not a member of 'VSTGUI::CFrame'
aeffguieditor.cpp(136,75): error C2660: 'VSTGUI::CFrame::onWheel': function does not take 3 arguments

Does anyone know why it happens?
Thank you!

Later: Even without VSTGUI_ENABLE_DEPRECATED_METHODS the compilation of 4.9 produces so many errors.
What is the smooth path from VSTGUI 4.1 to 4.9?

Arne Scheffler
Posts: 354
Joined: Mon Jun 20, 2016 7:53 am

Re: VSTGUI 4.1 to 4.9 with VSTGUI_ENABLE_DEPRECATED_METHODS 1

Post by Arne Scheffler »

First to get this compiled with deprecation enabled you can just remove the code in AEffGUIEditor::draw and AEffGUIEditor::onWheel. This is not called anymore in modern hosts.
To get it compile with deprecations disabled you have to go thru this list : https://steinbergmedia.github.io/vst3_d ... de_changes

Post Reply