X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/917b00857982f2ca7247a9785c11a6a1d7e01943..404b319a85dadd7decf7a5a5331020520031a41c:/src/msw/statusbar.cpp diff --git a/src/msw/statusbar.cpp b/src/msw/statusbar.cpp index a63dcc4fb6..321df1bb05 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