aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/EditTextWidget.h2
-rw-r--r--gui/ListWidget.h2
-rw-r--r--gui/browser.h2
-rw-r--r--gui/widget.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/gui/EditTextWidget.h b/gui/EditTextWidget.h
index 6d074edc63..007d27039d 100644
--- a/gui/EditTextWidget.h
+++ b/gui/EditTextWidget.h
@@ -40,7 +40,7 @@ public:
virtual void handleMouseDown(int x, int y, int button, int clickCount);
- virtual bool wantsFocus() { return true; };
+ virtual bool wantsFocus() { return true; }
protected:
void drawWidget(bool hilite);
diff --git a/gui/ListWidget.h b/gui/ListWidget.h
index 6d36fc4502..e31b58d813 100644
--- a/gui/ListWidget.h
+++ b/gui/ListWidget.h
@@ -82,7 +82,7 @@ public:
virtual bool handleKeyUp(uint16 ascii, int keycode, int modifiers);
virtual void handleCommand(CommandSender *sender, uint32 cmd, uint32 data);
- virtual bool wantsFocus() { return true; };
+ virtual bool wantsFocus() { return true; }
// Made startEditMode for SCUMM's SaveLoadChooser
void startEditMode();
diff --git a/gui/browser.h b/gui/browser.h
index c017b0e4fb..97b573f1ee 100644
--- a/gui/browser.h
+++ b/gui/browser.h
@@ -48,7 +48,7 @@ public:
virtual void handleCommand(CommandSender *sender, uint32 cmd, uint32 data);
#endif
- const FilesystemNode &getResult() { return _choice; };
+ const FilesystemNode &getResult() { return _choice; }
protected:
diff --git a/gui/widget.h b/gui/widget.h
index 7efd98941b..1ce9ba9285 100644
--- a/gui/widget.h
+++ b/gui/widget.h
@@ -99,7 +99,7 @@ public:
void draw();
void receivedFocus() { _hasFocus = true; receivedFocusWidget(); }
void lostFocus() { _hasFocus = false; lostFocusWidget(); }
- virtual bool wantsFocus() { return false; };
+ virtual bool wantsFocus() { return false; }
void setFlags(int flags) { _flags |= flags; }
void clearFlags(int flags) { _flags &= ~flags; }