diff options
Diffstat (limited to 'plugins/IEHistory/src/dlgHandlers.cpp')
-rw-r--r-- | plugins/IEHistory/src/dlgHandlers.cpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/plugins/IEHistory/src/dlgHandlers.cpp b/plugins/IEHistory/src/dlgHandlers.cpp index a5694d933f..418ae16b9a 100644 --- a/plugins/IEHistory/src/dlgHandlers.cpp +++ b/plugins/IEHistory/src/dlgHandlers.cpp @@ -457,19 +457,13 @@ INT_PTR CALLBACK HistoryDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPara break;
case IDC_PREV:
- {
- int finished = LoadPrev(hWnd);
- //EnableWindow(GetDlgItem(hWnd, IDC_PREV), !finished);
- //EnableWindow(GetDlgItem(hWnd, IDC_NEXT), TRUE);
+ LoadPrev(hWnd);
break;
- }
+
case IDC_NEXT:
- {
- int finished = LoadNext(hWnd);
- //EnableWindow(GetDlgItem(hWnd, IDC_NEXT), !finished);
- //EnableWindow(GetDlgItem(hWnd, IDC_PREV), TRUE);
+ LoadNext(hWnd);
break;
- }
+
case IDC_SEARCH:
HWND hSearch = CreateDialog(hInstance, MAKEINTRESOURCE(IDD_SEARCH), hWnd, SearchDlgProc);
if (hSearch == NULL) {
|