Fix -Wmicrosoft-exception-spec warning

This commit is contained in:
Maarten Bent
2020-04-26 21:12:30 +02:00
parent 08ae164417
commit abb2eb9ed0
3 changed files with 19 additions and 13 deletions

View File

@@ -211,6 +211,12 @@ struct WinStruct : public T
#include "wx/gdicmn.h"
#include "wx/colour.h"
#ifdef COM_DECLSPEC_NOTHROW
#define wxSTDMETHODIMP COM_DECLSPEC_NOTHROW STDMETHODIMP
#else
#define wxSTDMETHODIMP STDMETHODIMP
#endif
// make conversion from wxColour and COLORREF a bit less painful
inline COLORREF wxColourToRGB(const wxColour& c)
{