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:
parent
8fcedbed7b
commit
05627cf54c
2 changed files with 6 additions and 11 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue