- change font for debug display, should change BagFrame display soon

This commit is contained in:
Antoine Fraboulet 2005-12-27 09:19:10 +00:00
parent 644653be0a
commit d607d100fd

View file

@ -153,6 +153,12 @@ BagFrame::BagFrame(wxFrame* parent, Game& iGame):
//tiles->SetFont(config.getFont(LISTFONT)); //tiles->SetFont(config.getFont(LISTFONT));
//tiles->SetToolTip(wxT("Lettre, nombre restant")); //tiles->SetToolTip(wxT("Lettre, nombre restant"));
#ifdef DEBUG
wxFont font(8, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL,
wxFONTWEIGHT_NORMAL, false, wxString(wxT("Courier New")), wxFONTENCODING_SYSTEM);
tiles->SetFont(font);
#endif
wxBoxSizer *sizer = new wxBoxSizer( wxHORIZONTAL ); wxBoxSizer *sizer = new wxBoxSizer( wxHORIZONTAL );
sizer->Add(tiles, 1, wxEXPAND | wxALL, 1); sizer->Add(tiles, 1, wxEXPAND | wxALL, 1);
SetAutoLayout(TRUE); SetAutoLayout(TRUE);