]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textctrl.cpp
Add persistence support for wxSplitterWindow.
[wxWidgets.git] / src / msw / textctrl.cpp
index 850ea6ee9373dcb70428837b26f0064170bbea95..4e2171fbfe363054036f619dd1ce1bf6f349da0a 100644 (file)
@@ -1951,6 +1951,9 @@ WXLRESULT wxTextCtrl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lPara
                     //     live with it.
                     lRc = lDlgCode;
                 }
+                if (IsMultiLine())
+                    // Clear the DLGC_HASSETSEL bit from the return value
+                    lRc &= ~DLGC_HASSETSEL;
             }
             break;