From f3ecfad1923022f59dca6fe065e5f278e2802faf Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 9 Jul 2001 18:24:08 +0000 Subject: [PATCH] added wxUSE_POPUPWIN git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/popupwin.cpp | 5 +++++ src/gtk1/popupwin.cpp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/gtk/popupwin.cpp b/src/gtk/popupwin.cpp index b61a31c7be..36ef2e7b62 100644 --- a/src/gtk/popupwin.cpp +++ b/src/gtk/popupwin.cpp @@ -11,6 +11,10 @@ #pragma implementation "popupwin.h" #endif +#include "wx/defs.h" + +#if wxUSE_POPUPWIN + #include "wx/popupwin.h" #include "wx/frame.h" #include "wx/app.h" @@ -332,3 +336,4 @@ bool wxPopupWindow::Show( bool show ) return ret; } +#endif // wxUSE_POPUPWIN diff --git a/src/gtk1/popupwin.cpp b/src/gtk1/popupwin.cpp index b61a31c7be..36ef2e7b62 100644 --- a/src/gtk1/popupwin.cpp +++ b/src/gtk1/popupwin.cpp @@ -11,6 +11,10 @@ #pragma implementation "popupwin.h" #endif +#include "wx/defs.h" + +#if wxUSE_POPUPWIN + #include "wx/popupwin.h" #include "wx/frame.h" #include "wx/app.h" @@ -332,3 +336,4 @@ bool wxPopupWindow::Show( bool show ) return ret; } +#endif // wxUSE_POPUPWIN -- 2.45.2