]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/playerdg.cpp
Make it possible to use svn-find-native-eols script without svn checkout.
[wxWidgets.git] / demos / forty / playerdg.cpp
index b1b1f71e070018c1c24a46e444c4ec48b5feabbd..82cf4da6e8c85f0ac02d9b76875cbac4293ec2d0 100644 (file)
@@ -102,7 +102,7 @@ void PlayerSelectionDialog::OnCloseWindow(wxCloseEvent& WXUNUSED(event))
 
 void PlayerSelectionDialog::SelectCallback(wxCommandEvent& event)
 {
-    if (event.GetEventType() == wxEVT_COMMAND_LISTBOX_SELECTED)
+    if (event.GetEventType() == wxEVT_LISTBOX)
     {
 //        if (event.IsSelection())
         m_textField->SetValue(event.GetString());