diff options
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r-- | plugins/ExternalAPI/delphi/m_toptoolbar.inc | 1 | ||||
-rw-r--r-- | plugins/ExternalAPI/m_toptoolbar.h | 7 |
2 files changed, 3 insertions, 5 deletions
diff --git a/plugins/ExternalAPI/delphi/m_toptoolbar.inc b/plugins/ExternalAPI/delphi/m_toptoolbar.inc index 5dfbee3b53..2815b6e105 100644 --- a/plugins/ExternalAPI/delphi/m_toptoolbar.inc +++ b/plugins/ExternalAPI/delphi/m_toptoolbar.inc @@ -18,7 +18,6 @@ const type
PTTBButton = ^TTBButton;
TTBButton = record
- cbSize :int;
pszService :PAnsiChar; // or program for lButtons
dwFlags :dword;
lParamUp :LPARAM;
diff --git a/plugins/ExternalAPI/m_toptoolbar.h b/plugins/ExternalAPI/m_toptoolbar.h index 1d3766290e..cd98be6dee 100644 --- a/plugins/ExternalAPI/m_toptoolbar.h +++ b/plugins/ExternalAPI/m_toptoolbar.h @@ -13,8 +13,8 @@ #define TTBBF_ISSBUTTON 0x0100
#define TTBBF_ASPUSHBUTTON 0x0200
-typedef struct {
- int cbSize;
+struct TTBButton
+{
union {
char *pszService;
TCHAR *program;
@@ -36,8 +36,7 @@ typedef struct { char *pszTooltipUp;
char *pszTooltipDn;
-}
- TTBButton, * lpTTBButton;
+};
//=== EVENTS ===
/*
|