From d34945e300b00e33d79c54b5b1e2acd005394a13 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 19 Oct 2017 21:15:34 +0300 Subject: fixes #1004 (Blank buttons toolbar after reset) --- include/m_message.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/m_message.h b/include/m_message.h index b2bbf34070..e1dfd41ed7 100644 --- a/include/m_message.h +++ b/include/m_message.h @@ -320,10 +320,10 @@ struct CustomButtonData : public MZeroedObject DWORD m_dwPosition; // default order pos of button, counted from window edge (left or right) - DWORD m_dwButtonOrigID; // id of button used while button creation and to store button info in DB - ptrA m_pszModuleName; // module name without spaces and underline symbols (e.g. "tabsrmm") + DWORD m_dwButtonID; // id of button used while button creation and to store button info in DB + ptrA m_pszModuleName; // module name without spaces and underline symbols (e.g. "tabsrmm") - DWORD m_dwButtonCID; + DWORD m_dwButtonCID; // button's control id DWORD m_dwArrowCID; // only use with BBBF_ISARROWBUTTON flag ptrW m_pwszText; // button's text @@ -337,6 +337,7 @@ struct CustomButtonData : public MZeroedObject bool m_bRSided; BYTE m_opFlags; int m_hLangpack; + DWORD m_dwOrigPosition; struct THotkeyItem *m_hotkey; }; -- cgit v1.2.3