소스 검색

Unused function

Source commit: 4e4ab5c865d746bb3e2f1ebcdaeb1fb678f5dd3b
Martin Prikryl 9 년 전
부모
커밋
1a48a0420f
2개의 변경된 파일0개의 추가작업 그리고 8개의 파일을 삭제
  1. 0 7
      source/windows/VCLCommon.cpp
  2. 0 1
      source/windows/VCLCommon.h

+ 0 - 7
source/windows/VCLCommon.cpp

@@ -1678,13 +1678,6 @@ void __fastcall HintLabel(TStaticText * StaticText, UnicodeString Hint)
   StaticText->WindowProc = WindowProc;
 }
 //---------------------------------------------------------------------------
-void __fastcall HintLabelRestore(TStaticText * StaticText)
-{
-  StaticText->WindowProc = ControlWndProc(StaticText);
-  StaticText->ShowHint = false;
-  StaticText->Cursor = crDefault;
-}
-//---------------------------------------------------------------------------
 static void __fastcall ComboBoxFixWindowProc(void * Data, TMessage & Message)
 {
   // it is TCustomComboxBox, but the properties are published only by TComboBox

+ 0 - 1
source/windows/VCLCommon.h

@@ -23,7 +23,6 @@ void __fastcall ResetSystemSettings(TCustomForm * Control);
 void __fastcall LinkLabel(TStaticText * StaticText, UnicodeString Url = L"",
   TNotifyEvent OnEnter = NULL);
 void __fastcall HintLabel(TStaticText * StaticText, UnicodeString Hint = L"");
-void __fastcall HintLabelRestore(TStaticText * StaticText);
 void __fastcall HotTrackLabel(TLabel * Label);
 void __fastcall FixComboBoxResizeBug(TCustomComboBox * ComboBox);
 void __fastcall ShowAsModal(TForm * Form, void *& Storage);