X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3cd6c6d22f9e8639752a2902366d6957f152be0..eea4d01c65f9b29baa1193db762b4c6b8144af24:/src/richtext/richtextsizepage.cpp?ds=sidebyside diff --git a/src/richtext/richtextsizepage.cpp b/src/richtext/richtextsizepage.cpp index 665adf11fa..5425a95bfd 100644 --- a/src/richtext/richtextsizepage.cpp +++ b/src/richtext/richtextsizepage.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: richtextsizepage.cpp +// Name: src/richtext/richtextsizepage.cpp // Purpose: // Author: Julian Smart // Modified by: @@ -216,6 +216,7 @@ void wxRichTextSizePage::CreateControls() wxArrayString m_unitsWStrings; m_unitsWStrings.Add(_("px")); m_unitsWStrings.Add(_("cm")); + m_unitsWStrings.Add(_("percent")); m_unitsW = new wxComboBox( itemRichTextDialogPage1, ID_RICHTEXT_UNITS_W, _("px"), wxDefaultPosition, wxSize(60, -1), m_unitsWStrings, wxCB_READONLY ); m_unitsW->SetStringSelection(_("px")); m_unitsW->SetHelpText(_("Units for the object width.")); @@ -242,6 +243,7 @@ void wxRichTextSizePage::CreateControls() wxArrayString m_unitsHStrings; m_unitsHStrings.Add(_("px")); m_unitsHStrings.Add(_("cm")); + m_unitsHStrings.Add(_("percent")); m_unitsH = new wxComboBox( itemRichTextDialogPage1, ID_RICHTEXT_UNITS_H, _("px"), wxDefaultPosition, wxSize(60, -1), m_unitsHStrings, wxCB_READONLY ); m_unitsH->SetStringSelection(_("px")); m_unitsH->SetHelpText(_("Units for the object height."));