From dec0a353ff73e2c335536a0422428beca7359ee7 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 29 Dec 2012 02:32:16 +0000 Subject: [PATCH] Fix missing or broken interface items for Phoenix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/sizer.h | 6 ++++++ interface/wx/tglbtn.h | 2 ++ interface/wx/xrc/xmlres.h | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/interface/wx/sizer.h b/interface/wx/sizer.h index 056c3fa13c..8cc1117c74 100644 --- a/interface/wx/sizer.h +++ b/interface/wx/sizer.h @@ -1883,6 +1883,12 @@ public: */ int GetOrientation() const; + /** + Sets the orientation of the box sizer, either wxVERTICAL + or wxHORIZONTAL. + */ + void SetOrientation(int orient); + /** Implements the calculation of a box sizer's dimensions and then sets the size of its children (calling wxWindow::SetSize if the child is a window). diff --git a/interface/wx/tglbtn.h b/interface/wx/tglbtn.h index 06bea22a73..a5e7632a9d 100644 --- a/interface/wx/tglbtn.h +++ b/interface/wx/tglbtn.h @@ -7,6 +7,8 @@ ///////////////////////////////////////////////////////////////////////////// +wxEventType wxEVT_COMMAND_TOGGLEBUTTON_CLICKED; + /** @class wxToggleButton diff --git a/interface/wx/xrc/xmlres.h b/interface/wx/xrc/xmlres.h index 8e60fcf7c5..2165111542 100644 --- a/interface/wx/xrc/xmlres.h +++ b/interface/wx/xrc/xmlres.h @@ -635,7 +635,7 @@ protected: @since 2.9.1 */ - wxImageList *GetImageList(const wxString& param = wxT("imagelist")); + wxImageList *GetImageList(const wxString& param = "imagelist"); /** Gets the integer value from the parameter. -- 2.45.2