Fixed tab key behaviour the first time of viewing a card. Also fixed which editor gets the focus with Tab or Shift+Tab

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@966 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-06-03 19:18:44 +00:00
parent d00beeb55f
commit 92947dc5b8
3 changed files with 25 additions and 9 deletions
+5
View File
@@ -36,6 +36,8 @@ class DataEditor : public CardViewer {
void select(ValueViewer* v);
/// Select the first editable and visible editor (by tab index)
void selectFirst();
/// Select the last editable and visible editor (by tab index)
void selectLast();
/// Select the next editable editor, returns false if the current editor is the last one
bool selectNext();
/// Select the previous editable editor, returns false if the current editor is the first one
@@ -43,6 +45,9 @@ class DataEditor : public CardViewer {
virtual bool AcceptsFocus() const;
/// The next window in the tab order (optional)
const wxWindow* next_in_tab_order;
// --------------------------------------------------- : Clipboard
bool canCut() const;