Compilation fix for wxOSX/wxGTK3 after FromDIP() changes.
100d2a5
didn't update the inline FromDIP() version for these ports.
This commit is contained in:
parent
af01ef1bb0
commit
ef96bd6af1
@ -1982,8 +1982,9 @@ inline wxWindow *wxWindowBase::GetGrandParent() const
|
|||||||
#ifdef wxHAVE_DPI_INDEPENDENT_PIXELS
|
#ifdef wxHAVE_DPI_INDEPENDENT_PIXELS
|
||||||
|
|
||||||
// FromDIP() becomes trivial in this case, so make it inline to avoid overhead.
|
// FromDIP() becomes trivial in this case, so make it inline to avoid overhead.
|
||||||
|
/* static */
|
||||||
inline wxSize
|
inline wxSize
|
||||||
wxWindowBase::FromDIP(const wxSize& sz, const wxWindowBase* WXUNUSED(w)) const
|
wxWindowBase::FromDIP(const wxSize& sz, const wxWindowBase* WXUNUSED(w))
|
||||||
{
|
{
|
||||||
return sz;
|
return sz;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user