mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 21:27:01 -04:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user