Looks like I found another upgrade inconsistency:
Code: Select all
wxTextCtrl *text = new wxTextCtrl( parent, wxID_ANY, "Huge text that should be split between mutiple lines", wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE | wxTE_READONLY );
text->Enable( false );
In 2.8 and earlier the scrollbar is enabled and you can still scroll the text, but can't edit and can't give it a focus.
In 3.0 both text and scrollbar are disabled.
Is there a way to enable it without using wxScrolled<T>?
I will be able to test it Monday and reply back.
The reason for using the text control is because it displays a Coppyright notice and it is preferred to use text control and not label.
I don't think it matters much in this case - but just for completeness - RHEL6, GTK2.24, wx-3.0.2 (packaged) upgrade from wx-2.8.10.
Thank you.