wxOSX compilation fix after the last commit.
Add the missing wx/time.h header required for using wxGetLocalTimeMillis(). Also add WXUNUSED() around the unused parameters of DrawGauge(). See #16406. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -31,6 +31,7 @@
|
|||||||
#include "wx/graphics.h"
|
#include "wx/graphics.h"
|
||||||
#include "wx/dcgraph.h"
|
#include "wx/dcgraph.h"
|
||||||
#include "wx/splitter.h"
|
#include "wx/splitter.h"
|
||||||
|
#include "wx/time.h"
|
||||||
#include "wx/osx/private.h"
|
#include "wx/osx/private.h"
|
||||||
|
|
||||||
#ifdef wxHAS_DRAW_TITLE_BAR_BITMAP
|
#ifdef wxHAS_DRAW_TITLE_BAR_BITMAP
|
||||||
@@ -870,12 +871,12 @@ void wxRendererMac::DrawTitleBarBitmap(wxWindow *win,
|
|||||||
|
|
||||||
#endif // wxHAS_DRAW_TITLE_BAR_BITMAP
|
#endif // wxHAS_DRAW_TITLE_BAR_BITMAP
|
||||||
|
|
||||||
void wxRendererMac::DrawGauge(wxWindow* win,
|
void wxRendererMac::DrawGauge(wxWindow* WXUNUSED(win),
|
||||||
wxDC& dc,
|
wxDC& dc,
|
||||||
const wxRect& rect,
|
const wxRect& rect,
|
||||||
int value,
|
int value,
|
||||||
int max,
|
int max,
|
||||||
int flags)
|
int WXUNUSED(flags))
|
||||||
{
|
{
|
||||||
const wxCoord x = rect.x;
|
const wxCoord x = rect.x;
|
||||||
const wxCoord y = rect.y;
|
const wxCoord y = rect.y;
|
||||||
|
Reference in New Issue
Block a user