summaryrefslogtreecommitdiff
path: root/rbutil/rbutilCtrls.cpp
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2007-05-28 20:55:50 +0000
committerDominik Wenger <domonoky@googlemail.com>2007-05-28 20:55:50 +0000
commit1bae792e5c2ef6f624c7038ce83cd48aeabf636f (patch)
treeb77016b6187d318b53e540600c87bebf56ddb34f /rbutil/rbutilCtrls.cpp
parent993dbe628e1aac0999cf3f115cc9b843b3dfcbc0 (diff)
rbutil: put the Theme description in a scrolling Control, also updated a few descriptions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13507 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilCtrls.cpp')
-rw-r--r--rbutil/rbutilCtrls.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/rbutil/rbutilCtrls.cpp b/rbutil/rbutilCtrls.cpp
index 1b45213139..007bd6e17d 100644
--- a/rbutil/rbutilCtrls.cpp
+++ b/rbutil/rbutilCtrls.cpp
@@ -123,7 +123,7 @@ void ThemeCtrl::CreateControls()
wxStaticText* desc_desc= new wxStaticText(this,wxID_ANY,wxT("Description:"));
styleSizer->Add(desc_desc,0,wxGROW | wxALL,5);
- m_themedesc= new wxStaticText(this,ID_DESC,wxT(""));
+ m_themedesc= new wxTextCtrl(this,ID_DESC,wxT(""),wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY);
styleSizer->Add(m_themedesc,0,wxGROW | wxALL,5);
topSizer->Fit(this);
@@ -156,7 +156,7 @@ void ThemeCtrl::setDevice(wxString device)
// load the themelist
Init();
m_size->SetLabel(wxT(""));
- m_themedesc->SetLabel(wxT(""));
+ m_themedesc->SetValue(wxT(""));
m_themeList->Clear();
//get correct Themes list
@@ -231,8 +231,8 @@ void ThemeCtrl::OnThemesLst(wxCommandEvent& event)
int index = selected[0];
m_size->SetLabel(m_Themes_size[index]);
- m_themedesc->SetLabel(m_Themes_desc[index]);
- m_themedesc->Wrap(200); // wrap desc
+ m_themedesc->SetValue(m_Themes_desc[index]);
+ // m_themedesc->Wrap(200); // wrap desc
wxString src,dest;