VC6 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -242,7 +242,7 @@ void wxHtmlHelpFrame::OnAbout(wxCommandEvent& event)
|
||||
// remains opened
|
||||
bool wxHtmlHelpFrame::ShouldPreventAppExit() const
|
||||
{
|
||||
return (this == wxTheApp->GetTopWindow());
|
||||
return (wx_const_cast(wxHtmlHelpFrame*, this) == wxTheApp->GetTopWindow());
|
||||
}
|
||||
|
||||
#endif // wxUSE_WXHTML_HELP
|
||||
|
Reference in New Issue
Block a user