added appropriate WX_PRECOMP bracket for new include statement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -19,12 +19,15 @@
|
||||
#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
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -395,7 +398,9 @@ void wxToolbook::OnToolSelected(wxCommandEvent& event)
|
||||
|
||||
// change wasn't allowed, return to previous state
|
||||
if (m_selection != selNew)
|
||||
{
|
||||
GetToolBar()->ToggleTool(m_selection, false);
|
||||
}
|
||||
}
|
||||
|
||||
#endif // wxUSE_TOOLBOOK
|
||||
|
Reference in New Issue
Block a user