removed WXWIN_COMPATIBILITY_2_4 from common and wxMSW files (patch 1675546)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -237,27 +237,6 @@ wxAppTraits *wxAppConsole::GetTraits()
|
||||
return m_traits;
|
||||
}
|
||||
|
||||
// we must implement CreateXXX() in wxApp itself for backwards compatibility
|
||||
#if WXWIN_COMPATIBILITY_2_4
|
||||
|
||||
#if wxUSE_LOG
|
||||
|
||||
wxLog *wxAppConsole::CreateLogTarget()
|
||||
{
|
||||
wxAppTraits *traits = GetTraits();
|
||||
return traits ? traits->CreateLogTarget() : NULL;
|
||||
}
|
||||
|
||||
#endif // wxUSE_LOG
|
||||
|
||||
wxMessageOutput *wxAppConsole::CreateMessageOutput()
|
||||
{
|
||||
wxAppTraits *traits = GetTraits();
|
||||
return traits ? traits->CreateMessageOutput() : NULL;
|
||||
}
|
||||
|
||||
#endif // WXWIN_COMPATIBILITY_2_4
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// event processing
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -453,15 +432,6 @@ void wxAppConsole::OnAssert(const wxChar *file,
|
||||
|
||||
#endif // __WXDEBUG__
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_4
|
||||
|
||||
bool wxAppConsole::CheckBuildOptions(const wxBuildOptions& buildOptions)
|
||||
{
|
||||
return CheckBuildOptions(buildOptions.m_signature, "your program");
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
// ============================================================================
|
||||
// other classes implementations
|
||||
// ============================================================================
|
||||
|
Reference in New Issue
Block a user