Updates for VMS : new Makefiles, proper type casts

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jouk Jansen
2008-04-11 08:35:14 +00:00
parent 6f022dba69
commit 9b4fd94a4a
6 changed files with 22 additions and 13 deletions

View File

@@ -3,7 +3,7 @@
* Template for the set.h file for VMS *
* Created from setup.h_in *
* Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
* Date : 5 March 2008 *
* Date : 9 April 2008 *
* *
*****************************************************************************/
@@ -976,6 +976,12 @@ typedef pid_t GPid;
* with 'char*' for the 3rd parameter instead of 'const char*' */
#undef HAVE_BROKEN_VSNPRINTF_DECL
/* Define if you have vsscanf() */
#define HAVE_VSSCANF 1
/* Define if you have vsscanf() declaration in the header */
#define HAVE_VSSCANF_DECL 1
/* Define if you have usleep() */
#define HAVE_USLEEP 1

View File

@@ -2,7 +2,7 @@
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 10 January 2008 *
# Date : 9 April 2008 *
# *
#*****************************************************************************
.first
@@ -62,6 +62,7 @@ OBJECTS = \
bmpbase.obj,\
btncmn.obj,\
bookctrl.obj,\
calctrlcmn.obj,\
choiccmn.obj,\
clipcmn.obj,\
clntdata.obj,\
@@ -234,6 +235,7 @@ SOURCES = \
bmpbase.cpp,\
btncmn.cpp,\
bookctrl.cpp,\
calctrlcmn.cpp,\
cairo.cpp,\
choiccmn.cpp,\
clipcmn.cpp,\
@@ -630,3 +632,4 @@ filectrlcmn.obj : filectrlcmn.cpp
cairo.obj : cairo.cpp
overlaycmn.obj : overlaycmn.cpp
windowid.obj : windowid.cpp
calctrlcmn.obj : calctrlcmn.cpp

View File

@@ -2,7 +2,7 @@
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 3 January 2008 *
# Date : 8 April 2008 *
# *
#*****************************************************************************
.first
@@ -47,7 +47,7 @@ CC_DEFINE =
OBJECTS = \
aboutdlgg.obj,\
busyinfo.obj,\
calctrl.obj,\
calctrlg.obj,\
caret.obj,\
choicbkg.obj,\
choicdgg.obj,\
@@ -98,7 +98,7 @@ SOURCES = \
accel.cpp,\
animateg.cpp,\
busyinfo.cpp,\
calctrl.cpp,\
calctrlg.cpp,\
caret.cpp,\
choicbkg.cpp,\
choicdgg.cpp,\
@@ -208,7 +208,7 @@ aboutdlgg.obj : aboutdlgg.cpp
accel.obj : accel.cpp
animateg.obj : animateg.cpp
busyinfo.obj : busyinfo.cpp
calctrl.obj : calctrl.cpp
calctrlg.obj : calctrlg.cpp
caret.obj : caret.cpp
choicdgg.obj : choicdgg.cpp
clrpickerg.obj : clrpickerg.cpp

View File

@@ -1736,7 +1736,7 @@ void wxWindowDCImpl::SetPen( const wxPen &pen )
pixel = m_backgroundPixel;
else
{
pixel = CalculatePixel(m_pen.GetColour(), m_currentColour, false);
pixel = CalculatePixel( (wxColour&) m_pen.GetColour(), m_currentColour, false);
}
// Finally, set the GC to the required colour
@@ -1898,7 +1898,7 @@ void wxWindowDCImpl::SetBrush( const wxBrush &brush )
// must test m_logicalFunction, because it involves background!
if (!sameColour || !GET_OPTIMIZATION || m_logicalFunction == wxXOR)
{
WXPixel pixel = CalculatePixel(m_brush.GetColour(), m_currentColour, true);
WXPixel pixel = CalculatePixel( (wxColour&) m_brush.GetColour(), m_currentColour, true);
if (pixel > -1)
SetForegroundPixelWithLogicalFunction(pixel);

View File

@@ -2,7 +2,7 @@
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 5 September 2007 *
# Date : 8 April 2008 *
# *
#*****************************************************************************
.first
@@ -43,7 +43,7 @@ CC_DEFINE =
.c.obj :
cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c
OBJECTS = appunix.obj,baseunix.obj,\
OBJECTS = appunix.obj,apptraits.obj,\
dialup.obj,\
dir.obj,\
displayx11.obj,\
@@ -63,7 +63,7 @@ OBJECTS = appunix.obj,baseunix.obj,\
taskbarx11.obj,\
timerunx.obj
SOURCES = appunix.cpp,baseunix.cpp,\
SOURCES = appunix.cpp,apptraits.cpp,\
dialup.cpp,\
dir.cpp,\
displayx11.cpp,\
@@ -102,7 +102,7 @@ all : $(SOURCES)
.endif
appunix.obj : appunix.cpp
baseunix.obj : baseunix.cpp
apptraits.obj : apptraits.cpp
dialup.obj : dialup.cpp
dir.obj : dir.cpp
dlunix.obj : dlunix.cpp

View File

@@ -421,7 +421,7 @@ private:
int m_argc;
char **m_argv;
DECLARE_NO_COPY_CLASS(ArgsArray);
DECLARE_NO_COPY_CLASS(ArgsArray)
};
} // anonymous namespace