]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/tbarbase.cpp
no message
[wxWidgets.git] / src / common / tbarbase.cpp
index aac6b6ae94e46e1ca96cfbe751d5201a5524e0d1..dedda6cf6b9a9e6966d79da50b7b8e6370a5b67d 100644 (file)
@@ -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