X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..6f026b5b63fe7ccb025e84509886f74772b9df13:/samples/artprov/arttest.cpp diff --git a/samples/artprov/arttest.cpp b/samples/artprov/arttest.cpp index ea083193f8..61affa05bc 100644 --- a/samples/artprov/arttest.cpp +++ b/samples/artprov/arttest.cpp @@ -4,7 +4,6 @@ // Author: Vaclav Slavik // Modified by: // Created: 2002/03/25 -// RCS-ID: $Id$ // Copyright: (c) Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -20,7 +19,7 @@ #include "wx/wx.h" #endif -#if !defined(__WXMSW__) && !defined(__WXPM__) +#ifndef wxHAS_IMAGES_IN_RESOURCES #include "../sample.xpm" #endif @@ -63,8 +62,8 @@ private: // IDs for the controls and the menu commands enum { - ID_Quit = wxID_HIGHEST, - ID_Logs, + ID_Quit = wxID_EXIT, + ID_Logs = wxID_HIGHEST+1, ID_Browser, ID_PlugProvider }; @@ -157,7 +156,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size, // the "About" item should be in the help menu wxMenu *helpMenu = new wxMenu; - helpMenu->Append(wxID_ABOUT, wxT("&About...\tF1"), wxT("Show about dialog")); + helpMenu->Append(wxID_ABOUT, wxT("&About\tF1"), wxT("Show about dialog")); menuFile->AppendCheckItem(ID_PlugProvider, wxT("&Plug-in art provider"), wxT("Enable custom art provider")); menuFile->AppendSeparator();