Reenable sorting tests for GTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2010-08-24 17:22:12 +00:00
parent 625ed74301
commit a6856aa899
3 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ void ChoiceTestCase::tearDown()
void ChoiceTestCase::Sort()
{
#if !defined(__WXGTK__) && !defined(__WXOSX__)
#if !defined(__WXOSX__)
wxDELETE(m_choice);
m_choice = new wxChoice(wxTheApp->GetTopWindow(), wxID_ANY,
wxDefaultPosition, wxDefaultSize, 0, 0,

View File

@ -143,7 +143,7 @@ void ComboBoxTestCase::PopDismiss()
void ComboBoxTestCase::Sort()
{
#if !defined(__WXGTK__) && !defined(__WXOSX__)
#if !defined(__WXOSX__)
m_combo = new wxComboBox(wxTheApp->GetTopWindow(), wxID_ANY, "",
wxDefaultPosition, wxDefaultSize, 0, NULL,
wxCB_SORT);

View File

@ -43,11 +43,11 @@ private:
WXUISIM_TEST( ClickEvents );
WXUISIM_TEST( ClickNotOnItem );
CPPUNIT_TEST( HitTest );
CPPUNIT_TEST( Sort );
//We also run all tests as an ownerdrawn list box we do not need to
//run the wxITEM_CONTAINER_TESTS as they are tested with wxCheckListBox
#ifdef __WXMSW__
CPPUNIT_TEST( PseudoTest_OwnerDrawn );
CPPUNIT_TEST( Sort );
CPPUNIT_TEST( MultipleSelect );
WXUISIM_TEST( ClickEvents );
WXUISIM_TEST( ClickNotOnItem );