Changeset 2852 for trunk/src/user32/win32wmdiclient.cpp
- Timestamp:
- Feb 21, 2000, 6:25:33 PM (26 years ago)
- File:
-
- 1 edited
-
trunk/src/user32/win32wmdiclient.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wmdiclient.cpp
r2803 r2852 1 /* $Id: win32wmdiclient.cpp,v 1.2 4 2000-02-16 14:28:24 sandervlExp $ */1 /* $Id: win32wmdiclient.cpp,v 1.25 2000-02-21 17:25:32 cbratschi Exp $ */ 2 2 /* 3 3 * Win32 MDI Client Window Class for OS/2 … … 36 36 #include "win32wndhandle.h" 37 37 38 #define DBG_LOCALLOG DBG_win32wmdiclient38 #define DBG_LOCALLOG DBG_win32wmdiclient 39 39 #include "dbglocal.h" 40 40 … … 857 857 // In Win 95 look, the system menu is replaced by the child icon 858 858 859 HICON hIcon = GetClassLongA(child->getWindowHandle(), GCL_HICONSM); 860 if (!hIcon) 861 hIcon = GetClassLongA(child->getWindowHandle(), GCL_HICON); 859 /* Find small icon */ 860 HICON hIcon = child->GetSmallIcon(); 861 862 /* If no small icon or overwridden large icon, use class small icon.. */ 863 if (!hIcon && !child->GetIcon()) 864 hIcon = GetClassLongA(child->getWindowHandle(),GCL_HICONSM); 865 866 /* Use large icon */ 867 if (!hIcon) hIcon = child->GetIcon(); 868 869 /* If all else fails, use large class icon. */ 870 if (!hIcon) hIcon = GetClassLongA(child->getWindowHandle(),GCL_HICON); 871 862 872 if (hIcon) 863 873 {
Note:
See TracChangeset
for help on using the changeset viewer.
