mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Make DolphinWX/ mostly IWYU clean.
This commit is contained in:
@ -2,10 +2,15 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include <string>
|
||||
#include <wx/bitmap.h>
|
||||
#include <wx/chartype.h>
|
||||
#include <wx/gdicmn.h>
|
||||
#include <wx/image.h>
|
||||
#include <wx/mstream.h>
|
||||
#include <wx/string.h>
|
||||
#include <wx/wx.h>
|
||||
#include <wx/utils.h>
|
||||
|
||||
#include "Common/Common.h"
|
||||
#include "DolphinWX/WxUtils.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
@ -57,6 +62,12 @@ double GetCurrentBitmapLogicalScale()
|
||||
return 1.0;
|
||||
}
|
||||
|
||||
wxBitmap _wxGetBitmapFromMemory(const unsigned char* data, int length)
|
||||
{
|
||||
wxMemoryInputStream is(data, length);
|
||||
return(wxBitmap(wxImage(is, wxBITMAP_TYPE_ANY, -1), -1));
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
std::string WxStrToStr(const wxString& str)
|
||||
|
Reference in New Issue
Block a user