]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/choicdlg.cpp
Added code to set m_isBeingDeleted as per wxGTK
[wxWidgets.git] / src / gtk1 / choicdlg.cpp
index b9d9c5b24c1c23fa062ca68807389a9dde4d66f1..806b21e46da86f12e783e912a9f43380a9d7ac69 100644 (file)
@@ -327,7 +327,7 @@ void wxSingleChoiceDialog::OnOK(wxCommandEvent& WXUNUSED(event))
     {
         m_selection = listBox->GetSelection();
         m_stringSelection = listBox->GetStringSelection();
-        m_clientData = (char*)listBox->GetClientData(m_selection);
+        m_clientData = listBox->GetClientData(m_selection);
     }
 
     EndModal(wxID_OK);
@@ -340,7 +340,7 @@ void wxSingleChoiceDialog::OnListBoxDClick(wxCommandEvent& WXUNUSED(event))
     {
         m_selection = listBox->GetSelection();
         m_stringSelection = listBox->GetStringSelection();
-        m_clientData = (char*)listBox->GetClientData(m_selection);
+        m_clientData = listBox->GetClientData(m_selection);
     }
 
     EndModal(wxID_OK);