Redefine wxTRANSPARENT_WINDOW as 0 and stop using it
This style never did anything useful in wxMSW and did nothing at all in all the other ports, so always was rather useless, but became actively harmful not that WS_EX_COMPOSITED is used in wxMSW because using it and WS_EX_TRANSPARENT, enabled by wxTRANSPARENT_WINDOW, together doesn't work and results in an endless stream of WM_PAINT messages being sent to the _siblings_ of the window with wxTRANSPARENT_WINDOW style.
This commit is contained in:
parent
a4ebfbb773
commit
20bbc43a20
39 changed files with 19 additions and 46 deletions
|
|
@ -950,7 +950,6 @@ static const wxString _fs_windowstyle_labels[] = {
|
|||
"wxSUNKEN_BORDER",
|
||||
"wxRAISED_BORDER",
|
||||
"wxNO_BORDER",
|
||||
"wxTRANSPARENT_WINDOW",
|
||||
"wxTAB_TRAVERSAL",
|
||||
"wxWANTS_CHARS",
|
||||
"wxVSCROLL",
|
||||
|
|
@ -965,7 +964,6 @@ static const long _fs_windowstyle_values[] = {
|
|||
wxSUNKEN_BORDER,
|
||||
wxRAISED_BORDER,
|
||||
wxNO_BORDER,
|
||||
wxTRANSPARENT_WINDOW,
|
||||
wxTAB_TRAVERSAL,
|
||||
wxWANTS_CHARS,
|
||||
wxVSCROLL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue