diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-04-29 10:57:16 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-04-29 10:57:16 +0200 |
commit | 19b8624298f5ef7d355d8551427945a750d32c64 (patch) | |
tree | 8a3ec94c1e93c05015d0adf6789d0a7e8b93facc | |
parent | 2bc72af1ccadad45bbc07b81cb22fe1b7ec01252 (diff) | |
download | fpGUI-19b8624298f5ef7d355d8551427945a750d32c64.tar.xz |
Fixed code to remove compiler warnings/hints.
-rw-r--r-- | src/corelib/fpg_translations.pas | 1 | ||||
-rw-r--r-- | src/corelib/fpg_widget.pas | 1 | ||||
-rw-r--r-- | src/corelib/gdi/fpg_gdi.pas | 1 | ||||
-rw-r--r-- | src/corelib/gdi/fpg_utils_impl.inc | 1 | ||||
-rw-r--r-- | src/gui/fpg_combobox.pas | 2 | ||||
-rw-r--r-- | src/gui/fpg_hint.pas | 3 |
6 files changed, 0 insertions, 9 deletions
diff --git a/src/corelib/fpg_translations.pas b/src/corelib/fpg_translations.pas index 31aeb360..996387c7 100644 --- a/src/corelib/fpg_translations.pas +++ b/src/corelib/fpg_translations.pas @@ -67,7 +67,6 @@ uses GetText ,fpg_pofiles ,fpg_utils - ,fpg_main ; diff --git a/src/corelib/fpg_widget.pas b/src/corelib/fpg_widget.pas index da789c26..5804c18e 100644 --- a/src/corelib/fpg_widget.pas +++ b/src/corelib/fpg_widget.pas @@ -181,7 +181,6 @@ implementation uses fpg_constants, - fpg_hint, fpg_menu; diff --git a/src/corelib/gdi/fpg_gdi.pas b/src/corelib/gdi/fpg_gdi.pas index b6ff7394..0b4ab441 100644 --- a/src/corelib/gdi/fpg_gdi.pas +++ b/src/corelib/gdi/fpg_gdi.pas @@ -1169,7 +1169,6 @@ begin Exit; // handling waiting timeout end; - {$Note Incorporate Felipe's code from previous fpGUI in here. It handles WinCE and Windows just fine. } {$IFDEF WinCE} // No GetVersion Windows.GetMessageW(@Msg, 0, 0, 0); //NT diff --git a/src/corelib/gdi/fpg_utils_impl.inc b/src/corelib/gdi/fpg_utils_impl.inc index d8b9ce88..d3bb2f0c 100644 --- a/src/corelib/gdi/fpg_utils_impl.inc +++ b/src/corelib/gdi/fpg_utils_impl.inc @@ -1,7 +1,6 @@ {%mainunit fpg_utils.pas} uses - Registry, Shellapi; // GDI specific implementations of encoding functions diff --git a/src/gui/fpg_combobox.pas b/src/gui/fpg_combobox.pas index 2fc1432a..bf179dad 100644 --- a/src/gui/fpg_combobox.pas +++ b/src/gui/fpg_combobox.pas @@ -407,8 +407,6 @@ end; { TComboboxDropdownWindow } procedure TComboboxDropdownWindow.SetFirstItem; -var - i: integer; begin // If FocusItem is less than DropDownCount FirsItem = 0 if ListBox.FocusItem+1 <= FCallerWidget.DropDownCount then diff --git a/src/gui/fpg_hint.pas b/src/gui/fpg_hint.pas index 131d9366..38fff686 100644 --- a/src/gui/fpg_hint.pas +++ b/src/gui/fpg_hint.pas @@ -93,9 +93,6 @@ var implementation -uses - fpg_constants; - type TfpgHintShadow = class(TfpgForm) |