Remove redundant tests for __WIN32__ in wxMSW code.
This is always defined, Win16 is not supported since ages and Win64 defines both __WIN32__ and __WIN64__.
This commit is contained in:
@@ -1272,8 +1272,6 @@ void wxTextCtrl::Clear()
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef __WIN32__
|
||||
|
||||
bool wxTextCtrl::EmulateKeyPress(const wxKeyEvent& event)
|
||||
{
|
||||
SetFocus();
|
||||
@@ -1289,8 +1287,6 @@ bool wxTextCtrl::EmulateKeyPress(const wxKeyEvent& event)
|
||||
return GetValue().length() != lenOld;
|
||||
}
|
||||
|
||||
#endif // __WIN32__
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Accessors
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user