Slightly "unhide" the UNDO_REDO_LIST enum

This commit is contained in:
Marek Roszko 2021-06-07 22:55:30 -04:00
parent c854811ac4
commit cc4d38d347
1 changed files with 9 additions and 1 deletions

View File

@ -98,6 +98,15 @@ wxDECLARE_EVENT( UNITS_CHANGED, wxCommandEvent );
class EDA_BASE_FRAME : public wxFrame, public TOOLS_HOLDER, public KIWAY_HOLDER
{
public:
/**
* Specifies whether we are interacting with the undo or redo stacks
*/
enum UNDO_REDO_LIST
{
UNDO_LIST,
REDO_LIST
};
EDA_BASE_FRAME( wxWindow* aParent, FRAME_T aFrameType, const wxString& aTitle,
const wxPoint& aPos, const wxSize& aSize, long aStyle,
const wxString& aFrameName, KIWAY* aKiway );
@ -524,7 +533,6 @@ public:
* @param aItemCount number of old commands to delete. -1 to remove all old commands
* this will empty the list of commands.
*/
enum UNDO_REDO_LIST { UNDO_LIST, REDO_LIST };
virtual void ClearUndoORRedoList( UNDO_REDO_LIST aList, int aItemCount = -1 )
{ }