]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/msgout.cpp
fixed a typo in IsExposed, put SetValidator in correct (in alpha order) place
[wxWidgets.git] / src / common / msgout.cpp
index c9994ce41d0c61f384f4303d8a3d8a2a407daef5..316d014635f01bbb3d1b73e08d4bfdfd794cc69e 100755 (executable)
@@ -39,6 +39,7 @@
 #endif
 
 #include "wx/msgout.h"
+#include "wx/apptrait.h"
 #include "wx/log.h"
 
 #include <stdarg.h>
@@ -64,7 +65,7 @@ wxMessageOutput* wxMessageOutput::Get()
 {
     if ( !ms_msgOut && wxTheApp )
     {
-        ms_msgOut = wxTheApp->CreateMessageOutput();
+        ms_msgOut = wxTheApp->GetTraits()->CreateMessageOutput();
     }
 
     return ms_msgOut;