소스 검색

Comment on common code between THistoryComboBox.DropDown and TIECustomComboBox.DropDown

Source commit: 2e9d0a701486ca709d41878bf7a255f33f98219f
Martin Prikryl 9 년 전
부모
커밋
b8d750fe2f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      source/packages/filemng/IEComboBox.pas

+ 1 - 0
source/packages/filemng/IEComboBox.pas

@@ -213,6 +213,7 @@ begin
       Self.Perform(CB_SETDROPPEDWIDTH, FDropDownFixedWidth, 0)
       Self.Perform(CB_SETDROPPEDWIDTH, FDropDownFixedWidth, 0)
     else
     else
   begin
   begin
+    // The same code is in THistoryComboBox.DropDown
     ItemWidth := GetMaxItemWidth + ScaleByPixelsPerInch(8);
     ItemWidth := GetMaxItemWidth + ScaleByPixelsPerInch(8);
     if Items.Count > DropDownCount then
     if Items.Count > DropDownCount then
       Inc(ItemWidth, GetSystemMetrics(SM_CXVSCROLL));
       Inc(ItemWidth, GetSystemMetrics(SM_CXVSCROLL));