X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FDisplayGUI%2FDisplayGUI.h;h=9e31f223c91686a9df8331ce7c60c4d12dc36c0f;hb=611ec94e27c211452a3098d014709d519b954e51;hp=981c1c58f0a80b48e2af502e69298bcf8b5ba70c;hpb=c2ae4af70baf364fd78aabe14477db040adccac7;p=modules%2Fgeom.git diff --git a/src/DisplayGUI/DisplayGUI.h b/src/DisplayGUI/DisplayGUI.h index 981c1c58f..9e31f223c 100644 --- a/src/DisplayGUI/DisplayGUI.h +++ b/src/DisplayGUI/DisplayGUI.h @@ -31,10 +31,14 @@ #include "GEOMGUI.h" #include "GEOMBase.h" -#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS -#define DISPLAYGUI_WNT_EXPORT __declspec( dllexport ) +#ifdef WNT +# if defined DISPLAYGUI_EXPORTS +# define GEOM_DISPLAYGUI_EXPORT __declspec( dllexport ) +# else +# define GEOM_DISPLAYGUI_EXPORT __declspec( dllimport ) +# endif #else -#define DISPLAYGUI_WNT_EXPORT +# define GEOM_DISPLAYGUI_EXPORT #endif //================================================================================= @@ -43,7 +47,7 @@ //================================================================================= //class QAD_ViewFrame; class SUIT_ViewWindow; -class DisplayGUI : public GEOMGUI +class GEOM_DISPLAYGUI_EXPORT DisplayGUI : public GEOMGUI { public: DisplayGUI( GeometryGUI* parent );