diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-06 19:37:36 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-06 19:37:36 +0100 |
| commit | cf7d4e462769264868588be5c46b0c968eb570c9 (patch) | |
| tree | 09b4bdcc6fe379be0d0d7d40e279e1e61537251f /src/wx/wx_util.h | |
| parent | 220fe9ef5a0f9198630d3335fa901fd9c41b14f4 (diff) | |
Tweak layout and remove some code duplication.
Diffstat (limited to 'src/wx/wx_util.h')
| -rw-r--r-- | src/wx/wx_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h index 2691eccf4..e1a7af1aa 100644 --- a/src/wx/wx_util.h +++ b/src/wx/wx_util.h @@ -72,7 +72,7 @@ class wxSplashScreen; extern void error_dialog (wxWindow *, wxString, boost::optional<wxString> e = boost::optional<wxString>()); extern void message_dialog (wxWindow *, wxString); extern bool confirm_dialog (wxWindow *, wxString); -extern wxStaticText* add_label_to_sizer (wxSizer *, wxWindow *, wxString, bool left, int prop = 0); +extern wxStaticText* add_label_to_sizer (wxSizer *, wxWindow *, wxString, bool left, int prop = 0, int flags = wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT); extern wxStaticText* add_label_to_sizer (wxGridBagSizer *, wxWindow *, wxString, bool, wxGBPosition, wxGBSpan span = wxDefaultSpan); extern std::string wx_to_std (wxString); extern wxString std_to_wx (std::string); |
