00001 // -*-C++ -*- 00056 //#include "Defs.h" 00057 //#include "wx/wx.h" 00058 #include "DeviceShape.h" 00059 //#include "MutApp.h" 00060 //#include "MutIcon.h" 00061 //#include "MutRouteWnd.h" 00062 //#include "InputDevDlg.h" 00063 //#include "Device.h" 00064 00065 00066 IMPLEMENT_ABSTRACT_CLASS(MutDeviceShape, MutIconShape) 00067 00068 BEGIN_EVENT_TABLE(MutDeviceShape, MutIconShape) 00069 EVT_LEFT_DCLICK(MutDeviceShape::LeftDblClickEvent) 00070 END_EVENT_TABLE() 00071 00072 bool MutDeviceShape::Recompute() 00073 { 00074 SetIcon(GetMutIcon()); 00075 // SetLabel (filename.GetFullName()); 00076 return GetIcon().IsOk(); 00077 } 00078 00079 00080 00081 00082 #include "wx/listimpl.cpp" 00083 WX_DEFINE_LIST (MutDeviceShapeList); 00084 00085 /* 00086 * \} 00087 */