git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36002
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Author: Stefan Csomor
// Modified by:
// Created: 08/05/99
// Author: Stefan Csomor
// Modified by:
// Created: 08/05/99
// Copyright: (c) 1999 Stefan Csomor
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Copyright: (c) 1999 Stefan Csomor
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/gdicmn.h"
#include "wx/math.h"
#include "wx/gdicmn.h"
#include "wx/math.h"
+#if defined(__WXMSW__) && !defined(__WXWINCE__)
#define wxMulDivInt32( a , b , c ) ::MulDiv( a , b , c )
#elif defined( __WXMAC__ )
#define wxMulDivInt32( a , b , c ) ( (wxInt32) ( ( (wxInt64)(a) * (wxInt64)(b) ) / (wxInt64)(c) ) )
#define wxMulDivInt32( a , b , c ) ::MulDiv( a , b , c )
#elif defined( __WXMAC__ )
#define wxMulDivInt32( a , b , c ) ( (wxInt32) ( ( (wxInt64)(a) * (wxInt64)(b) ) / (wxInt64)(c) ) )
wxArrayString& error,
int flags = 0);
wxArrayString& error,
int flags = 0);
+#if defined(__WXMSW__) && wxUSE_IPC
// ask a DDE server to execute the DDE request with given parameters
WXDLLIMPEXP_BASE bool wxExecuteDDE(const wxString& ddeServer,
const wxString& ddeTopic,
const wxString& ddeCommand);
// ask a DDE server to execute the DDE request with given parameters
WXDLLIMPEXP_BASE bool wxExecuteDDE(const wxString& ddeServer,
const wxString& ddeTopic,
const wxString& ddeCommand);
+#endif // __WXMSW__ && wxUSE_IPC
url.Prepend(wxT("http://"));
#if defined(__WXMSW__)
url.Prepend(wxT("http://"));
#if defined(__WXMSW__)
if ( flags & wxBROWSER_NEW_WINDOW )
{
// ShellExecuteEx() opens the URL in an existing window by default so
if ( flags & wxBROWSER_NEW_WINDOW )
{
// ShellExecuteEx() opens the URL in an existing window by default so
WinStruct<SHELLEXECUTEINFO> sei;
sei.lpFile = url.c_str();
WinStruct<SHELLEXECUTEINFO> sei;
sei.lpFile = url.c_str();
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// Name: msw/ole/activex.cpp
+// Name: src/msw/ole/activex.cpp
// Purpose: wxActiveXContainer implementation
// Author: Ryan Norton <wxprojects@comcast.net>, Lindsay Mathieson <???>
// Modified by:
// Purpose: wxActiveXContainer implementation
// Author: Ryan Norton <wxprojects@comcast.net>, Lindsay Mathieson <???>
// Modified by:
#endif
#include "wx/dcclient.h"
#endif
#include "wx/dcclient.h"
+#include "wx/geometry.h"
#include "wx/msw/ole/activex.h"
#include "wx/msw/ole/activex.h"
};
#define HIMETRIC_INCH 2540
};
#define HIMETRIC_INCH 2540
-#define CONVERT(x, logpixels) MulDiv(HIMETRIC_INCH, (x), (logpixels))
+#define CONVERT(x, logpixels) wxMulDivInt32(HIMETRIC_INCH, (x), (logpixels))
sz.cx = CONVERT(sz.cx, logX);
sz.cy = CONVERT(sz.cy, logY);
sz.cx = CONVERT(sz.cx, logX);
sz.cy = CONVERT(sz.cy, logY);