Compilation fix for wxCStrData handling.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2007-04-06 20:06:41 +00:00
parent f8ab85ae72
commit f450b5cf10
6 changed files with 21 additions and 21 deletions

View File

@@ -415,19 +415,19 @@ void wxMenuItem::SetText( const wxString& rText )
uFlagsOld |= MIS_SUBMENU;
}
BYTE* pData;
char* pData;
#if wxUSE_OWNER_DRAWN
if (IsOwnerDrawn())
{
uFlagsOld |= MIS_OWNERDRAW;
pData = (BYTE*)this;
pData = (char*)this;
}
else
#endif //owner drawn
{
uFlagsOld |= MIS_TEXT;
pData = (BYTE*)m_text.c_str();
pData = m_text.char_str();
}
//