Page 1 of 1

VSTGUI 4.1 to 4.9 with VSTGUI_ENABLE_DEPRECATED_METHODS 1

Posted: Thu Jun 25, 2020 8:48 pm
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?

Re: VSTGUI 4.1 to 4.9 with VSTGUI_ENABLE_DEPRECATED_METHODS 1

Posted: Thu Jul 09, 2020 6:37 pm
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