Create wxStaticText with correct label directly in wxTextSizerWrapper.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Jan 2012 00:58:05 +0000 (00:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Jan 2012 00:58:05 +0000 (00:58 +0000)
commit7e57c9042af301896a64be7762b430aee29e1165
treef6024708a007f045a92465adbd1053151799c7a6
parentc8fb50b7945492de005090f5f5b2bf9941a34071
Create wxStaticText with correct label directly in wxTextSizerWrapper.

This is shorter and arguably more clear than doing it in two steps as we did
before and also works in wxUniv, unlike creating wxStaticText with empty label
and setting it later.

Closes #13858.

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