X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0757d27c1ef472cda74b1a35fd19938e5936e965..520e470fdd0daef09c77938db642e4583933c90d:/src/common/tbarbase.cpp diff --git a/src/common/tbarbase.cpp b/src/common/tbarbase.cpp index 1eff810ba0..dedda6cf6b 100644 --- a/src/common/tbarbase.cpp +++ b/src/common/tbarbase.cpp @@ -29,7 +29,7 @@ #include #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 @@ -732,7 +732,7 @@ void wxToolBarBase::DoToolbarUpdates(void) #ifdef __WXMSW__ // Circumvent wxControl::MSWOnMouseMove which doesn't set the cursor. -void wxToolBarBase::MSWOnMouseMove(int x, int y, const WXUINT flags) +void wxToolBarBase::MSWOnMouseMove(int x, int y, WXUINT flags) { wxWindow::MSWOnMouseMove(x, y, flags); }