]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
Create work-around for wxGetEnvMap on OpenVMS (correction)
[wxWidgets.git] / src / common / wincmn.cpp
index a1ded8b8bba856dc9fa6ce4115676da5214c6a7b..9ae19728fa75dac8c584cf64ce17327fb2546e44 100644 (file)
@@ -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() )
     {