]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/frame.cpp
Add some version checks to help compiling on OSX.
[wxWidgets.git] / src / msw / frame.cpp
index 25cfa7eb306368f375eb1a4694ca6220a68aa58e..9126afb4d9fd9dc69316177e898ae2c2e32a7338 100644 (file)
@@ -938,7 +938,7 @@ WXLRESULT wxFrame::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lPara
         case WM_QUERYDRAGICON:
             {
                 const wxIcon& icon = GetIcon();
-                HICON hIcon = icon.Ok() ? GetHiconOf(icon)
+                HICON hIcon = icon.IsOk() ? GetHiconOf(icon)
                                         : (HICON)GetDefaultIcon();
                 rc = (WXLRESULT)hIcon;
                 processed = rc != 0;