From b9d0da6f6f985d7a5023742bda18718919990260 Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Fri, 20 Aug 2010 15:38:03 +0000 Subject: [PATCH] include correct private.h for wxgtk1 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/combocmn.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/common/combocmn.cpp b/src/common/combocmn.cpp index 0b5b37d372..6c4c8df147 100644 --- a/src/common/combocmn.cpp +++ b/src/common/combocmn.cpp @@ -85,7 +85,11 @@ #define wxCC_GENERIC_TLW_IS_DIALOG #define wxComboCtrlGenericTLW wxDialog -#include "wx/gtk/private.h" +#if defined(__WXGTK20__) +# include "wx/gtk/private.h" +#else +# include "wx/gtk1/private.h" +#endif // NB: Let's not be afraid to use wxGTK's wxPopupTransientWindow as a // 'perfect' popup, as it can succesfully host child controls even in