From 96bcf4f9cc8401fc499215bbe9181c351cc42d43 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 8 Nov 2000 23:58:42 +0000 Subject: [PATCH] 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 --- include/wx/generic/choicdgg.h | 4 ++++ 1 file changed, 4 insertions(+) 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__ -- 2.45.2