X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/208f99c3e398e7ddf95016fff5e67883714fff54..07aaf32633ecf18ec3edfbb41793a112914792d0:/src/msw/statusbar.cpp diff --git a/src/msw/statusbar.cpp b/src/msw/statusbar.cpp index e694abf247..c2767b34df 100644 --- a/src/msw/statusbar.cpp +++ b/src/msw/statusbar.cpp @@ -153,11 +153,13 @@ wxStatusBar::~wxStatusBar() // occupy PostSizeEventToParent(); +#if wxUSE_TOOLTIPS // delete existing tooltips for (size_t i=0; i 0) && (nFields < 255), "too many fields" ); - wxStatusBarBase::SetFieldsCount(nFields, widths); - - MSWUpdateFieldsWidths(); - // keep in synch also our m_tooltips array +#if wxUSE_TOOLTIPS // reset all current tooltips for (size_t i=0; i