X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4a81a2e96b5a349ee9430b91d36e7e8a21d7976..9b7e522ae97eb3d62bfb9ce6f527f1368c576e93:/src/msw/brush.cpp diff --git a/src/msw/brush.cpp b/src/msw/brush.cpp index 4a46f5c0b4..486caf5827 100644 --- a/src/msw/brush.cpp +++ b/src/msw/brush.cpp @@ -168,7 +168,7 @@ WXHANDLE wxBrush::GetResourceHandle(void) return (WXHANDLE) M_BRUSHDATA->m_hBrush; } -bool wxBrush::FreeResource(bool force) +bool wxBrush::FreeResource(bool WXUNUSED(force)) { if (M_BRUSHDATA && (M_BRUSHDATA->m_hBrush != 0)) { @@ -179,7 +179,7 @@ bool wxBrush::FreeResource(bool force) else return FALSE; } -bool wxBrush::IsFree(void) +bool wxBrush::IsFree() const { return (M_BRUSHDATA && (M_BRUSHDATA->m_hBrush == 0)); }