]> git.saurik.com Git - wxWidgets.git/commitdiff
added wxUSE_POPUPWIN
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 9 Jul 2001 18:24:08 +0000 (18:24 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 9 Jul 2001 18:24:08 +0000 (18:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/popupwin.cpp
src/gtk1/popupwin.cpp

index b61a31c7be194d4829e8d2c6d05c33d465e89359..36ef2e7b624968f6408fe0105b0acade33b62dd9 100644 (file)
 #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
index b61a31c7be194d4829e8d2c6d05c33d465e89359..36ef2e7b624968f6408fe0105b0acade33b62dd9 100644 (file)
 #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