fixes to toolbar, seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -74,9 +74,7 @@ bool wxToolBarToolBase::Enable(bool enable)
|
||||
|
||||
bool wxToolBarToolBase::Toggle(bool toggle)
|
||||
{
|
||||
// wxUniv toolbar toggles even non-checkable tools temporarily - should we
|
||||
// change the code there or just allow doing it?
|
||||
//wxASSERT_MSG( m_isToggle, _T("can't toggle this tool") );
|
||||
wxASSERT_MSG( m_isToggle, _T("can't toggle this tool") );
|
||||
|
||||
if ( m_toggled == toggle )
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user