瀏覽代碼

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)
     else
   begin
+    // The same code is in THistoryComboBox.DropDown
     ItemWidth := GetMaxItemWidth + ScaleByPixelsPerInch(8);
     if Items.Count > DropDownCount then
       Inc(ItemWidth, GetSystemMetrics(SM_CXVSCROLL));