]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/combobox.cpp
Fixes/makefiles for building data view control on Windows
[wxWidgets.git] / src / msw / combobox.cpp
index 8b1841fb2e2075c273a4e6c5955744ed79ff0a8f..be00b321fe9c63a25420416de21b4122106462a7 100644 (file)
@@ -332,7 +332,7 @@ bool wxComboBox::MSWCommand(WXUINT param, WXWORD id)
             // set these variables so that they could be also fixed in
             // CBN_EDITCHANGE below
             sel = GetSelection();
-            value = GetValue();
+            value = GetStringSelection();
             {
                 wxCommandEvent event(wxEVT_COMMAND_COMBOBOX_SELECTED, GetId());
                 event.SetEventObject(this);