X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/906c935a80b10d53cecf57f71ab5f3f4f1d529ec..96c9640205933ad0673d5af2c96af0816c50160c:/src/msw/statusbar.cpp?ds=inline diff --git a/src/msw/statusbar.cpp b/src/msw/statusbar.cpp index a63dcc4fb6..f4284ab52d 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