diff --git a/include/wx/window.h b/include/wx/window.h index c6d4e51be5..bfbfb26808 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -753,7 +753,7 @@ private: // forward dependencies // ---------------------------------------------------------------------------- -wxWindow *wxWindowBase::GetGrandParent() const +inline wxWindow *wxWindowBase::GetGrandParent() const { return m_parent ? m_parent->GetParent() : (wxWindow *)NULL; }