]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/combocmn.cpp
Fix crash in wxMSW wxProgressDialog without wxPD_APP_MODAL style.
[wxWidgets.git] / 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