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:
@@ -111,9 +111,7 @@
|
||||
#include <mmsystem.h>
|
||||
#endif
|
||||
|
||||
#ifdef __WIN32__
|
||||
#include <windowsx.h>
|
||||
#endif
|
||||
#include <windowsx.h>
|
||||
|
||||
#if defined(__WXWINCE__)
|
||||
#include "wx/msw/wince/missing.h"
|
||||
@@ -1635,7 +1633,7 @@ void wxWindowMSW::Update()
|
||||
// just calling UpdateWindow() is not enough, what we did in our WM_PAINT
|
||||
// handler needs to be really drawn right now
|
||||
(void)::GdiFlush();
|
||||
#endif // __WIN32__
|
||||
#endif // !WinCE
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user