generate mouse events for all static controls, not just wxStaticLine (patch 1276413 by Jamie Gadd)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-08-30 13:54:29 +00:00
parent 4ce18ecb66
commit 42b1fb630d
6 changed files with 19 additions and 39 deletions

View File

@@ -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;
}