------------------------------------------------------------
revno: 2667
committer: Jacek Sieka <[email protected]>
branch nick: dcplusplus
timestamp: Mon 2011-11-07 20:32:44 +0100
message:
  Mingw fixes
modified:
  dwt/include/dwt/GCCHeaders.h
  dwt/include/dwt/aspects/CustomDraw.h


--
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/include/dwt/GCCHeaders.h'
--- dwt/include/dwt/GCCHeaders.h	2011-05-27 11:22:59 +0000
+++ dwt/include/dwt/GCCHeaders.h	2011-11-07 19:32:44 +0000
@@ -336,6 +336,14 @@
 } DTTOPTS, *PDTTOPTS; 
 #endif
 
+// No definition of this struct in mingw
+typedef struct tagNMTTCUSTOMDRAW
+{
+    NMCUSTOMDRAW nmcd;
+    UINT uDrawFlags;
+} NMTTCUSTOMDRAW, *LPNMTTCUSTOMDRAW;
+
+
 #ifdef max
 #undef max
 #endif

=== modified file 'dwt/include/dwt/aspects/CustomDraw.h'
--- dwt/include/dwt/aspects/CustomDraw.h	2011-11-07 17:59:57 +0000
+++ dwt/include/dwt/aspects/CustomDraw.h	2011-11-07 19:32:44 +0000
@@ -44,7 +44,7 @@
 
 	struct Dispatcher : Dispatchers::Base<LRESULT (DataType&)> {
 		typedef Dispatchers::Base<LRESULT (DataType&)> BaseType;
-		Dispatcher(const F& f) : BaseType(f) { }
+		Dispatcher(const typename BaseType::F& f) : BaseType(f) { }
 
 		bool operator()(const MSG& msg, LRESULT& ret) const {
 			ret = f(*reinterpret_cast<DataType*>(msg.lParam));

_______________________________________________
Mailing list: https://launchpad.net/~linuxdcpp-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~linuxdcpp-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to