// Author: Julian Smart
// Modified by: Jurgen Doornik
// Created: 25/01/99
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#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();
}