wxIconBundle implementation.
wxTLW::SetIcons() properly implemented for wxMotif, wxGTK, wxMSW, wxX11, wxUniversal Placeholders that just call SetIcon for wxOS2 and wxMac. Regenerated makefiles. Added hardwired wxSYS_ICON_X/Y = 32 for wxGTK. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -602,8 +602,9 @@ bool wxFrame::HandlePaint()
|
||||
#ifndef __WXMICROWIN__
|
||||
if ( m_iconized )
|
||||
{
|
||||
HICON hIcon = m_icon.Ok() ? GetHiconOf(m_icon)
|
||||
: (HICON)GetDefaultIcon();
|
||||
const wxIcon& icon = GetIcon();
|
||||
HICON hIcon = icon.Ok() ? GetHiconOf(icon)
|
||||
: (HICON)GetDefaultIcon();
|
||||
|
||||
// Hold a pointer to the dc so long as the OnPaint() message
|
||||
// is being processed
|
||||
@@ -837,8 +838,9 @@ long wxFrame::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam)
|
||||
|
||||
case WM_QUERYDRAGICON:
|
||||
{
|
||||
HICON hIcon = m_icon.Ok() ? GetHiconOf(m_icon)
|
||||
: (HICON)GetDefaultIcon();
|
||||
const wxIcon& icon = GetIcon();
|
||||
HICON hIcon = icon.Ok() ? GetHiconOf(icon)
|
||||
: (HICON)GetDefaultIcon();
|
||||
rc = (long)hIcon;
|
||||
processed = rc != 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user