card viewers/editors inherit from wxPanel;

GallertList doesn't call select() from onSize

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1139 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-08-11 14:04:00 +00:00
parent 520b472483
commit 1691efd6d5
5 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ void TextCtrl::draw(DC& dc) {
}
bool TextCtrl::AcceptsFocus() const {
return wxControl::AcceptsFocus() &&
return wxWindow::AcceptsFocus() &&
!viewers.empty() &&
static_cast<FakeTextValue&>(*viewers.front()->getValue()).editable;
}