Modifications for new expression system.

git-svn-id: svn://localhost@129 8062f311-0dae-4547-b526-b8ab9ac864a5
This commit is contained in:
Florian
2010-05-29 22:11:27 +00:00
parent d5b454d569
commit 5e64d0cfdb
9 changed files with 185 additions and 99 deletions
+3 -3
View File
@@ -119,8 +119,8 @@ object(object_)
Connect(ID_BUTTON1,wxEVT_COMMAND_BUTTON_CLICKED,(wxObjectEventFunction)&TextObjectEditor::OnokBtClick);
//*)
textEdit->SetValue(object.GetString());
fontEdit->SetValue(object.GetFont());
textEdit->ChangeValue(object.GetString());
fontEdit->ChangeValue(object.GetFont());
sizeEdit->SetValue(object.GetCharacterSize());
colorBt->SetBackgroundColour(wxColour(object.GetColorR(), object.GetColorG(), object.GetColorB()));
}
@@ -158,7 +158,7 @@ void TextObjectEditor::OnfontBtClick(wxCommandEvent& event)
if ( dialog.GetPath() != "" )
{
fontEdit->SetValue(dialog.GetPath());
fontEdit->ChangeValue(dialog.GetPath());
}
}