#include "wx/wxprec.h"
#include "wx/accel.h"
-#include "wx/string.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/string.h"
+#endif
IMPLEMENT_DYNAMIC_CLASS(wxAcceleratorTable, wxObject)
friend class WXDLLEXPORT wxAcceleratorTable;
public:
wxAcceleratorRefData();
- ~wxAcceleratorRefData();
+ virtual ~wxAcceleratorRefData();
wxAccelList m_accels;
};
wxAcceleratorRefData::~wxAcceleratorRefData()
{
- m_accels.DeleteContents( TRUE );
+ m_accels.DeleteContents( true );
}
wxAcceleratorTable::wxAcceleratorTable()
}
}
-bool wxAcceleratorTable::Ok() const
+bool wxAcceleratorTable::IsOk() const
{
return (m_refData != NULL);
}