#include "wx/datetime.h"
#include "client.h"
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
#include "../sample.xpm"
#endif
void MyFrame::OnClose(wxCloseEvent& event)
{
- if (m_client)
- {
- wxDELETE(m_client);
- }
+ wxDELETE(m_client);
+
event.Skip();
}