]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/choicdgg.cpp
Removed lots of OnClose functions; doc'ed OnCloseWindow better;
[wxWidgets.git] / src / generic / choicdgg.cpp
index c045765534901dbf2369ef352c8c2cccd0de3a73..e9f54e59f934f67a91e6f78bc965ebaa6ab76605 100644 (file)
@@ -338,7 +338,7 @@ void wxSingleChoiceDialog::OnOK(wxCommandEvent& WXUNUSED(event))
        {
                m_selection = listBox->GetSelection();
                m_stringSelection = listBox->GetStringSelection();
-               m_clientData = listBox->GetClientData(m_selection);
+               m_clientData = (char*)listBox->GetClientData(m_selection);
        }
 
        EndModal(wxID_OK);
@@ -351,7 +351,7 @@ void wxSingleChoiceDialog::OnListBoxDClick(wxCommandEvent& WXUNUSED(event))
        {
                m_selection = listBox->GetSelection();
                m_stringSelection = listBox->GetStringSelection();
-               m_clientData = listBox->GetClientData(m_selection);
+               m_clientData = (char*)listBox->GetClientData(m_selection);
        }
 
        EndModal(wxID_OK);