Search code examples
wxwidgets

wxwidget wxStaticText border


i using wxWidget with Code:Blocks IDE and wxSmith GUI Builder. I want to create wxStaticText with line around wxStaticText (like border=1 in HTML).


Solution

  • wxStaticText doesn't seem to support that style. Perhaps you could wrap it inside another control (say, a wxPanel ?). Not the cleanest solution, to be sure, but should work.