AUI under wxMGL build fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-06-06 21:44:39 +00:00
parent 3a7458677b
commit b2e178485a
4 changed files with 557 additions and 43 deletions

View File

@@ -982,11 +982,13 @@ void MyFrame::OnCopyPerspectiveCode(wxCommandEvent& WXUNUSED(event))
{
wxString s = m_mgr.SavePerspective();
#if wxUSE_CLIPBOARD
if (wxTheClipboard->Open())
{
wxTheClipboard->SetData(new wxTextDataObject(s));
wxTheClipboard->Close();
}
#endif
}
void MyFrame::OnRestorePerspective(wxCommandEvent& event)