From: Václav Slavík Date: Mon, 9 Jul 2001 18:24:08 +0000 (+0000) Subject: added wxUSE_POPUPWIN X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f3ecfad1923022f59dca6fe065e5f278e2802faf?ds=inline added wxUSE_POPUPWIN git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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