#include "wx/wx.h"
#endif
-#if defined(__WXMSW__) && !defined(GNUWIN32)
+#if wxUSE_IOSTREAMH
+#if defined(__WXMSW__) && !defined(__GNUWIN32__)
#include <strstrea.h>
#else
#include <strstream.h>
#endif
+#else
+#include <strstream>
+using namespace std;
+#endif
#include "scorefil.h"
#include "scoredg.h"
ostrstream os;
os << "Player\tWins\tGames\tScore\n";
- for (int i = 0; i < players.Count(); i++)
+ for (unsigned int i = 0; i < players.Count(); i++)
{
int wins, games, score;
scoreFile->ReadPlayersScore(players[i], wins, games, score);
void ScoreCanvas::OnDraw(wxDC& dc)
{
- dc.SetFont(m_font);
+ dc.SetFont(* m_font);
const char* str = m_text;
unsigned int tab = 0;