Remove wxListBox::MacGetBlockEvents()

Just test m_blockEvents directly, there doesn't seem to be any gain in
using an accessor here.

Also test it only once instead of doing it twice in
MacHandleSelectionChange().
This commit is contained in:
Vadim Zeitlin
2018-06-30 23:14:36 +02:00
parent dde6f662fc
commit eadcd93bf9
2 changed files with 16 additions and 18 deletions

View File

@@ -122,8 +122,6 @@ public:
wxListWidgetImpl* GetListPeer() const;
bool MacGetBlockEvents() const { return m_blockEvents; }
virtual void HandleLineEvent( unsigned int n, bool doubleClick );
// This is called by wxNSTableView