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 ca234514..991a5a13 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::Win32Exception("GetIconInfo() failed", GetLastError());
+ throw rdr::win32_error("GetIconInfo() failed", GetLastError());
}
~IconInfo() {
if (hbmColor)