aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/Dialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win/rfb_win32/Dialog.cxx')
-rw-r--r--win/rfb_win32/Dialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/rfb_win32/Dialog.cxx b/win/rfb_win32/Dialog.cxx
index 432439ce..35ec065e 100644
--- a/win/rfb_win32/Dialog.cxx
+++ b/win/rfb_win32/Dialog.cxx
@@ -65,7 +65,7 @@ bool Dialog::showDialog(const char* resource, HWND owner)
INT_PTR result = DialogBoxParam(inst, resource, owner,
staticDialogProc, (LPARAM)this);
if (result<0)
- throw rdr::SystemException("DialogBoxParam failed", GetLastError());
+ throw rdr::Win32Exception("DialogBoxParam failed", GetLastError());
alreadyShowing = false;
return (result == 1);
}
@@ -275,7 +275,7 @@ bool PropSheet::showPropSheet(HWND owner_, bool showApply, bool showCtxtHelp, bo
handle = (HWND)PropertySheet(&header);
if ((handle == nullptr) || (handle == (HWND)-1))
- throw rdr::SystemException("PropertySheet failed", GetLastError());
+ throw rdr::Win32Exception("PropertySheet failed", GetLastError());
centerWindow(handle, owner_);
plog.info("created %p", handle);