X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7a0e7e55d82e9c897c4bb1deff46967d52db29cc..0aaa804e7019b8187e2d35dffba133b43af79533:/src/msw/stattext.cpp diff --git a/src/msw/stattext.cpp b/src/msw/stattext.cpp index 7eaa18b562..36ee627375 100644 --- a/src/msw/stattext.cpp +++ b/src/msw/stattext.cpp @@ -123,6 +123,9 @@ WXDWORD wxStaticText::MSWGetStyle(long style, WXDWORD *exstyle) const else msStyle |= SS_LEFT; + // this style is necessary to receive mouse events + msStyle |= SS_NOTIFY; + return msStyle; }