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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user