Resolve some Clang warnings on Windows
This commit is contained in:
parent
82eb445722
commit
1ace6a6aad
2 changed files with 3 additions and 9 deletions
|
|
@ -721,7 +721,7 @@ public:
|
|||
|
||||
// IUnknown
|
||||
|
||||
wxSTDMETHODIMP QueryInterface(REFIID iid, void** ppv)
|
||||
wxSTDMETHODIMP QueryInterface(REFIID iid, void** ppv) override
|
||||
{
|
||||
if ( iid == IID_IUnknown || iid == IID_IFileDialogEvents )
|
||||
{
|
||||
|
|
@ -749,8 +749,8 @@ public:
|
|||
}
|
||||
|
||||
// Dummy implementations because we're not really ref-counted.
|
||||
STDMETHODIMP_(ULONG) AddRef() { return 1; }
|
||||
STDMETHODIMP_(ULONG) Release() { return 1; }
|
||||
STDMETHODIMP_(ULONG) AddRef() override { return 1; }
|
||||
STDMETHODIMP_(ULONG) Release() override { return 1; }
|
||||
|
||||
|
||||
// IFileDialogEvents
|
||||
|
|
|
|||
|
|
@ -123,12 +123,6 @@ private:
|
|||
int m_modeOld;
|
||||
};
|
||||
|
||||
inline bool IsGreaterThanStdSize(const wxBitmap& bmp, const wxWindow* win)
|
||||
{
|
||||
return bmp.GetWidth() > wxGetSystemMetrics(SM_CXMENUCHECK, win) ||
|
||||
bmp.GetHeight() > wxGetSystemMetrics(SM_CYMENUCHECK, win);
|
||||
}
|
||||
|
||||
} // anonymous namespace
|
||||
|
||||
// ============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue