USE_xxx constants renamed to wxUSE_xxx. This is an incompatible change, you
must recompile everything after upgrading! git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#if USE_TOOLBAR
|
||||
#if wxUSE_TOOLBAR
|
||||
|
||||
#include "wx/tbarbase.h"
|
||||
|
||||
@@ -615,7 +615,7 @@ void wxToolBarBase::AdjustScrollbars(void)
|
||||
// Default OnSize resets scrollbars, if any
|
||||
void wxToolBarBase::OnSize(wxSizeEvent& event)
|
||||
{
|
||||
#if USE_CONSTRAINTS
|
||||
#if wxUSE_CONSTRAINTS
|
||||
if (GetAutoLayout())
|
||||
Layout();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user