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:
parent
071760b7f4
commit
05059b64f1
1 changed files with 0 additions and 8 deletions
|
|
@ -458,10 +458,6 @@ wxIMPLEMENT_DYNAMIC_CLASS(wxClipboard, wxObject);
|
|||
|
||||
wxClipboard::wxClipboard()
|
||||
{
|
||||
#if wxUSE_OLE_CLIPBOARD
|
||||
wxOleInitialize();
|
||||
#endif
|
||||
|
||||
m_lastDataObject = NULL;
|
||||
m_isOpened = false;
|
||||
}
|
||||
|
|
@ -472,10 +468,6 @@ wxClipboard::~wxClipboard()
|
|||
{
|
||||
Clear();
|
||||
}
|
||||
|
||||
#if wxUSE_OLE_CLIPBOARD
|
||||
wxOleUninitialize();
|
||||
#endif
|
||||
}
|
||||
|
||||
void wxClipboard::Clear()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue