diff options
Diffstat (limited to 'src/ui/shortcut.cpp')
-rw-r--r-- | src/ui/shortcut.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/shortcut.cpp b/src/ui/shortcut.cpp index adf22eb..7022bf2 100644 --- a/src/ui/shortcut.cpp +++ b/src/ui/shortcut.cpp @@ -50,18 +50,18 @@ CShortcut::~CShortcut() // Creates a new button.
-BOOL CShortcut::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
+bool CShortcut::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 CShortcut::EventProcess(const Event &event)
+bool CShortcut::EventProcess(const Event &event)
{
CControl::EventProcess(event);
@@ -77,11 +77,11 @@ BOOL CShortcut::EventProcess(const Event &event) Event newEvent = event;
newEvent.event = m_eventMsg;
m_event->AddEvent(newEvent);
- return FALSE;
+ return false;
}
}
- return TRUE;
+ return true;
}
|