Added wxEvtHandler::Disconect()
Added wxToolBar::DeleteTool() Removed the WXWIN_COMP... defines from the common setup.h Some tests, git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1380,6 +1380,16 @@ public:
|
||||
wxObject *userData = (wxObject *) NULL )
|
||||
{ Connect(id, -1, eventType, func, userData); }
|
||||
|
||||
bool Disconnect( int id, int lastId = -1, wxEventType eventType = wxEVT_NULL,
|
||||
wxObjectEventFunction func = NULL,
|
||||
wxObject *userData = (wxObject *) NULL );
|
||||
|
||||
// Convenience function: take just one id
|
||||
bool Disconnect( int id, wxEventType eventType = wxEVT_NULL,
|
||||
wxObjectEventFunction func = NULL,
|
||||
wxObject *userData = (wxObject *) NULL )
|
||||
{ return Disconnect(id, -1, eventType, func, userData); }
|
||||
|
||||
// implementation from now on
|
||||
virtual bool SearchEventTable(wxEventTable& table, wxEvent& event);
|
||||
bool SearchDynamicEventTable( wxEvent& event );
|
||||
|
Reference in New Issue
Block a user