Kirix Support Forums

wxGetTopLevelParent() and Text selection with docked pane

Please post all general questions, comments, bug reports, and any other wxAUI feedback here.

wxGetTopLevelParent() and Text selection with docked pane

Postby sarduker on Wed Apr 13, 2011 10:48 am


since developing under wxGTK (Fedora 14 x86_64) I discovered a text
selection bug in panes containing a wxTextCtrl. With wxMSW everything
works fine.

As I am using a wxProgressDialog in the original code it can be
easily reproduced with the aui sample
by adding the following code at the end of the MyFrame constructor:

Code: Select all
   wxWindow *topParent = wxGetTopLevelParent(this);
   if (topParent != NULL)

If I mark an arbitrary text segment within the "Text Pane with Hide Prompt"
and set the focus - for example - to the Tab "Welcome to wxAUI", the marked
text will disappear as long as the pane does not regain focus.

While the pane is undocked during disabling/enabling there is no such
behaviour afterwards.

May somebody has a hint for me?

Thanks in advance!
Registered User
Posts: 1
Joined: Wed Apr 13, 2011 10:37 am

Return to wxAUI Questions, Thoughts & Feedback