Move wxListBox selection event generation to wxListBox itself
This allows to avoid making DoChangeSingleSelection() and CalcAndSendEvent() public. No real changes, this is just a refactoring.
This commit is contained in:
@@ -126,10 +126,8 @@ public:
|
||||
|
||||
virtual void HandleLineEvent( unsigned int n, bool doubleClick );
|
||||
|
||||
// These are called by wxNSTableView
|
||||
using wxListBoxBase::DoChangeSingleSelection;
|
||||
using wxListBoxBase::CalcAndSendEvent;
|
||||
int GetOldSelection() const { return m_oldSelections.empty() ? wxNOT_FOUND : m_oldSelections[0]; }
|
||||
// This is called by wxNSTableView
|
||||
void MacHandleSelectionChange(int row);
|
||||
|
||||
protected:
|
||||
// callback for derived classes which may have to insert additional data
|
||||
|
Reference in New Issue
Block a user