Skip to content

Commit d26cac6

Browse files
committed
declare flashWindow as const
1 parent b4e9f00 commit d26cac6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

PythonScript/src/NotepadPlusWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@ bool NotepadPlusWrapper::isSingleView()
10741074
return !IsWindowVisible(splitter_hwnd);
10751075
}
10761076

1077-
void NotepadPlusWrapper::flashWindow(UINT count, DWORD milliseconds)
1077+
void NotepadPlusWrapper::flashWindow(UINT count, DWORD milliseconds) const
10781078
{
10791079
FLASHWINFO flashinfo{};
10801080
flashinfo.cbSize = sizeof(flashinfo);

PythonScript/src/NotepadPlusWrapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ class NotepadPlusWrapper
863863
boost::python::str getPluginVersion();
864864

865865
bool isSingleView();
866-
void flashWindow(UINT count, DWORD timeout);
866+
void flashWindow(UINT count, DWORD timeout) const;
867867

868868
protected:
869869
LRESULT callNotepad(UINT message, WPARAM wParam = 0, LPARAM lParam = 0)

0 commit comments

Comments
 (0)