More COMPATIBILITY_2_4 fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#include "wx/ffile.h"
|
||||
#include "wx/app.h"
|
||||
#include "wx/intl.h"
|
||||
#include "wx/apptrait.h"
|
||||
#if wxUSE_GUI
|
||||
#include "wx/msgdlg.h"
|
||||
#endif // wxUSE_GUI
|
||||
@@ -64,7 +65,7 @@ wxMessageOutput* wxMessageOutput::Get()
|
||||
{
|
||||
if ( !ms_msgOut && wxTheApp )
|
||||
{
|
||||
ms_msgOut = wxTheApp->CreateMessageOutput();
|
||||
ms_msgOut = wxTheApp->GetTraits()->CreateMessageOutput();
|
||||
}
|
||||
|
||||
return ms_msgOut;
|
||||
|
Reference in New Issue
Block a user