r411: no message
[ctsim.git] / src / ctsim.cpp
index 2595e76681fe41ee18a6c340d8c4db30ffea0d7d..781e9c0fd8cf1016516a3d938a1ea505efdad188 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: ctsim.cpp,v 1.29 2001/01/13 10:14:06 kevin Exp $
+**  $Id: ctsim.cpp,v 1.30 2001/01/17 06:38:06 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -61,7 +61,7 @@
 #endif
 #endif
 
-static const char* rcsindent = "$Id: ctsim.cpp,v 1.29 2001/01/13 10:14:06 kevin Exp $";
+static const char* rcsindent = "$Id: ctsim.cpp,v 1.30 2001/01/17 06:38:06 kevin Exp $";
 
 struct option CTSimApp::ctsimOptions[] = 
 {
@@ -144,14 +144,14 @@ CTSimApp::OnInit()
   return true;
 }
 
+#include "./ctsim.xpm"
 void
 CTSimApp::setIconForFrame(wxFrame* pFrame)
 {
-#if defined(__WXMSW__)
-  wxIcon iconApp (wxString("ICON_APP"), wxBITMAP_TYPE_ICO_RESOURCE);
+  wxIcon iconApp (ctsim16_xpm);
+
   if (iconApp.Ok())
     pFrame->SetIcon (iconApp);
-#endif
 }
 
 void