X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fctsim.cpp;h=781e9c0fd8cf1016516a3d938a1ea505efdad188;hb=c8ec665dde5df59539daf63e0a6a44f27550258b;hp=2595e76681fe41ee18a6c340d8c4db30ffea0d7d;hpb=2796ae86cd15663bcd6875a45d4b9d7c650321ce;p=ctsim.git diff --git a/src/ctsim.cpp b/src/ctsim.cpp index 2595e76..781e9c0 100644 --- a/src/ctsim.cpp +++ b/src/ctsim.cpp @@ -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