Changeset 7616 for trunk/src/comctl32/rebar.c
- Timestamp:
- Dec 12, 2001, 1:49:34 PM (24 years ago)
- File:
-
- 1 edited
-
trunk/src/comctl32/rebar.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/rebar.c
r6705 r7616 209 209 HWND hwndToolTip; /* handle to the tool tip control */ 210 210 HWND hwndNotify; /* notification window (parent) */ 211 #ifdef __WIN32OS2__ 212 HFONT hDefaultFont; 213 #endif 211 214 HFONT hFont; /* handle to the rebar's font */ 212 215 SIZE imageSize; /* image size (image list) */ … … 3633 3636 DeleteObject (infoPtr->hcurVert); 3634 3637 DeleteObject (infoPtr->hcurDrag); 3638 3639 #ifdef __WIN32OS2__ 3640 //NEVER delete the font object received by WM_SETFONT! 3641 DeleteObject (infoPtr->hDefaultFont); 3642 #else 3635 3643 DeleteObject (infoPtr->hFont); 3644 #endif 3636 3645 SetWindowLongA (infoPtr->hwndSelf, 0, 0); 3637 3646 … … 3847 3856 tfont = CreateFontIndirectA (&ncm.lfCaptionFont); 3848 3857 if (tfont) { 3858 #ifdef __WIN32OS2__ 3859 infoPtr->hFont = infoPtr->hDefaultFont = tfont; 3860 #else 3849 3861 infoPtr->hFont = tfont; 3862 #endif 3850 3863 } 3851 3864
Note:
See TracChangeset
for help on using the changeset viewer.
