]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sizer.cpp
Life! made more WinCE-friendly
[wxWidgets.git] / src / common / sizer.cpp
index 98086b6804eb0c290963ce0aae1f71c9e97f5b1b..47a2fa90dc35110c91eb889ea003097fe848ac99 100644 (file)
@@ -1570,6 +1570,12 @@ wxStaticBoxSizer::wxStaticBoxSizer( wxStaticBox *box, int orient )
     wxASSERT_MSG( box, wxT("wxStaticBoxSizer needs a static box") );
 }
 
+wxStaticBoxSizer::wxStaticBoxSizer(int orient, wxWindow *win, const wxString& s)
+                : wxBoxSizer(orient),
+                  m_staticBox(new wxStaticBox(win, wxID_ANY, s))
+{
+}
+
 static void GetStaticBoxBorders( wxStaticBox *box,
                                  int *borderTop,
                                  int *borderOther)
@@ -1693,6 +1699,7 @@ void wxStdDialogButtonSizer::AddButton(wxButton *mybutton)
             m_buttonCancel = mybutton;
             break;
         case wxID_HELP:
+               case wxID_CONTEXT_HELP:
             m_buttonHelp = mybutton;
             break;
         default: