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:
@@ -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();
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user