wxWidgets/include
Vadim Zeitlin 67bceedfda Get rid of m_searchButtonVisible and m_cancelButtonVisible
There doesn't seem to be any reason to have these flags, which duplicate
the visibility state of m_searchButton and m_cancelButton respectively.

Also update the buttons visibility immediately in ShowSearchButton() and
ShowCancelButton() instead of doing it in LayoutControls() as before,
which was confusing as laying out is not supposed to show/hide anything.

Finally, return true, not false, from IsSearchButtonVisible() if the
button is actually visible because there is an associated menu, even if
ShowSearchButton(false) had been called. This seems more logical and
makes the code simpler, but we need to check whether the native Mac
version also behaves like this or not.

No other changes in behaviour.
2018-07-09 17:12:02 +02:00
..
msvc/wx Factor out WXUSINGDLL check in MSVC-specific wx/setup.h 2018-05-31 01:21:20 +02:00
wx Get rid of m_searchButtonVisible and m_cancelButtonVisible 2018-07-09 17:12:02 +02:00