#include "wx/dde.h"
#include "wx/intl.h"
#include "wx/hashmap.h"
+#include "wx/math.h"
#include "wx/msw/private.h"
#include <string.h>
#include <ddeml.h>
-#include <math.h>
// ----------------------------------------------------------------------------
// macros and constants
}
DWORD len = DdeGetData(returned_data, NULL, 0, 0);
- len = ceil( double(len)/sizeof(wxChar) );
+ len = (DWORD)ceil( double(len)/sizeof(wxChar) );
wxChar *data = GetBufferAtLeast( len );
wxASSERT_MSG(data != NULL,
if (connection)
{
DWORD len = DdeGetData(hData, NULL, 0, 0);
- len = ceil( double(len)/sizeof(wxChar) );
+ len = (DWORD)ceil( double(len)/sizeof(wxChar) );
wxChar *data = connection->GetBufferAtLeast( len );
wxASSERT_MSG(data != NULL,
wxString item_name = DDEStringFromAtom(hsz2);
DWORD len = DdeGetData(hData, NULL, 0, 0);
- len = ceil( double(len) / sizeof(wxChar) );
+ len = (DWORD)ceil( double(len) / sizeof(wxChar) );
wxChar *data = connection->GetBufferAtLeast( len );
wxASSERT_MSG(data != NULL,
wxString item_name = DDEStringFromAtom(hsz2);
DWORD len = DdeGetData(hData, NULL, 0, 0);
- len = ceil( double(len) / sizeof(wxChar) );
+ len = (DWORD)ceil( double(len) / sizeof(wxChar) );
wxChar *data = connection->GetBufferAtLeast( len );
wxASSERT_MSG(data != NULL,