git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22849
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#define CASTWNDPROC (WndProcCast)
#define CASTWNDPROC (WndProcCast)
+//is this the right place; doing a #include...missing.h gives errors (CE)
+#if defined(__DIGITALMARS__)
+#define CCS_VERT 0x00000080L
+#endif
+
// ---------------------------------------------------------------------------
// some stuff for old Windows versions (FIXME: what does it do here??)
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// some stuff for old Windows versions (FIXME: what does it do here??)
// ---------------------------------------------------------------------------
#include "wx/msw/wrapcctl.h"
#if (!defined(__MINGW32__) || wxCHECK_W32API_VERSION( 2, 0 )) && \
#include "wx/msw/wrapcctl.h"
#if (!defined(__MINGW32__) || wxCHECK_W32API_VERSION( 2, 0 )) && \
- !defined(__CYGWIN__) && !defined(__WXWINCE__) && \
- (!defined(_MSC_VER) || (_MSC_VER > 1100))
+ !defined(__CYGWIN__) && !defined(__DIGITALMARS__) && !defined(__WXWINCE__) && \
+ (!defined(_MSC_VER) || (_MSC_VER > 1100))
#include <shlwapi.h>
#endif
#include <shlwapi.h>
#endif
/* static */
int wxApp::GetComCtl32Version()
{
/* static */
int wxApp::GetComCtl32Version()
{
-#if defined(__WXMICROWIN__) || defined(__WXWINCE__)
+//FIX ME FOR DIGITALMARS!!
+#if defined(__WXMICROWIN__) || defined(__WXWINCE__) || defined(__DIGITALMARS__)
return 0;
#else
// cache the result
return 0;
#else
// cache the result
LIBTARGET = $(LIBDIR)\wx$(SC_SUFFIX).lib
LIBTARGET = $(LIBDIR)\wx$(SC_SUFFIX).lib
$(COMMDIR)\imagtiff.obj \
$(COMMDIR)\imagxpm.obj \
$(COMMDIR)\intl.obj \
$(COMMDIR)\imagtiff.obj \
$(COMMDIR)\imagxpm.obj \
$(COMMDIR)\intl.obj \
$(COMMDIR)\ipcbase.obj \
$(COMMDIR)\layout.obj \
$(COMMDIR)\lboxcmn.obj \
$(COMMDIR)\ipcbase.obj \
$(COMMDIR)\layout.obj \
$(COMMDIR)\lboxcmn.obj \
{
// TB_GETBUTTONSIZE is supported from version 4.70
#if defined(_WIN32_IE) && (_WIN32_IE >= 0x300 ) \
{
// TB_GETBUTTONSIZE is supported from version 4.70
#if defined(_WIN32_IE) && (_WIN32_IE >= 0x300 ) \
- && !( defined(__GNUWIN32__) && !wxCHECK_W32API_VERSION( 1, 0 ) )
+ && !( defined(__GNUWIN32__) && !wxCHECK_W32API_VERSION( 1, 0 ) ) \
+ && !defined (__DIGITALMARS__)
if ( wxTheApp->GetComCtl32Version() >= 470 )
{
DWORD dw = ::SendMessage(GetHwnd(), TB_GETBUTTONSIZE, 0, 0);
if ( wxTheApp->GetComCtl32Version() >= 470 )
{
DWORD dw = ::SendMessage(GetHwnd(), TB_GETBUTTONSIZE, 0, 0);