diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-06-10 15:28:12 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-06-10 15:28:12 +0200 |
commit | 697fbdabf10d956e0f13bfbc9414d3db40f0c535 (patch) | |
tree | ab80ba3119d07b11da5478009b905edb702c103f /src/ui/label.cpp | |
parent | 680af178196217bdd255d2bc851f240983144ac1 (diff) | |
download | colobot-697fbdabf10d956e0f13bfbc9414d3db40f0c535.tar.gz colobot-697fbdabf10d956e0f13bfbc9414d3db40f0c535.tar.bz2 colobot-697fbdabf10d956e0f13bfbc9414d3db40f0c535.zip |
BOOL -> bool; additional fixes in constructors/destructors
Diffstat (limited to 'src/ui/label.cpp')
-rw-r--r-- | src/ui/label.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/label.cpp b/src/ui/label.cpp index 977c7f3..288631c 100644 --- a/src/ui/label.cpp +++ b/src/ui/label.cpp @@ -50,21 +50,21 @@ CLabel::~CLabel() // Creates a new button.
-BOOL CLabel::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
+bool CLabel::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
{
if ( eventMsg == EVENT_NULL ) eventMsg = GetUniqueEventMsg();
CControl::Create(pos, dim, icon, eventMsg);
- return TRUE;
+ return true;
}
// Management of an event.
-BOOL CLabel::EventProcess(const Event &event)
+bool CLabel::EventProcess(const Event &event)
{
//? CControl::EventProcess(event);
- return TRUE;
+ return true;
}
|