]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/choicetest.cpp
Use wxString::To8BitData() instead of mb_str() to handle NULs correctly.
[wxWidgets.git] / tests / controls / choicetest.cpp
index 846dc0d22938b104791a68544fc2e40f5a1ebe08..ecebee667cc2ee6b3dce4974b9037174dd99e2c4 100644 (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,