Changeset 508 for trunk/src


Ignore:
Timestamp:
Feb 4, 2010, 2:24:14 AM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: Fixed: The default application icon embedded into the executable was not actually used as the default window icon for top-level widgets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qwidget_pm.cpp

    r498 r508  
    11571157                         "failed with 0x%08lX", WinGetLastError(0));
    11581158
     1159            if (fcData.flCreateFlags & FCF_ICON) {
     1160                // mark that we already have the window icon taken from .EXE to
     1161                // prevent setWindowIcon_sys() from resetting it to nothing
     1162                createTLExtra();
     1163                extra->topextra->iconPointer =
     1164                    (HPOINTER)WinSendMsg(fId, WM_QUERYICON, 0, 0);
     1165            }
     1166
    11591167            PFNWP oldProc = WinSubclassWindow(fId, QtFrameProc);
    11601168            // remember QtOldFrameProc only once: it's the same for
Note: See TracChangeset for help on using the changeset viewer.