Add support for arbitrary window labels in wxStaticBox to wxMSW

Just reparent the label window and position it accordingly and, also,
avoid painting over it in MSW-specific code.
This commit is contained in:
Vadim Zeitlin
2017-12-24 20:07:05 +01:00
parent 36c4b7651e
commit 687192d86a
3 changed files with 83 additions and 5 deletions

View File

@@ -111,7 +111,7 @@ public:
}
@endcode
Currently this constructor is only available in wxGTK, use
Currently this constructor is only available in wxGTK and wxMSW, use
@c wxHAS_WINDOW_LABEL_IN_STATIC_BOX to check whether it can be used at
compile-time.