Could ListBoxModel::backgroundClicked() get a MouseEvent parameter?


#1

The title says it all. I'd like to be able to catch an isPopupMenu() if the background of a ListBoxModel is clicked.

Kinds regards,

Stijn


#2

Yeah... I guess so..

The argument against it is just that it'd be a pain for anyone who's already used that method, as they'd get a compile error and have to update their code, but I suppose it's not going to be used in a huge number of places. I'll have a think about it..


#3

Ah, thanks for the reply.

I did a quick search just now and see more people have asked for this (sorry about the double post!). I can see the sense in not wanting to break code, though.

In the end it's up to you :)