mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
Selection in cardlist is correctly moved when changes are made;
cuting/copying/pasting/deleting multiple cards now works. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@888 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -46,7 +46,7 @@ class ItemList : public wxListView {
|
||||
virtual bool canPaste() const { return false; }
|
||||
virtual bool canDelete() const { return false; }
|
||||
// Try to perform a clipboard operation, return success
|
||||
virtual bool doCut() { return false; }
|
||||
virtual bool doCut();
|
||||
virtual bool doCopy() { return false; }
|
||||
virtual bool doPaste() { return false; }
|
||||
virtual bool doDelete() { return false; }
|
||||
@@ -90,6 +90,8 @@ class ItemList : public wxListView {
|
||||
void focusNone();
|
||||
/// Actually select a certain item in the control
|
||||
void focusItem(const VoidP& item, bool focus = true);
|
||||
/// Count the number of focused items
|
||||
long focusCount() const;
|
||||
|
||||
// --------------------------------------------------- : Data
|
||||
VoidP selected_item; ///< The currently selected item
|
||||
|
||||
Reference in New Issue
Block a user