Salome HOME
0022712: [CEA 1300] LightApp_PreferencesDlg - invalid layout / resize policy
[modules/gui.git] / src / PVViewer / PVViewer_LogWindowAdapter.cxx
index 736b77b687053c44ad156948ff33f6070fc20996..880295cdce35d1d338e4aaa547e286dc51dd88db 100644 (file)
@@ -21,7 +21,7 @@
 
 #include <vtkObjectFactory.h>
 
-#include <LightApp_Application.h>
+#include <LogWindow.h>
 #include <LogWindow.h>
 #include <SUIT_Session.h>
 #include <SALOME_Event.h>
@@ -57,7 +57,8 @@ PVViewer_LogWindowAdapter::PVViewer_LogWindowAdapter() :
   TextCount(0),
   ErrorCount(0),
   WarningCount(0),
-  GenericWarningCount(0)
+  GenericWarningCount(0),
+  logWindow(0)
 {
 }
 
@@ -85,14 +86,14 @@ const unsigned int PVViewer_LogWindowAdapter::getGenericWarningCount()
   return this->GenericWarningCount;
 }
 
-static LogWindow* getLogWindow()
-{
-  LogWindow* wnd = 0;
-  LightApp_Application* anApp = dynamic_cast<LightApp_Application*>( SUIT_Session::session()->activeApplication() );
-  if ( anApp )
-    wnd = anApp->logWindow();
-  return wnd;
-}
+//LogWindow* PVViewer_LogWindowAdapter::getLogWindow()
+//{
+//  LogWindow* wnd = 0;
+//  LightApp_Application* anApp = dynamic_cast<LightApp_Application*>( SUIT_Session::session()->activeApplication() );
+//  if ( anApp )
+//    wnd = anApp->logWindow();
+//  return wnd;
+//}
 
 void PVViewer_LogWindowAdapter::DisplayText(const char* text)
 {