//
// Icons in PM are the same as "pointers"
//
+ const wxIcon& vIcon = GetIcon();
HPOINTER hIcon;
- if (m_icon.Ok())
+ if (vIcon.Ok())
hIcon = (HPOINTER)::WinSendMsg(m_hFrame, WM_QUERYICON, 0L, 0L);
else
hIcon = (HPOINTER)m_hDefaultIcon;
PositionToolBar();
#endif // wxUSE_TOOLBAR
- wxSizeEvent vEvent( wxSize( nX
- ,nY
- )
- ,m_windowId
- );
-
- vEvent.SetEventObject(this);
- bProcessed = GetEventHandler()->ProcessEvent(vEvent);
+ bProcessed = wxWindow::HandleSize( nX
+ ,nY
+ ,nId
+ );
}
return bProcessed;
} // end of wxFrame::HandleSize
case CM_QUERYDRAGIMAGE:
{
+ const wxIcon& vIcon = GetIcon();
HPOINTER hIcon;
- if (m_icon.Ok())
+ if (vIcon.Ok())
hIcon = (HPOINTER)::WinSendMsg(GetHWND(), WM_QUERYICON, 0L, 0L);
else
hIcon = (HPOINTER)m_hDefaultIcon;