Fix build failure on Windows XP.
Some checks are pending
MSW builds / wxMSW vs2022 DLL Debug x64 (push) Waiting to run
MSW builds / wxMSW vs2019 DLL Release x64 (push) Waiting to run
MSW builds / wxMSW vs2019 Debug Win32 (push) Waiting to run
MSW builds / msw-msys2-clang (push) Waiting to run
MSW cross-builds / wxMSW 64 bits (push) Waiting to run
MSW cross-builds / wxMSW/Univ (push) Waiting to run
MSW cross-builds / wxMSW 32 bits (push) Waiting to run
Code Checks / Check Spelling (push) Waiting to run
Code Checks / Check Whitespace (push) Waiting to run
Code Checks / Check Mixed EOL (push) Waiting to run
Code Checks / Check C++ Style (push) Waiting to run
Some checks are pending
MSW builds / wxMSW vs2022 DLL Debug x64 (push) Waiting to run
MSW builds / wxMSW vs2019 DLL Release x64 (push) Waiting to run
MSW builds / wxMSW vs2019 Debug Win32 (push) Waiting to run
MSW builds / msw-msys2-clang (push) Waiting to run
MSW cross-builds / wxMSW 64 bits (push) Waiting to run
MSW cross-builds / wxMSW/Univ (push) Waiting to run
MSW cross-builds / wxMSW 32 bits (push) Waiting to run
Code Checks / Check Spelling (push) Waiting to run
Code Checks / Check Whitespace (push) Waiting to run
Code Checks / Check Mixed EOL (push) Waiting to run
Code Checks / Check C++ Style (push) Waiting to run
This commit is contained in:
parent
a6f399a67a
commit
db84eac713
1 changed files with 4 additions and 1 deletions
|
|
@ -248,13 +248,16 @@ wxTaskBarIcon::ShowBalloon(const wxString& title,
|
|||
|
||||
wxUnusedVar(icon); // It's only unused if not supported actually.
|
||||
|
||||
#if _WIN32_WINNT >= 0x0600
|
||||
if ( icon.IsOk() )
|
||||
{
|
||||
m_balloonIcon = icon.GetIconFor(m_win);
|
||||
notifyData.hBalloonIcon = GetHiconOf(m_balloonIcon);
|
||||
notifyData.dwInfoFlags |= NIIF_USER | NIIF_LARGE_ICON;
|
||||
}
|
||||
else if ( flags & wxICON_INFORMATION )
|
||||
else
|
||||
#endif
|
||||
if ( flags & wxICON_INFORMATION )
|
||||
notifyData.dwInfoFlags |= NIIF_INFO;
|
||||
else if ( flags & wxICON_WARNING )
|
||||
notifyData.dwInfoFlags |= NIIF_WARNING;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue