+ itemBoxSizer56->Add(m_moveObjectParentSizer, 0, wxALIGN_TOP, 5);
+
+ wxBoxSizer* itemBoxSizer59 = new wxBoxSizer(wxHORIZONTAL);
+ m_moveObjectParentSizer->Add(itemBoxSizer59, 0, wxALIGN_LEFT, 5);
+
+ wxStaticText* itemStaticText60 = new wxStaticText( itemRichTextDialogPage1, wxID_STATIC, _("&Position mode:"), wxDefaultPosition, wxDefaultSize, 0 );
+ itemBoxSizer59->Add(itemStaticText60, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
+
+ wxArrayString m_positionModeCtrlStrings;
+ m_positionModeCtrlStrings.Add(_("Static"));
+ m_positionModeCtrlStrings.Add(_("Relative"));
+ m_positionModeCtrlStrings.Add(_("Absolute"));
+ m_positionModeCtrlStrings.Add(_("Fixed"));
+ m_positionModeCtrl = new wxComboBox( itemRichTextDialogPage1, ID_RICHTEXT_POSITION_MODE, _("Static"), wxDefaultPosition, wxDefaultSize, m_positionModeCtrlStrings, wxCB_READONLY );
+ m_positionModeCtrl->SetStringSelection(_("Static"));
+ itemBoxSizer59->Add(m_positionModeCtrl, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
+
+ wxFlexGridSizer* itemFlexGridSizer62 = new wxFlexGridSizer(0, 4, 0, 0);
+ m_moveObjectParentSizer->Add(itemFlexGridSizer62, 0, wxGROW, 5);
+
+ m_positionLeftCheckbox = new wxCheckBox( itemRichTextDialogPage1, ID_RICHTEXT_LEFT_CHECKBOX, _("&Left:"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_positionLeftCheckbox->SetValue(false);
+ m_positionLeftCheckbox->SetHelpText(_("The left position."));
+ if (wxRichTextSizePage::ShowToolTips())
+ m_positionLeftCheckbox->SetToolTip(_("The left position."));
+ itemFlexGridSizer62->Add(m_positionLeftCheckbox, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
+
+ wxBoxSizer* itemBoxSizer64 = new wxBoxSizer(wxHORIZONTAL);
+ itemFlexGridSizer62->Add(itemBoxSizer64, 0, wxGROW|wxALIGN_CENTER_VERTICAL, 5);
+
+ m_left = new wxTextCtrl( itemRichTextDialogPage1, ID_RICHTEXT_LEFT, wxEmptyString, wxDefaultPosition, wxSize(65, -1), 0 );
+ m_left->SetMaxLength(10);
+ m_left->SetHelpText(_("The left position."));
+ if (wxRichTextSizePage::ShowToolTips())
+ m_left->SetToolTip(_("The left position."));
+ itemBoxSizer64->Add(m_left, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
+
+ wxArrayString m_unitsLeftStrings;
+ m_unitsLeftStrings.Add(_("px"));
+ m_unitsLeftStrings.Add(_("cm"));
+ m_unitsLeftStrings.Add(_("percent"));
+ m_unitsLeft = new wxComboBox( itemRichTextDialogPage1, ID_RICHTEXT_LEFT_UNITS, _("px"), wxDefaultPosition, wxSize(60, -1), m_unitsLeftStrings, wxCB_READONLY );
+ m_unitsLeft->SetStringSelection(_("px"));
+ m_unitsLeft->SetHelpText(_("Units for the left position."));
+ if (wxRichTextSizePage::ShowToolTips())
+ m_unitsLeft->SetToolTip(_("Units for the left position."));
+ itemBoxSizer64->Add(m_unitsLeft, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
+
+ m_positionTopCheckbox = new wxCheckBox( itemRichTextDialogPage1, ID_RICHTEXT_TOP_CHECKBOX, _("&Top:"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_positionTopCheckbox->SetValue(false);
+ m_positionTopCheckbox->SetHelpText(_("The top position."));
+ if (wxRichTextSizePage::ShowToolTips())
+ m_positionTopCheckbox->SetToolTip(_("The top position."));
+ itemFlexGridSizer62->Add(m_positionTopCheckbox, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
+
+ wxBoxSizer* itemBoxSizer68 = new wxBoxSizer(wxHORIZONTAL);
+ itemFlexGridSizer62->Add(itemBoxSizer68, 0, wxGROW|wxALIGN_CENTER_VERTICAL, 5);
+
+ m_top = new wxTextCtrl( itemRichTextDialogPage1, ID_RICHTEXT_TOP, wxEmptyString, wxDefaultPosition, wxSize(65, -1), 0 );
+ m_top->SetMaxLength(10);
+ m_top->SetHelpText(_("The top position."));
+ if (wxRichTextSizePage::ShowToolTips())
+ m_top->SetToolTip(_("The top position."));
+ itemBoxSizer68->Add(m_top, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
+
+ wxArrayString m_unitsTopStrings;
+ m_unitsTopStrings.Add(_("px"));
+ m_unitsTopStrings.Add(_("cm"));
+ m_unitsTopStrings.Add(_("percent"));
+ m_unitsTop = new wxComboBox( itemRichTextDialogPage1, ID_RICHTEXT_TOP_UNITS, _("px"), wxDefaultPosition, wxSize(60, -1), m_unitsTopStrings, wxCB_READONLY );
+ m_unitsTop->SetStringSelection(_("px"));
+ m_unitsTop->SetHelpText(_("Units for the top position."));
+ if (wxRichTextSizePage::ShowToolTips())
+ m_unitsTop->SetToolTip(_("Units for the top position."));
+ itemBoxSizer68->Add(m_unitsTop, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
+
+ m_positionRightCheckbox = new wxCheckBox( itemRichTextDialogPage1, ID_RICHTEXT_RIGHT_CHECKBOX, _("&Right:"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_positionRightCheckbox->SetValue(false);
+ m_positionRightCheckbox->SetHelpText(_("The right position."));
+ if (wxRichTextSizePage::ShowToolTips())
+ m_positionRightCheckbox->SetToolTip(_("The right position."));
+ itemFlexGridSizer62->Add(m_positionRightCheckbox, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);