aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/IconInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'win/rfb_win32/IconInfo.h')
-rw-r--r--win/rfb_win32/IconInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/IconInfo.h b/win/rfb_win32/IconInfo.h
index cb33a42d..ca234514 100644
--- a/win/rfb_win32/IconInfo.h
+++ b/win/rfb_win32/IconInfo.h
@@ -28,7 +28,7 @@ namespace rfb {
struct IconInfo : public ICONINFO {
IconInfo(HICON icon) {
if (!GetIconInfo(icon, this))
- throw rdr::SystemException("GetIconInfo() failed", GetLastError());
+ throw rdr::Win32Exception("GetIconInfo() failed", GetLastError());
}
~IconInfo() {
if (hbmColor)