X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6b5c476168594858670ff74a56869281ed5be807..a9102b3671a45d116d781b0c8e90d2e9a84fbdcb:/include/wx/sizer.h diff --git a/include/wx/sizer.h b/include/wx/sizer.h index 1f76fc0554..78581ba30c 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -69,6 +69,8 @@ public: wxSizerFlags& Expand() { return Align(wxEXPAND); } wxSizerFlags& Centre() { return Align(wxCENTRE); } wxSizerFlags& Center() { return Centre(); } + wxSizerFlags& Left() { return Align(wxALIGN_LEFT); } + wxSizerFlags& Right() { return Align(wxALIGN_RIGHT); } wxSizerFlags& Border(int direction, int borderInPixels) @@ -621,7 +623,8 @@ class WXDLLEXPORT wxStaticBox; class WXDLLEXPORT wxStaticBoxSizer: public wxBoxSizer { public: - wxStaticBoxSizer( wxStaticBox *box, int orient ); + wxStaticBoxSizer(wxStaticBox *box, int orient); + wxStaticBoxSizer(int orient, wxWindow *win, const wxString& label = wxEmptyString); void RecalcSizes(); wxSize CalcMin(); @@ -668,7 +671,7 @@ public: // is set to _("Save") and m_buttonNegative is set to _("Don't Save") // I wouldn't add any other hacks like that into here, // but this one I can see being useful. - void Finalise(); + void Realize(); wxButton *GetAffirmativeButton() const { return m_buttonAffirmative; } wxButton *GetApplyButton() const { return m_buttonApply; }