32#include <wx/docview.h>
69 if (selected == NULL) {
75 if (command == NULL) {
83 bool result = command->
Do();
136 wxDocManager* manager = wxGetApp().docManager();
138 MDFView* mdfView =
dynamic_cast<MDFView*
>(manager->GetCurrentView());
139 if (mdfView == NULL) {
145 if (selected == NULL || !(selected->
canHandle(copyRequest))) {
#define assert(condition)
void setParentWindow(wxWindow *window)
virtual std::string icon() const
virtual CopyComponentCmd * create() const
bool canHandle(Request *request) const
ComponentCommand * performRequest(Request *request) const
wxWindow * parentWindow() const
static const std::string CMD_ICON_COPY
Icon location for the "Copy" command.
@ COPY_REQUEST
Copy request.