wxToolBarSimple fix + OGL studio sample compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -211,12 +211,14 @@ bool wxDiagramClipboard::CopyToClipboard(double scale)
|
||||
// Copy the bitmap to the clipboard
|
||||
wxSetClipboardData(wxDF_BITMAP, newBitmap, 0, 0);
|
||||
|
||||
#if 0 // TODO: replace this code (wxEnhMetaFile doesn't have SetClipboard)
|
||||
if (mf)
|
||||
{
|
||||
// Copy the metafile to the clipboard
|
||||
// Allow a small margin
|
||||
bool success = mf->SetClipboard((int)(mfDC.MaxX() + 15), (int)(mfDC.MaxY() + 15));
|
||||
}
|
||||
#endif
|
||||
|
||||
// Close clipboard
|
||||
wxCloseClipboard();
|
||||
|
Reference in New Issue
Block a user