00001 // -*- C++ -*- 00106 #ifndef NEWBOXSHAPE_H 00107 #define NEWBOXSHAPE_H 00108 00109 //#include <map> 00110 00111 //#include "wx/defs.h" 00112 //#include "wx/icon.h" 00113 //#include "wx/stattext.h" 00114 00115 #include "MutIcon.h" 00116 #include "BoxShape.h" 00117 //#include "Device.h" 00118 00119 class NewMutBoxShape:public MutBoxShape 00120 { 00121 virtual MutIcon& GetMutIcon(); 00122 00123 public: 00124 NewMutBoxShape(wxWindow * parent, wxWindowID wid):MutBoxShape() 00125 { 00126 Create (parent, wid); 00127 } 00128 00129 bool Create (wxWindow * parent, wxWindowID wid) 00130 { 00131 if (!MutBoxShape::Create(parent, wid, NewBox)) return false; 00132 return true; 00133 } 00134 00135 virtual ~NewMutBoxShape() {} 00136 00137 virtual bool CanHandleType (int type) { return false; } 00138 virtual bool replaceSelfBy (MutBoxShape * newshape); 00139 virtual void InitializeDialog(BoxDlg * dlg) const; 00140 virtual bool readDialog (BoxDlg * box) 00141 { 00142 UNREACHABLEC; 00143 return false; 00144 } 00145 private: 00146 DECLARE_CLASS(NewMutBoxShape) 00147 DECLARE_NO_COPY_CLASS(NewMutBoxShape) 00148 }; 00149 00150 #endif /* NEWBOXSHAPE_H */ 00151 /* 00152 * \} 00153 */