aboutsummaryrefslogtreecommitdiffstats
path: root/win/winvnc/AddNewClientDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'win/winvnc/AddNewClientDialog.h')
-rw-r--r--win/winvnc/AddNewClientDialog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/winvnc/AddNewClientDialog.h b/win/winvnc/AddNewClientDialog.h
index 1c24d23b..ad34ec23 100644
--- a/win/winvnc/AddNewClientDialog.h
+++ b/win/winvnc/AddNewClientDialog.h
@@ -38,11 +38,11 @@ namespace winvnc {
protected:
// Dialog methods (protected)
- virtual void initDialog() {
+ void initDialog() override {
if (!hostName.empty())
setItemString(IDC_HOST, hostName.c_str());
}
- virtual bool onOk() {
+ bool onOk() override {
hostName = getItemString(IDC_HOST);
return true;
}