]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for builds when WXWIN_COMPATIBILITY_2 is not defined
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 8 Nov 2000 23:58:42 +0000 (23:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 8 Nov 2000 23:58:42 +0000 (23:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/choicdgg.h

index 9bba7c06db9542f3a951831ed7af1b78a24f724e..fcd13f46bd630864f3a8964c933b87044c548c77 100644 (file)
@@ -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__