Compilation fix for wxOSX/wxGTK3 after FromDIP() changes.

100d2a5 didn't update the inline FromDIP() version for these ports.
This commit is contained in:
Vadim Zeitlin 2015-04-23 19:25:21 +02:00
parent af01ef1bb0
commit ef96bd6af1

View File

@ -1982,8 +1982,9 @@ inline wxWindow *wxWindowBase::GetGrandParent() const
#ifdef wxHAVE_DPI_INDEPENDENT_PIXELS
// FromDIP() becomes trivial in this case, so make it inline to avoid overhead.
/* static */
inline wxSize
wxWindowBase::FromDIP(const wxSize& sz, const wxWindowBase* WXUNUSED(w)) const
wxWindowBase::FromDIP(const wxSize& sz, const wxWindowBase* WXUNUSED(w))
{
return sz;
}