// using them.
wxSize wxWindowBase::GetDlgUnitBase() const
{
- const wxWindow *parent = wxGetTopLevelParent((wxWindow*)this);
+ const wxWindowBase * const parent = wxGetTopLevelParent((wxWindow*)this);
if ( !parent->m_font.IsOk() )
{
else
#endif // __WXDEBUG__
{
+#if wxUSE_MSGDLG
// just Ctrl-Alt-middle click shows information about wx version
::wxInfoMessageBox((wxWindow*)this);
+#endif // wxUSE_MSGDLG
}
}
else