X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f0f6a32d4d276dd09ecf34cf60d435d2687731f9..1e417065df626cf8f70d9aac2c333da2e1a4e44c:/tests/controls/textentrytest.h diff --git a/tests/controls/textentrytest.h b/tests/controls/textentrytest.h index db4058c2cb..b8376ddde0 100644 --- a/tests/controls/textentrytest.h +++ b/tests/controls/textentrytest.h @@ -49,6 +49,15 @@ private: // function parameters void AssertSelection(int from, int to, const char *sel); + // helper of AssertSelection(): check that the text selected in the control + // is the given one + // + // this is necessary to disable testing this in wxComboBox test as it + // doesn't provide any way to access the string selection directly, its + // GetStringSelection() method returns the currently selected string in the + // wxChoice part of the control, not the selected text + virtual void CheckStringSelection(const char *sel); + DECLARE_NO_COPY_CLASS(TextEntryTestCase) };