wxUniv/MSW compilation fix in wxWindowBase::GetDlgUnitBase().
This wxWindowBase method can't access protected m_font member of another wxWindow object -- but can access it in wxWindowBase object. Closes #12358. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2479,7 +2479,7 @@ void wxWindowBase::DoUpdateWindowUI(wxUpdateUIEvent& event)
|
||||
// using them.
|
||||
wxSize wxWindowBase::GetDlgUnitBase() const
|
||||
{
|
||||
const wxWindow *parent = wxGetTopLevelParent((wxWindow*)this);
|
||||
const wxWindowBase * const parent = wxGetTopLevelParent((wxWindow*)this);
|
||||
|
||||
if ( !parent->m_font.IsOk() )
|
||||
{
|
||||
|
Reference in New Issue
Block a user