diff --git a/include/wx/popupwin.h b/include/wx/popupwin.h index 9774f8e23b..ea63c1484b 100644 --- a/include/wx/popupwin.h +++ b/include/wx/popupwin.h @@ -106,7 +106,7 @@ protected: friend class wxPopupFocusHandler; }; -#if wxUSE_COMBOBOX +#if wxUSE_COMBOBOX && defined(__WXUNIVERSAL__) // ---------------------------------------------------------------------------- // wxPopupComboWindow: wxPopupTransientWindow used by wxComboBox @@ -133,7 +133,7 @@ protected: wxComboControl *m_combo; }; -#endif // wxUSE_COMBOBOX +#endif // wxUSE_COMBOBOX && defined(__WXUNIVERSAL__) #endif // wxUSE_POPUPWIN