I’ve got my vst2wrapper-wrapped plugin working now, but in Cubase and Nuendo (64-bit or 32-bit, PC), it is not showing any graphics. The plug-in window is sized correctly, and it responds to mouse movements (like turning the gain up and down), but in Cubase (7,7.5,8,8.5) and Nuendo (6.5) the plugin window is just white. It shows properly in other hosts (Audition,Fruity Loops, Studio One, Digital Performer, SONAR Platinum), just not in the Steinberg products.
This is with VST3 SDK v3.6.6 and VSTGUI 4.3. The VST3 version of this same plug-in works fine in Cubase/Nuendo.
When debugging, my views never get any draw() calls made to them, not even the top level view (a CViewContainer). The controller seems to be initialized properly, as does the sub-controller.
One strange thing, though, is that createView() is called twice. Is that normal? Could that be the problem? One of the calls is from hasEditor(). I see that it first checks the value of gPluginHasEditor is set to either kEditor or kNoEditor. Should vst2wrapper-wrapped controllers be setting that flag in the initialize() function?