Made tearoff menus work for gtk :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		| @@ -155,8 +155,8 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) | ||||
|     SetIcon(wxICON(mondrian)); | ||||
|  | ||||
|     // create a menu bar | ||||
|     wxMenu *menuFile = new wxMenu; | ||||
| //    wxMenu *menuFile = new wxMenu(wxMENU_TEAROFF); | ||||
| //    wxMenu *menuFile = new wxMenu; | ||||
|     wxMenu *menuFile = new wxMenu(wxMENU_TEAROFF); | ||||
|  | ||||
|     menuFile->Append(Minimal_About, "&About...\tCtrl-A", "Show about dialog"); | ||||
|     menuFile->AppendSeparator(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user