[Bug 3900] New: The macro DateTime_SetMonthCalColor is not defined.
Wine Bugs
wine-bugs at winehq.org
Mon Nov 21 11:35:15 CST 2005
http://bugs.winehq.org/show_bug.cgi?id=3900
Summary: The macro DateTime_SetMonthCalColor is not defined.
Product: Wine
Version: 0.9.1.
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-winelib
AssignedTo: wine-bugs at winehq.org
ReportedBy: andrew7webb at comcast.net
#define DateTime_SetMonthCalColor(hdp, iColor, clr) SNDMSG(hdp, DTM_SETMCCOLOR,
iColor, clr)
should be added to commctrl.h around line 4773, with the rest of the DateTime
macros.
PROBLEM CAUSED: Any source which has DateTime_SetMonthCalColor will fail to
compile. SmartWin's tests use this function or macro.
SmartWin++ ( http://sourceforge.net/projects/smartwin/ ) is a C++ GUI library
that uses WIN32, and thus should be able to be ported using Winelib. We have
had some success in getting most of the sample code running, but some tests
fail. I'm working through the problems slowly and will be reporting WINELIB
problem as they are precisely identified.
FIX TESTED ?: Yes, I inserted this line in commctrl.h on my local machine, did
a make wine & make install, and it fixed the problem.
HOW TO REPRODUCE THE PROBLEM AND CHECK THE FIX:
Fetch the latest SmartWin++ source using cvs with:
cvs -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/smartwin login
cvs -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/smartwin checkout SmartWin
Remove the two places where the code provides its own DateTime_SetMonthCalColor
in WindowsHeader.h and Widget.cpp so you can see the problem.
cd SmartWin/source
make -f Makefile.wine (And the libsmartwin.a library should be put into ../lib)
cd ../tests/WidgetDateTimePicker
make -f Makefile.wine run (And the sample program should start running.)
The Calendar's month should have a purple background, and a red title. (I
know, its a bit ugly)
best regards,
Andrew Webb, andrew7webb at comcast.net
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list