mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
Update wxWidgets to 3.1.0
From wxWidgets master 81570ae070b35c9d52de47b1f14897f3ff1a66c7. include/wx/defs.h -- __w64 warning disable patch by comex brought forward. include/wx/msw/window.h -- added GetContentScaleFactor() which was not implemented on Windows but is necessary for wxBitmap scaling on Mac OS X so it needs to work to avoid #ifdef-ing the code. src/gtk/window.cpp -- Modified DoSetClientSize() to direct call wxWindowGTK::DoSetSize() instead of using public wxWindowBase::SetSize() which now prevents derived classes (like wxAuiToolbar) intercepting the call and breaking it. This matches Windows which does NOT need to call DoSetSize internally. End result is this fixes Dolphin's debug tools toolbars on Linux. src/osx/window_osx.cpp -- Same fix as for GTK since it has the same issue. src/msw/radiobox.cpp -- Hacked to fix display in HiDPI (was clipping off end of text). Updated CMakeLists for Linux and Mac OS X. Small code changes to Dolphin to fix debug error boxes, deprecation warnings, and retain previous UI behavior on Windows.
This commit is contained in:
20
Externals/wxWidgets3/include/wx/anidecod.h
vendored
20
Externals/wxWidgets3/include/wx/anidecod.h
vendored
@ -36,26 +36,26 @@ public:
|
||||
~wxANIDecoder();
|
||||
|
||||
|
||||
virtual wxSize GetFrameSize(unsigned int frame) const;
|
||||
virtual wxPoint GetFramePosition(unsigned int frame) const;
|
||||
virtual wxAnimationDisposal GetDisposalMethod(unsigned int frame) const;
|
||||
virtual long GetDelay(unsigned int frame) const;
|
||||
virtual wxColour GetTransparentColour(unsigned int frame) const;
|
||||
virtual wxSize GetFrameSize(unsigned int frame) const wxOVERRIDE;
|
||||
virtual wxPoint GetFramePosition(unsigned int frame) const wxOVERRIDE;
|
||||
virtual wxAnimationDisposal GetDisposalMethod(unsigned int frame) const wxOVERRIDE;
|
||||
virtual long GetDelay(unsigned int frame) const wxOVERRIDE;
|
||||
virtual wxColour GetTransparentColour(unsigned int frame) const wxOVERRIDE;
|
||||
|
||||
// implementation of wxAnimationDecoder's pure virtuals
|
||||
|
||||
virtual bool Load( wxInputStream& stream );
|
||||
virtual bool Load( wxInputStream& stream ) wxOVERRIDE;
|
||||
|
||||
bool ConvertToImage(unsigned int frame, wxImage *image) const;
|
||||
bool ConvertToImage(unsigned int frame, wxImage *image) const wxOVERRIDE;
|
||||
|
||||
wxAnimationDecoder *Clone() const
|
||||
wxAnimationDecoder *Clone() const wxOVERRIDE
|
||||
{ return new wxANIDecoder; }
|
||||
wxAnimationType GetType() const
|
||||
wxAnimationType GetType() const wxOVERRIDE
|
||||
{ return wxANIMATION_TYPE_ANI; }
|
||||
|
||||
private:
|
||||
// wxAnimationDecoder pure virtual:
|
||||
virtual bool DoCanRead( wxInputStream& stream ) const;
|
||||
virtual bool DoCanRead( wxInputStream& stream ) const wxOVERRIDE;
|
||||
// modifies current stream position (see wxAnimationDecoder::CanRead)
|
||||
|
||||
// frames stored as wxImage(s): ANI files are meant to be used mostly for animated
|
||||
|
Reference in New Issue
Block a user