Skip to content

Commit

Permalink
Fix drop-down menus not being displayed in the correct position when …
Browse files Browse the repository at this point in the history
…the toolbar is movable.
  • Loading branch information
sdottaka committed Jul 15, 2024
1 parent e95bd1d commit e1f2f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/MainFrm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2919,7 +2919,7 @@ void CMainFrame::OnPluginsList()
void CMainFrame::OnToolbarButtonDropDown(NMHDR* pNMHDR, LRESULT* pResult)
{
LPNMTOOLBAR pToolBar = reinterpret_cast<LPNMTOOLBAR>(pNMHDR);
ClientToScreen(&(pToolBar->rcButton));
m_wndToolBar.ClientToScreen(&(pToolBar->rcButton));
BCMenu menu;
int id;
switch (pToolBar->iItem)
Expand Down

0 comments on commit e1f2f87

Please sign in to comment.