Salome HOME
Copyright update 2021
[samples/atomic.git] / src / ATOMICGUI / ATOMICGUI.cxx
index 7954310671398a6b4e5611a87b49ec57cfb875a3..fa8f22007fb88fd591495e5e395191df3c3dda99 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -89,7 +89,7 @@ void ATOMICGUI::initialize ( CAM_Application* app )
   createMenu( agAddAtom,   aAtomicMnu, 10 );
 
   // create toolbar
-  int tbId = createTool( tr( "MEN_ATOMIC" ) );
+  int tbId = createTool( tr( "MEN_ATOMIC" ), QString( "Atomic" ) );
   createTool( agCreateMol, tbId );
   createTool( agAddAtom,   tbId );
   createTool( separator(),  tbId );
@@ -227,11 +227,11 @@ LightApp_Operation* ATOMICGUI::createOperation( const int id ) const
   }
 }
 
-#if defined(WNT)
+#if defined(WIN32)
 #define ATOMICGUI_EXPORT __declspec(dllexport)
-#else   // WNT
+#else   // WIN32
 #define ATOMICGUI_EXPORT
-#endif  // WNT
+#endif  // WIN32
 
 /*! GUI module instantiation function */
 extern "C" {