0ad/source/tools/atlas/AtlasUI/General/AtlasWindowCommandProc.h
Ykkrosh d0146135c4 Initial Actor Editor code
This was SVN commit r2025.
2005-03-19 22:29:32 +00:00

20 lines
494 B
C++

#ifndef ATLASWINDOWCOMMANDPROC_H__
#define ATLASWINDOWCOMMANDPROC_H__
#include "wx/cmdproc.h"
#include "wx/window.h"
class AtlasWindowCommandProc : public wxCommandProcessor
{
public:
bool Submit(wxCommand *command, bool storeIt = true);
// Mark the most recent command as finalized, so it won't be
// merged with any subsequent ones
void FinaliseLastCommand();
static AtlasWindowCommandProc* GetFromParentFrame(wxWindow* object);
};
#endif // ATLASWINDOWCOMMANDPROC_H__