linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #02779
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2362: defs for mingw
------------------------------------------------------------
revno: 2362
committer: poy <poy@xxxxxxxxxx>
branch nick: trunk
timestamp: Thu 2010-12-23 15:41:20 +0100
message:
defs for mingw
modified:
dwt/include/dwt/GCCHeaders.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 2010-12-20 17:40:42 +0000
+++ dwt/include/dwt/GCCHeaders.h 2010-12-23 14:41:20 +0000
@@ -48,23 +48,24 @@
#include <boost/make_shared.hpp>
#define SHARED_PTR_NS boost
-// Need to forward declare these since GCC does syntax checking of
-// non-instantiated templates!
-BOOL CommandBar_InsertMenubarEx( HWND hwndCB, HINSTANCE hInst, LPTSTR pszMenu, WORD iButton );
-BOOL CommandBar_AddAdornments( HWND hwndCB, DWORD dwFlags, DWORD dwReserved );
-void CommandBar_Destroy( HWND hwndCB );
+#ifndef BCM_FIRST
+#define BCM_FIRST 0x1600
+#endif
+#ifndef BCM_GETIDEALSIZE
+#define BCM_GETIDEALSIZE (BCM_FIRST + 0x0001)
+#endif
+#ifndef BCM_SETTEXTMARGIN
+#define BCM_SETTEXTMARGIN (BCM_FIRST + 0x0004)
+#endif
#ifndef BUTTON_IMAGELIST_ALIGN_CENTER
-
typedef struct
{
HIMAGELIST himl; // Index: Normal, hot pushed, disabled. If count is less than 4, we use index 1
RECT margin; // Margin around icon.
UINT uAlign;
} BUTTON_IMAGELIST, * PBUTTON_IMAGELIST;
-
#define BUTTON_IMAGELIST_ALIGN_CENTER 4 // Doesn't draw text
-
#endif
#define COLOR_MENUHILIGHT 29