]> git.saurik.com Git - wxWidgets.git/commitdiff
include correct private.h for wxgtk1
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Fri, 20 Aug 2010 15:38:03 +0000 (15:38 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Fri, 20 Aug 2010 15:38:03 +0000 (15:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/combocmn.cpp

index 0b5b37d372d6efcd04beb11fd2adfbd3c895a18d..6c4c8df14717ffe983a31c26fbf8aed089505d24 100644 (file)
 #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