X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/debe6624c1e9d4bf3243381153d1e173c849bcd8..401ec7b639629b0c316f84b26d52897829dcf609:/src/common/tbarbase.cpp?ds=sidebyside diff --git a/src/common/tbarbase.cpp b/src/common/tbarbase.cpp index 60de3c71a3..b7322ac3f9 100644 --- a/src/common/tbarbase.cpp +++ b/src/common/tbarbase.cpp @@ -25,7 +25,7 @@ #endif // For ::UpdateWindow -#ifdef __WINDOWS__ +#ifdef __WXMSW__ #include #endif @@ -500,7 +500,7 @@ void wxToolBarBase::SetScrollbars (int pixelsPerUnitX, int pixelsPerUnitY, } AdjustScrollbars(); Refresh(); -#ifdef __WINDOWS__ +#ifdef __WXMSW__ ::UpdateWindow ((HWND) GetHWND()); #endif } @@ -755,7 +755,7 @@ void wxToolBarBase::Scroll (int x_pos, int y_pos) SetScrollPos (wxVERTICAL, y_pos, TRUE); } Refresh(); -#ifdef __WINDOWS__ +#ifdef __WXMSW__ UpdateWindow ((HWND) GetHWND()); #endif } @@ -827,7 +827,7 @@ void wxToolBarBase::DoToolbarUpdates(void) } } -#ifdef __WINDOWS__ +#ifdef __WXMSW__ // Circumvent wxControl::MSWOnMouseMove which doesn't set the cursor. void wxToolBarBase::MSWOnMouseMove(int x, int y, const WXUINT flags) {