X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e93bfe3c7458d8291626f7e260b6bb4c9f6b276f..030c0beade81092da145abc94b2750cd11a3be0b:/src/generic/choicdgg.cpp diff --git a/src/generic/choicdgg.cpp b/src/generic/choicdgg.cpp index 5616efce9e..4f47ab48ea 100644 --- a/src/generic/choicdgg.cpp +++ b/src/generic/choicdgg.cpp @@ -167,6 +167,23 @@ int wxGetSingleChoiceIndex( const wxString& message, return choice; } +int wxGetSingleChoiceIndex( const wxString& message, + const wxString& caption, + const wxArrayString& aChoices, + wxWindow *parent, + int x, int y, + bool centre, + int width, int height) +{ + wxString *choices; + int n = ConvertWXArrayToC(aChoices, &choices); + int res = wxGetSingleChoiceIndex(message, caption, n, choices, parent, + x, y, centre, width, height); + delete [] choices; + + return res; +} + #ifdef WXWIN_COMPATIBILITY_2 // Overloaded for backward compatibility int wxGetSingleChoiceIndex( const wxString& message,