wxDDEServer::~wxDDEServer()
{
- if ( !!m_serviceName )
+ if ( !m_serviceName.IsEmpty() )
{
HSZ hsz = DDEAtomFromString(m_serviceName);
size = wxStrlen(data) + 1;
}
- bool ok = DdeClientTransaction((LPBYTE)data,
+ bool ok = DdeClientTransaction((LPBYTE)data,
size * sizeof(wxChar),
GetHConv(),
NULL,
}
HSZ item_atom = DDEGetAtom(item);
- bool ok = DdeClientTransaction((LPBYTE)data,
+ bool ok = DdeClientTransaction((LPBYTE)data,
size * sizeof(wxChar),
GetHConv(),
item_atom, format,