added TextCtrl control for things like card.notes and keyword stuff

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@112 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-12-11 22:12:46 +00:00
parent f0dd2ae1fa
commit c2a03bc445
11 changed files with 59 additions and 29 deletions
+1 -3
View File
@@ -42,8 +42,6 @@ void NativeLookEditor::drawViewer(RotatedDC& dc, ValueViewer& v) {
draw_control_border(this, dc.getDC(), wxRect(s.left - 1, s.top - 1, s.width + 2, s.height + 2));
// draw viewer
v.draw(dc);
ValueEditor* e = v.getEditor();
if (e) e->drawSelection(dc);
}
void NativeLookEditor::resizeViewers() {
@@ -66,7 +64,7 @@ void NativeLookEditor::resizeViewers() {
}
void NativeLookEditor::onInit() {
// Give fieldEditors a chance to show/hide controls (scrollbar) when selecting other editors
// Give viewers a chance to show/hide controls (scrollbar) when selecting other editors
FOR_EACH_EDITOR {
e->onShow(true);
}