mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
wxWidgets3: update to svn r70933
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
* Purpose: wxCocoa-specific config settings checks
|
||||
* Author: Vadim Zeitlin
|
||||
* Created: 2008-09-11
|
||||
* RCS-ID: $Id: chkconf.h 55546 2008-09-11 11:20:33Z VZ $
|
||||
* RCS-ID: $Id: chkconf.h 67497 2011-04-15 19:18:34Z DS $
|
||||
* Copyright: (c) 2008 Vadim Zeitlin <vadim@wxwidgets.org>
|
||||
* Licence: wxWindows licence
|
||||
*/
|
||||
@ -19,4 +19,4 @@
|
||||
#undef wxUSE_LOG_DIALOG
|
||||
#define wxUSE_LOG_DIALOG 0
|
||||
|
||||
#endif // _WX_COCOA_CHKCONF_H_
|
||||
#endif /* _WX_COCOA_CHKCONF_H_ */
|
||||
|
8
Externals/wxWidgets3/include/wx/cocoa/dc.h
vendored
8
Externals/wxWidgets3/include/wx/cocoa/dc.h
vendored
@ -4,7 +4,7 @@
|
||||
// Author: David Elliott
|
||||
// Modified by:
|
||||
// Created: 2003/04/01
|
||||
// RCS-ID: $Id: dc.h 58757 2009-02-08 11:45:59Z VZ $
|
||||
// RCS-ID: $Id: dc.h 70165 2011-12-29 14:42:13Z SN $
|
||||
// Copyright: (c) 2003 David Elliott
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
@ -80,10 +80,10 @@ public:
|
||||
virtual void Clear();
|
||||
|
||||
virtual bool StartDoc( const wxString& WXUNUSED(message) ) { return true; }
|
||||
virtual void EndDoc(void) {};
|
||||
virtual void EndDoc(void) {}
|
||||
|
||||
virtual void StartPage(void) {};
|
||||
virtual void EndPage(void) {};
|
||||
virtual void StartPage(void) {}
|
||||
virtual void EndPage(void) {}
|
||||
|
||||
virtual void SetFont(const wxFont& font);
|
||||
virtual void SetPen(const wxPen& pen);
|
||||
|
15
Externals/wxWidgets3/include/wx/cocoa/font.h
vendored
15
Externals/wxWidgets3/include/wx/cocoa/font.h
vendored
@ -4,7 +4,7 @@
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 01/02/97
|
||||
// RCS-ID: $Id: font.h 67254 2011-03-20 00:14:35Z DS $
|
||||
// RCS-ID: $Id: font.h 70445 2012-01-23 11:28:21Z VZ $
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
@ -75,6 +75,19 @@ public:
|
||||
SetPixelSize(pixelSize);
|
||||
}
|
||||
|
||||
wxFont(int pointSize,
|
||||
wxFontFamily family,
|
||||
int flags = wxFONTFLAG_DEFAULT,
|
||||
const wxString& face = wxEmptyString,
|
||||
wxFontEncoding encoding = wxFONTENCODING_DEFAULT)
|
||||
{
|
||||
Create(pointSize, family,
|
||||
GetStyleFromFlags(flags),
|
||||
GetWeightFromFlags(flags),
|
||||
GetUnderlinedFromFlags(flags),
|
||||
face, encoding);
|
||||
}
|
||||
|
||||
/*! @abstract Construction with opaque wxNativeFontInfo
|
||||
*/
|
||||
wxFont(const wxNativeFontInfo& info)
|
||||
|
@ -4,7 +4,7 @@
|
||||
// Author: David Elliott
|
||||
// Modified by:
|
||||
// Created: 2004/04/08
|
||||
// RCS-ID: $Id: notebook.h 65930 2010-10-27 16:54:24Z VZ $
|
||||
// RCS-ID: $Id: notebook.h 68810 2011-08-21 14:08:49Z VZ $
|
||||
// Copyright: (c) 2004 David Elliott
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
@ -97,7 +97,7 @@ public:
|
||||
wxNotebookPage *win,
|
||||
const wxString& strText,
|
||||
bool bSelect = false,
|
||||
int imageId = -1 );
|
||||
int imageId = NO_IMAGE );
|
||||
|
||||
protected:
|
||||
};
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Authors: David Elliott, Ryan Norton
|
||||
// Modified by:
|
||||
// Created: 2004-10-02
|
||||
// RCS-ID: $Id: sound.h 67254 2011-03-20 00:14:35Z DS $
|
||||
// RCS-ID: $Id: sound.h 69178 2011-09-21 15:08:02Z VZ $
|
||||
// Copyright: (c) 2004 David Elliott, Ryan Norton
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
@ -25,7 +25,7 @@ public:
|
||||
wxSound(const wxString& fileName, bool isResource = false)
|
||||
: m_cocoaNSSound(NULL)
|
||||
{ Create(fileName, isResource); }
|
||||
wxSound(int size, const wxByte* data)
|
||||
wxSound(size_t size, const void* data)
|
||||
: m_cocoaNSSound(NULL)
|
||||
{ LoadWAV(data,size,true); }
|
||||
wxSound(const wxSound& sound); // why not?
|
||||
@ -43,7 +43,7 @@ public:
|
||||
{ return m_cocoaNSSound; }
|
||||
protected:
|
||||
bool DoPlay(unsigned flags) const;
|
||||
bool LoadWAV(const wxUint8 *data, size_t length, bool copyData);
|
||||
bool LoadWAV(const void* data, size_t length, bool copyData);
|
||||
private:
|
||||
WX_NSSound m_cocoaNSSound;
|
||||
static const wxObjcAutoRefFromAlloc<struct objc_object *> sm_cocoaDelegate;
|
||||
|
Reference in New Issue
Block a user