------------------------------------------------------------
revno: 2893
committer: poy <[email protected]>
branch nick: trunk
timestamp: Sat 2012-04-07 18:26:13 +0200
message:
add a missing def for mingw
modified:
dwt/src/widgets/RichTextBox.cpp
--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk
Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'dwt/src/widgets/RichTextBox.cpp'
--- dwt/src/widgets/RichTextBox.cpp 2012-04-05 20:25:35 +0000
+++ dwt/src/widgets/RichTextBox.cpp 2012-04-07 16:26:13 +0000
@@ -42,11 +42,16 @@
#include <dwt/LibraryLoader.h>
+/// @todo remove when MinGW has these - defined here instead of GCCHeaders.h because they're from richedit.h
+#ifndef MSFTEDIT_CLASS
+#define MSFTEDIT_CLASS L"RICHEDIT50W"
+#endif
+#ifndef CFM_BACKCOLOR
+#define CFM_BACKCOLOR 0x04000000
+#endif
+
namespace dwt {
-#ifndef MSFTEDIT_CLASS /// @todo remove when MinGW has this
-#define MSFTEDIT_CLASS L"RICHEDIT50W"
-#endif
const TCHAR RichTextBox::windowClass[] = MSFTEDIT_CLASS;
RichTextBox::Seed::Seed() :
_______________________________________________
Mailing list: https://launchpad.net/~linuxdcpp-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~linuxdcpp-team
More help : https://help.launchpad.net/ListHelp