wxTextCtrl::SetValue() sets m_modified to FALSE.

Make scrollbars take MSW's "empty" look on start-up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-04-08 21:48:06 +00:00
parent f90d461a37
commit 5d8301397c

View File

@@ -249,6 +249,8 @@ bool wxTextCtrl::Create( wxWindow *parent,
// We create an input handler since it might be useful
CreateInputHandler(wxINP_HANDLER_TEXTCTRL);
MyAdjustScrollbars();
return TRUE;
}
@@ -271,7 +273,7 @@ wxString wxTextCtrl::GetValue() const
void wxTextCtrl::SetValue(const wxString& value)
{
m_modified = TRUE;
m_modified = FALSE;
if ((GetWindowStyle() & wxTE_MULTILINE) == 0)
{