← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2203: add missing defs for MinGW

 

------------------------------------------------------------
revno: 2203
committer: poy <poy@xxxxxxxxxx>
branch nick: repo
timestamp: Tue 2010-08-10 18:58:48 +0200
message:
  add missing defs for MinGW
modified:
  dwt/include/dwt/dwt_vsstyle.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/dwt_vsstyle.h'
--- dwt/include/dwt/dwt_vsstyle.h	2010-03-03 16:36:59 +0000
+++ dwt/include/dwt/dwt_vsstyle.h	2010-08-10 16:58:48 +0000
@@ -35,7 +35,7 @@
 #ifdef __GNUC__
 // MinGW lacks vsstyle.h, so define what we need here
 
-#define VSCLASS_MENU	L"MENU"
+#define VSCLASS_MENU L"MENU"
 #define MENU_BARBACKGROUND 7
 #define MENU_BARITEM 8
 #define MENU_POPUPBACKGROUND 9
@@ -55,12 +55,18 @@
 #define MPI_DISABLED 3
 #define MPI_DISABLEDHOT 4
 
-#define VSCLASS_TAB	L"TAB"
+#define VSCLASS_TAB L"TAB"
 #define TABP_TABITEM 1
 #define TIS_NORMAL 1
 #define TIS_HOT 2
 #define TIS_SELECTED 3
 
+#define VSCLASS_WINDOW L"WINDOW"
+#define WP_CLOSEBUTTON 18
+#define CBS_NORMAL 1
+#define CBS_HOT 2
+#define CBS_PUSHED 3
+
 #else
 #include <vsstyle.h>
 #endif