From: Vadim Zeitlin Date: Wed, 8 Nov 2000 23:58:42 +0000 (+0000) Subject: compilation fix for builds when WXWIN_COMPATIBILITY_2 is not defined X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/96bcf4f9cc8401fc499215bbe9181c351cc42d43 compilation fix for builds when WXWIN_COMPATIBILITY_2 is not defined git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/generic/choicdgg.h b/include/wx/generic/choicdgg.h index 9bba7c06db..fcd13f46bd 100644 --- a/include/wx/generic/choicdgg.h +++ b/include/wx/generic/choicdgg.h @@ -271,6 +271,8 @@ WXDLLEXPORT size_t wxGetMultipleChoices(wxArrayInt& selections, // deprecated // ---------------------------------------------------------------------------- +#ifdef WXWIN_COMPATIBILITY_2 + WXDLLEXPORT wxString wxGetSingleChoice(const wxString& message, const wxString& caption, int n, wxChar *choices[], @@ -302,5 +304,7 @@ WXDLLEXPORT void* wxGetSingleChoiceData(const wxString& message, int height = wxCHOICE_HEIGHT); +#endif // WXWIN_COMPATIBILITY_2 + #endif // __CHOICEDLGH_G__