Initial commit.
[CMakeLuaTailorHgBridge.git] / CMakeLua / Source / WXDialog / app_resources.cpp
blob484a9b150bf3a8f04949bf229d5e787763445af0
1 /*=========================================================================
3 Program: WXDialog - wxWidgets X-platform GUI Front-End for CMake
4 Module: $RCSfile: app_resources.cpp,v $
5 Language: C++
6 Date: $Date: 2005/06/30 19:54:14 $
7 Version: $Revision: 1.1 $
9 Author: Jorgen Bodde
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"
22 #endif
24 // For compilers that support precompilation, includes "wx/wx.h".
25 #include "wx/wxprec.h"
27 #ifdef __BORLANDC__
28 #pragma hdrstop
29 #endif
31 #ifndef WX_PRECOMP
32 #include "wx/wx.h"
33 #endif
35 ////@begin includes
36 ////@end includes
38 #include "app_resources.h"
40 ////@begin XPM images
41 ////@end XPM images
43 /*!
44 * Resource functions
47 ////@begin AppResources resource functions
48 /*!
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);
59 return itemMenu1;
62 ////@end AppResources resource functions
64 /*!
65 * Get bitmap resources
68 wxBitmap AppResources::GetBitmapResource( const wxString& name )
70 // Bitmap retrieval
71 ////@begin AppResources bitmap retrieval
72 return wxNullBitmap;
73 ////@end AppResources bitmap retrieval
76 /*!
77 * Get icon resources
80 wxIcon AppResources::GetIconResource( const wxString& name )
82 // Icon retrieval
83 ////@begin AppResources icon retrieval
84 return wxNullIcon;
85 ////@end AppResources icon retrieval