X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/603f702b4a0e19ffa27cffc52872efaac1aa8c54..eea4d01c65f9b29baa1193db762b4c6b8144af24:/src/richtext/richtextsizepage.cpp diff --git a/src/richtext/richtextsizepage.cpp b/src/richtext/richtextsizepage.cpp index 33a4b051b4..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: @@ -9,20 +9,6 @@ // Licence: ///////////////////////////////////////////////////////////////////////////// -// For compilers that support precompilation, includes "wx/wx.h". -#include "wx/wxprec.h" - -#ifdef __BORLANDC__ -#pragma hdrstop -#endif - -#ifndef WX_PRECOMP -#include "wx/wx.h" -#endif - -////@begin includes -////@end includes - #include "wx/richtext/richtextsizepage.h" ////@begin XPM images @@ -230,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.")); @@ -256,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."));