summaryrefslogtreecommitdiffstats
path: root/src/ui/group.cpp
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-06-10 15:28:12 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-06-10 15:28:12 +0200
commit697fbdabf10d956e0f13bfbc9414d3db40f0c535 (patch)
treeab80ba3119d07b11da5478009b905edb702c103f /src/ui/group.cpp
parent680af178196217bdd255d2bc851f240983144ac1 (diff)
downloadcolobot-697fbdabf10d956e0f13bfbc9414d3db40f0c535.tar.gz
colobot-697fbdabf10d956e0f13bfbc9414d3db40f0c535.tar.bz2
colobot-697fbdabf10d956e0f13bfbc9414d3db40f0c535.zip
BOOL -> bool; additional fixes in constructors/destructors
Diffstat (limited to 'src/ui/group.cpp')
-rw-r--r--src/ui/group.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/group.cpp b/src/ui/group.cpp
index 73f8b36..a19e39b 100644
--- a/src/ui/group.cpp
+++ b/src/ui/group.cpp
@@ -50,7 +50,7 @@ CGroup::~CGroup()
// Creates a new button.
-BOOL CGroup::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
+bool CGroup::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
{
if ( eventMsg == EVENT_NULL ) eventMsg = GetUniqueEventMsg();
@@ -67,15 +67,15 @@ BOOL CGroup::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
SetName(name);
}
- return TRUE;
+ return true;
}
// Management of an event.
-BOOL CGroup::EventProcess(const Event &event)
+bool CGroup::EventProcess(const Event &event)
{
- return TRUE;
+ return true;
}