Remove unneeded wxOleInitialize() from wxClipboard code

There is no need to do it here when it had been already done on startup.

No real changes, just cleanup.
This commit is contained in:
Vadim Zeitlin
2020-04-19 17:02:32 +02:00
parent 071760b7f4
commit 05059b64f1

View File

@@ -458,10 +458,6 @@ wxIMPLEMENT_DYNAMIC_CLASS(wxClipboard, wxObject);
wxClipboard::wxClipboard() wxClipboard::wxClipboard()
{ {
#if wxUSE_OLE_CLIPBOARD
wxOleInitialize();
#endif
m_lastDataObject = NULL; m_lastDataObject = NULL;
m_isOpened = false; m_isOpened = false;
} }
@@ -472,10 +468,6 @@ wxClipboard::~wxClipboard()
{ {
Clear(); Clear();
} }
#if wxUSE_OLE_CLIPBOARD
wxOleUninitialize();
#endif
} }
void wxClipboard::Clear() void wxClipboard::Clear()