- itemBoxSizer5->Add(itemStaticText6, 0, wxALIGN_LEFT|wxLEFT|wxRIGHT|wxTOP|wxADJUST_MINSIZE, 5);
-
- m_styleName = new wxTextCtrl( itemPanel1,
- ID_RICHTEXTSTYLEPAGE_STYLE_NAME,
- wxEmptyString,
- wxDefaultPosition,
- wxSize(300, wxDefaultCoord),
- 0 );
+ itemBoxSizer5->Add(itemStaticText6, 0, wxALIGN_LEFT|wxLEFT|wxRIGHT|wxTOP, 5);
+
+ m_styleName = new wxTextCtrl( itemPanel1, ID_RICHTEXTSTYLEPAGE_STYLE_NAME, wxEmptyString, wxDefaultPosition, wxSize(300, -1), wxTE_READONLY );
+ m_styleName->SetHelpText(_("The style name."));
+ if (ShowToolTips())
+ m_styleName->SetToolTip(_("The style name."));