Remove Windows XP and Vista support
Supporting XP requires too many hacks, and while it wouldn't be very difficult to support Vista as long as we support Windows 7, it's still not worth it because nobody uses this system anyhow. Remove most of XP-specific code and don't use wxDynamicLibrary for using the functions not present in it any longer. Don't use <wspiapi.h> neither as we shouldn't use it any more. Update some comments to not mention Windows versions not supported any longer and also remove mentions of "Vista and newer Windows versions" from the documentation as this is now always the case. This commit is best viewed ignoring whitespace-only changes.
This commit is contained in:
parent
d761ba0f8f
commit
43ff845e77
49 changed files with 273 additions and 676 deletions
|
|
@ -902,7 +902,7 @@ void wxTextCtrl::SetWindowStyleFlag(long style)
|
|||
// XP but not other ones, and we have no way to determine it so be
|
||||
// conservative here) and only for plain EDIT controls (not RICH ones) and
|
||||
// we have to recreate the control to make it always work
|
||||
if ( IsRich() || wxGetWinVersion() < wxWinVersion_2003 )
|
||||
if ( IsRich() )
|
||||
{
|
||||
const long alignMask = wxTE_LEFT | wxTE_CENTRE | wxTE_RIGHT;
|
||||
if ( (style & alignMask) != (GetWindowStyle() & alignMask) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue