SplitterContainer: removed useless code

This commit is contained in:
Damien GERARD 2015-08-14 05:59:29 -07:00
parent 2ad6ba5a44
commit dc3ef779ce
1 changed files with 0 additions and 2 deletions

View File

@ -249,8 +249,6 @@ LRESULT SplitterContainer::runProc(UINT message, WPARAM wParam, LPARAM lParam)
if (!_hPopupMenu)
{
POINT p;
::GetCursorPos(&p);
_hPopupMenu = ::CreatePopupMenu();
::InsertMenu(_hPopupMenu, 1, MF_BYPOSITION, ROTATION_A_GAUCHE, TEXT("Rotate to left"));
::InsertMenu(_hPopupMenu, 0, MF_BYPOSITION, ROTATION_A_DROITE, TEXT("Rotate to right"));