Lines Matching refs:widthMax
57 void Wrap(wxWindow *win, const wxString& text, int widthMax);
129 void wxTextWrapper::Wrap(wxWindow *win, const wxString& text, int widthMax)
160 if ( widthMax >= 0 && lastSpace )
165 if ( width > widthMax )
190 wxSizer *CreateSizer(const wxString& text, int widthMax)
193 Wrap(m_win, text, widthMax);
223 int widthMax = -1;
227 widthMax = wxSystemSettings::GetMetric( wxSYS_SCREEN_X ) - 25;
238 return wrapper.CreateSizer(text, widthMax);
244 void WrapLabel(wxWindow *text, int widthMax)
247 Wrap(text, text->GetLabel(), widthMax);