IJ Generates Deprecated Listeners


#1

The Introjucer seems to be generating deprecated listeners.

For example, if you add a ComboBox to your Component, it adds public ComboBoxListener. The definition for ComboBoxListener is a typedef that states:

/** This typedef is just for compatibility with old code - newer code should use the ComboBox::Listener class directly. */ typedef ComboBox::Listener ComboBoxListener;


#2

Yeah iirc it’s there because otherwise it wouldn’t compile on Visual Studio 2005.

Probably can be removed now (I really hope no-one’s using VS2005 anymore!!!)


#3

Speaking of which: https://github.com/julianstorer/JUCE/blob/master/modules/juce_gui_basics/widgets/juce_ComboBox.cpp#L632


#4

Yeah, exactly that. We will tidy that up.