]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix so the value given to wxTextEntryDialog::SetValue will actually be
authorRobin Dunn <robin@alldunn.com>
Wed, 20 Feb 2002 01:53:04 +0000 (01:53 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 20 Feb 2002 01:53:04 +0000 (01:53 +0000)
used in the entry field.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/textdlgg.h

index 7f6cb35a2ca41ac0a78fbfc0390b5507636a27f6..81409bf504cbe180fd0593cf85dfae4ea745c338 100644 (file)
@@ -41,7 +41,7 @@ public:
                       long style = wxTextEntryDialogStyle,
                       const wxPoint& pos = wxDefaultPosition);
 
-    void SetValue(const wxString& val) { m_value = val; }
+    void SetValue(const wxString& val) { m_value = val; m_textctrl->SetValue(val); }
     wxString GetValue() const { return m_value; }
 
     // implementation only