Skip to content

Commit 99a9028

Browse files
committed
Sync with YRpp changes
1 parent f8134c1 commit 99a9028

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

src/OwnerDraw/ComboBox.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ LRESULT CALLBACK WWUI::ComboBoxCtrl(HWND hWnd, UINT message, WPARAM wParam, LPAR
653653
if (!pEntry)
654654
return CB_ERR;
655655

656-
if (message == CB_GETITEMDATA || message == WW_GETITEMDATA)
656+
if (message == CB_GETITEMDATA || message == LB_GETITEMDATA)
657657
return pEntry->ItemData;
658658

659659
pEntry->ItemData = static_cast<int>(lParam);
@@ -735,8 +735,8 @@ LRESULT CALLBACK WWUI::ComboBoxCtrl(HWND hWnd, UINT message, WPARAM wParam, LPAR
735735

736736
case CB_GETITEMDATA:
737737
case CB_SETITEMDATA:
738-
case WW_GETITEMDATA:
739-
case WW_SETITEMDATA:
738+
case LB_GETITEMDATA:
739+
case LB_SETITEMDATA:
740740
return handleItemData();
741741

742742
case WW_INITDIALOG:

src/OwnerDraw/OwnerDraw.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1782,9 +1782,6 @@ LRESULT __fastcall WWUI::OwnerDrawStandardWndProc(HWND hWnd, UINT message, WPARA
17821782
case WW_TRANSITION_COMPLETE:
17831783
::EnumChildWindows(hWnd, OwnerDraw::SendTransitionCompleteToCustomTextChildProc, 0);
17841784
return 0;
1785-
1786-
default:
1787-
return 0;
17881785
}
17891786

17901787
return 0;

0 commit comments

Comments
 (0)