]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/textdlgg.cpp
added missing consts and pass objects by const reference instead of by value (patch...
[wxWidgets.git] / src / generic / textdlgg.cpp
index 41fa24dec59f10974e23e2415857dd132ae94cf5..9b6ea31e908225d0919d9d052d2b756766672e5d 100644 (file)
@@ -173,7 +173,7 @@ void wxTextEntryDialog::SetTextValidator( long style )
     m_textctrl->SetValidator( validator );
 }
 
-void wxTextEntryDialog::SetTextValidator( wxTextValidator& validator )
+void wxTextEntryDialog::SetTextValidator( const wxTextValidator& validator )
 {
     m_textctrl->SetValidator( validator );
 }