diff options
Diffstat (limited to 'win/rfb_win32/Dialog.h')
-rw-r--r-- | win/rfb_win32/Dialog.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/rfb_win32/Dialog.h b/win/rfb_win32/Dialog.h index d1a8e831..69374bb1 100644 --- a/win/rfb_win32/Dialog.h +++ b/win/rfb_win32/Dialog.h @@ -52,7 +52,7 @@ namespace rfb { // expansion), and owner is an optional window handle - the corresponding // window is disabled while the dialog box is displayed. - bool showDialog(const char* resource, HWND owner=0); + bool showDialog(const char* resource, HWND owner=nullptr); // initDialog() is called upon receipt of the WM_INITDIALOG message. @@ -106,7 +106,7 @@ namespace rfb { class PropSheet { public: - PropSheet(HINSTANCE inst, const char* title, std::list<PropSheetPage*> pages, HICON icon=0); + PropSheet(HINSTANCE inst, const char* title, std::list<PropSheetPage*> pages, HICON icon=nullptr); virtual ~PropSheet(); // Display the PropertySheet @@ -148,7 +148,7 @@ namespace rfb { protected: void setPropSheet(PropSheet* ps) {propSheet = ps;}; static INT_PTR CALLBACK staticPageProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); - virtual BOOL dialogProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); + BOOL dialogProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) override; PROPSHEETPAGE page; PropSheet* propSheet; }; |