summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/src/HotkeyHelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/BasicHistory/src/HotkeyHelper.cpp')
-rw-r--r--plugins/BasicHistory/src/HotkeyHelper.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/BasicHistory/src/HotkeyHelper.cpp b/plugins/BasicHistory/src/HotkeyHelper.cpp
index eeb537456a..29f916ea3c 100644
--- a/plugins/BasicHistory/src/HotkeyHelper.cpp
+++ b/plugins/BasicHistory/src/HotkeyHelper.cpp
@@ -18,6 +18,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "StdAfx.h"
#include "HotkeyHelper.h"
+#include "resource.h"
+#include "Options.h"
LRESULT CALLBACK HotkeySubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
@@ -44,6 +46,10 @@ LRESULT CALLBACK HotkeySubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM l
WNDPROC oldProc = (WNDPROC)GetWindowLongPtr(hwnd, GWLP_USERDATA);
switch (msg) {
+ case WM_NCPAINT:
+ if(Options::instance->noFindBorder && GetDlgCtrlID(hwnd) == IDC_FIND_TEXT)
+ return 0;
+ break;
case WM_CHAR:
case WM_SYSCHAR:
case WM_UNICHAR: