1 /*=========================================================================
3 Program: WXDialog - wxWidgets X-platform GUI Front-End for CMake
4 Module: $RCSfile: app_resources.cpp,v $
6 Date: $Date: 2005/06/30 19:54:14 $
7 Version: $Revision: 1.1 $
11 Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
12 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
14 This software is distributed WITHOUT ANY WARRANTY; without even
15 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16 PURPOSE. See the above copyright notices for more information.
18 =========================================================================*/
20 #if defined(__GNUG__) && !defined(__APPLE__)
21 #pragma implementation "app_resources.h"
24 // For compilers that support precompilation, includes "wx/wx.h".
25 #include "wx/wxprec.h"
38 #include "app_resources.h"
47 ////@begin AppResources resource functions
49 * Menu creation function for ID_MENU
52 wxMenu
* AppResources::CreatePopupMenu()
54 wxMenu
* itemMenu1
= new wxMenu
;
55 itemMenu1
->Append(ID_CACHE_IGNORE
, _("&Ignore cache entry"), _("Ignores the value of the current cache entry"), wxITEM_NORMAL
);
56 itemMenu1
->Append(ID_CACHE_DELETE
, _("&Delete cache entry"), _("Deletes the current cache entry (reverts on next configure)"), wxITEM_NORMAL
);
57 itemMenu1
->AppendSeparator();
58 itemMenu1
->Append(ID_CACHE_BROWSE
, _("&Browse ..."), _T(""), wxITEM_NORMAL
);
62 ////@end AppResources resource functions
65 * Get bitmap resources
68 wxBitmap
AppResources::GetBitmapResource( const wxString
& name
)
71 ////@begin AppResources bitmap retrieval
73 ////@end AppResources bitmap retrieval
80 wxIcon
AppResources::GetIconResource( const wxString
& name
)
83 ////@begin AppResources icon retrieval
85 ////@end AppResources icon retrieval