git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37308
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#if wxUSE_TOOLBOOK
#include "wx/imaglist.h"
-#include "wx/icon.h"
#include "wx/toolbar.h"
#include "wx/toolbook.h"
#include "wx/settings.h"
#include "wx/sysopt.h"
+#ifndef WX_PRECOMP
+ #include "wx/icon.h"
+#endif
+
// ----------------------------------------------------------------------------
// various wxWidgets macros
// ----------------------------------------------------------------------------
// change wasn't allowed, return to previous state
if (m_selection != selNew)
+ {
GetToolBar()->ToggleTool(m_selection, false);
+ }
}
#endif // wxUSE_TOOLBOOK