Merge branch 'cmake-warnings' of https://github.com/MaartenBent/wxWidgets
Enable warnings for CMake builds and fix some warnings that this exposed. Also add wxUSE_NATIVE_DATAVIEWCTRL option and change default GTK version to 3 for CMake too. See https://github.com/wxWidgets/wxWidgets/pull/1825
This commit is contained in:
@@ -343,7 +343,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
virtual bool IsFrozen() const { return true; }
|
||||
virtual bool IsFrozen() const wxOVERRIDE { return true; }
|
||||
};
|
||||
|
||||
|
||||
@@ -375,7 +375,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
virtual bool IsFrozen() const { return true; }
|
||||
virtual bool IsFrozen() const wxOVERRIDE { return true; }
|
||||
};
|
||||
|
||||
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -28,7 +28,7 @@ bool WXDLLIMPEXP_CORE Initialize();
|
||||
|
||||
void WXDLLIMPEXP_CORE Uninitialize();
|
||||
|
||||
bool WXDLLIMPEXP_CORE GetActivationFactory(const wxString& activatableClassId, REFIID iid, void ** factory);
|
||||
HRESULT WXDLLIMPEXP_CORE GetActivationFactory(const wxString& activatableClassId, REFIID iid, void ** factory);
|
||||
|
||||
// RAII class initializing WinRT in its ctor and undoing it in its dtor.
|
||||
class WXDLLIMPEXP_CORE Initializer
|
||||
|
Reference in New Issue
Block a user