]> git.saurik.com Git - wxWidgets.git/commit
Don't ask for wxTextAttr colour if it doesn't have any in text sample.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 19 Feb 2011 00:30:24 +0000 (00:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 19 Feb 2011 00:30:24 +0000 (00:30 +0000)
commitca746004af612fcebb72adc28df0e33b1bf7ac63
treee57879ed11bbdbc4c556abb58981b068f78ad199
parent2de611305ea4da8ad7adb730c712b5b28c967044
Don't ask for wxTextAttr colour if it doesn't have any in text sample.

This fixes an assert which could happen when showing the rich text editor.

Also show the colour in a more readable form if possible.

Closes #12950.

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