--- wxCpuThrottle/src/wxcputhrottleframe.cpp 2009/04/05 20:43:26 220 +++ wxCpuThrottle/src/wxcputhrottleframe.cpp 2009/04/09 18:39:29 221 @@ -52,7 +52,7 @@ } catch ( ... ) { - wxMessageBox("Could not open kernel file - aborting program"); + wxMessageBox(wxT("Could not open kernel file - aborting program")); OnQuit(); } @@ -79,7 +79,8 @@ for (int i=0; iSetSelection( mParser.GetCurrentState() ); + + std::string statedesc = mParser.GetStateDescription( mParser.GetCurrentState() ); wxString tooltip = wxT("wxCpuThrottle - "); - tooltip += mParser.GetStateDescription( mParser.GetCurrentState() ); + tooltip += wxString(statedesc.c_str(), wxConvISO8859_1); mTrayIcon->SetIcon( mIcon, tooltip ); }