git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31675
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
# include "wx/wx.h"
#endif //precompiled headers
+#include "wx/stockitem.h"
+
#include "bombs.h"
#include <stdlib.h>
menuLevel, wxT("Starts a new game"));
menuFile->AppendSeparator();
- menuFile->Append(wxID_EXIT, wxT("E&xit"), wxT("Quits the application"));
+ menuFile->Append(wxID_EXIT, wxGetStockLabel(wxID_EXIT), wxT("Quits the application"));
menuBar->Append(menuFile, wxT("&File"));
wxFont font= BOMBS_FONT;
- dc->SetFont(font);
+ dc->SetFont(font);
for(x=xc1; x<=xc2; x++)
for(y=yc1; y<=yc2; y++)
buf = wxT("0");
dc->SetTextForeground(wxGreen);
break;
- case 1:
+ case 1:
buf = wxT("1");
dc->SetTextForeground(wxBlue);
break;
if ( (event.RightDown() || (event.LeftDown() && event.ShiftDown()))
&& (m_game->IsHidden(x,y)
|| !m_game->GetNumRemainingCells() ) )
- {
+ {
// store previous and current field
int prevFocusX = m_game->m_gridFocusX;
int prevFocusY = m_game->m_gridFocusY;