X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de6e6d08b2e3fa0c5083d9755dd2e00b5cceb414..8fdbcf4de8eeff67ccfaf3deec833d203f112629:/src/common/framecmn.cpp diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index 3e96a8291b..be0234a6c7 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -131,7 +131,7 @@ wxEND_FLAGS( wxFrameStyle ) wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxFrame, wxTopLevelWindow, "wx/frame.h") wxBEGIN_PROPERTIES_TABLE(wxFrame) -wxEVENT_PROPERTY( Menu, wxEVT_COMMAND_MENU_SELECTED, wxCommandEvent) +wxEVENT_PROPERTY( Menu, wxEVT_MENU, wxCommandEvent) wxPROPERTY( Title,wxString, SetTitle, GetTitle, wxString(), 0 /*flags*/, \ wxT("Helpstring"), wxT("group")) @@ -562,7 +562,7 @@ wxToolBar* wxFrameBase::CreateToolBar(long style, // a) this allows us to have different defaults for different // platforms (even if we don't have them right now) // b) we don't need to include wx/toolbar.h in the header then - style = wxBORDER_NONE | wxTB_HORIZONTAL | wxTB_FLAT; + style = wxTB_DEFAULT_STYLE; } SetToolBar(OnCreateToolBar(style, id, name));