Code cleaning: whitespaces, -1/wxID_ANY/wxDefaultCoord, TRUE/true, FALSE/false, !!/!NotEmpty().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -308,7 +308,7 @@ bool wxDDEServer::Create(const wxString& server)
|
||||
|
||||
wxDDEServer::~wxDDEServer()
|
||||
{
|
||||
if ( !!m_serviceName )
|
||||
if ( !m_serviceName.IsEmpty() )
|
||||
{
|
||||
HSZ hsz = DDEAtomFromString(m_serviceName);
|
||||
|
||||
@@ -561,7 +561,7 @@ bool wxDDEConnection::Execute(const wxChar *data, int size, wxIPCFormat format)
|
||||
size = wxStrlen(data) + 1;
|
||||
}
|
||||
|
||||
bool ok = DdeClientTransaction((LPBYTE)data,
|
||||
bool ok = DdeClientTransaction((LPBYTE)data,
|
||||
size * sizeof(wxChar),
|
||||
GetHConv(),
|
||||
NULL,
|
||||
@@ -621,7 +621,7 @@ bool wxDDEConnection::Poke(const wxString& item, wxChar *data, int size, wxIPCFo
|
||||
}
|
||||
|
||||
HSZ item_atom = DDEGetAtom(item);
|
||||
bool ok = DdeClientTransaction((LPBYTE)data,
|
||||
bool ok = DdeClientTransaction((LPBYTE)data,
|
||||
size * sizeof(wxChar),
|
||||
GetHConv(),
|
||||
item_atom, format,
|
||||
|
||||
Reference in New Issue
Block a user