Skip to content
Extraits de code Groupes Projets
Valider a7bb608a rédigé par Thomas Goyne's avatar Thomas Goyne
Parcourir les fichiers

Mark Command::Icon as const

parent 50b70f69
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -63,7 +63,7 @@ namespace cmd { ...@@ -63,7 +63,7 @@ namespace cmd {
cmd(c); cmd(c);
} }
wxBitmap const& Command::Icon(int size) { wxBitmap const& Command::Icon(int size) const {
return icon::get(name(), size); return icon::get(name(), size);
} }
......
...@@ -105,7 +105,7 @@ namespace cmd { ...@@ -105,7 +105,7 @@ namespace cmd {
/// Request icon. /// Request icon.
/// @param size Icon size. /// @param size Icon size.
wxBitmap const& Icon(int size); wxBitmap const& Icon(int size) const;
/// Command function /// Command function
virtual void operator()(agi::Context *c)=0; virtual void operator()(agi::Context *c)=0;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter