Move wxTipWindow members used only by wxTipWindowView there

No real changes, just move m_textLines and m_heightLine from wxTipWindow
to wxTipWindowView as they were only used by the latter and so can just
as well be its members.

Also use this as an opportunity to replace wxArrayString with wxVector.
This commit is contained in:
Vadim Zeitlin
2020-07-10 02:22:30 +02:00
parent c6d1a851da
commit 01b0a50f8f
2 changed files with 18 additions and 16 deletions

View File

@@ -16,8 +16,6 @@
#include "wx/popupwin.h"
#include "wx/arrstr.h"
class WXDLLIMPEXP_FWD_CORE wxTipWindowView;
// ----------------------------------------------------------------------------
@@ -65,9 +63,6 @@ protected:
virtual void OnDismiss() wxOVERRIDE;
private:
wxArrayString m_textLines;
wxCoord m_heightLine;
wxTipWindowView *m_view;
wxTipWindow** m_windowPtr;