// Author: David Webster
// Modified by:
// Created: 10/27/99
-// RCS-ID: $Id$
// Copyright: (c) David Webster
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
const wxIcon& vIcon = GetIcon();
HPOINTER hIcon;
- if (vIcon.Ok())
+ if (vIcon.IsOk())
hIcon = (HPOINTER)::WinSendMsg(m_hFrame, WM_QUERYICON, 0L, 0L);
else
hIcon = (HPOINTER)m_hDefaultIcon;
{
MRESULT rc = (MRESULT)0;
bool bProcessed = false;
- wxFrame* pWnd = NULL;
- pWnd = (wxFrame*) wxFindWinFromHandle((WXHWND) hWnd);
+ wxFrame* pWnd = (wxFrame*) wxFindWinFromHandle((WXHWND) hWnd);
switch (ulMsg)
{
case WM_QUERYFRAMECTLCOUNT:
const wxIcon& vIcon = GetIcon();
HPOINTER hIcon;
- if (vIcon.Ok())
+ if (vIcon.IsOk())
hIcon = (HPOINTER)::WinSendMsg(GetHWND(), WM_QUERYICON, 0L, 0L);
else
hIcon = (HPOINTER)m_hDefaultIcon;