I did try that in a top level header file, but then got told I needed to put class in front of all Button references so it’s still same amount of effort - at the end of the day, it’s not a big deal as I can just global replace all buttonClicked methods
However, it does make me think I’m just doing something wrong here?
I’ve copied juce_StandaloneFilterApp.cpp to my own class so I can have all its functionality but have my own initialise call. it’s all the header files at the beginning of this file that I’m including (which are obviously all needed) that is causing this problem to happen. Maybe there’s a better way to be going about replacing initialise() than this? Though from reading other posts, creating my own JUCEApplication class is the way to do.