Make wxControlBase::DoEllipsizeSingleLine() private function

This function doesn't need to be a method of wxControl, so don't make it
one.

No real changes, just improve the encapsulation.
This commit is contained in:
Vadim Zeitlin
2019-06-20 01:44:27 +02:00
parent 8fcedbed7b
commit 05627cf54c
2 changed files with 6 additions and 11 deletions

View File

@@ -178,11 +178,6 @@ protected:
// initialize the common fields of wxCommandEvent
void InitCommandEvent(wxCommandEvent& event) const;
// Ellipsize() helper:
static wxString DoEllipsizeSingleLine(const wxString& label, const wxDC& dc,
wxEllipsizeMode mode, int maxWidth,
int replacementWidth);
#if wxUSE_MARKUP
// Remove markup from the given string, returns empty string on error i.e.
// if markup was syntactically invalid.