X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/87b6002d7c48dea4ebd53bbf60996d1a87a0a5c6..143318ddbb005602b600216cca621439b771f889:/src/msw/pen.cpp diff --git a/src/msw/pen.cpp b/src/msw/pen.cpp index 7f1103f09b..618860ecdb 100644 --- a/src/msw/pen.cpp +++ b/src/msw/pen.cpp @@ -141,7 +141,7 @@ bool wxPen::RealizeResource() if (M_PENDATA->m_style==wxTRANSPARENT) { M_PENDATA->m_hPen = (WXHPEN) ::GetStockObject(NULL_PEN); - return TRUE; + return true; } COLORREF ms_colour = M_PENDATA->m_colour.GetPixel(); @@ -274,9 +274,9 @@ bool wxPen::RealizeResource() if (M_PENDATA->m_hPen==0) wxError("Cannot create pen","Internal error") ; #endif - return TRUE; + return true; } - return FALSE; + return false; } WXHANDLE wxPen::GetResourceHandle() const @@ -293,9 +293,9 @@ bool wxPen::FreeResource(bool WXUNUSED(force)) { DeleteObject((HPEN) M_PENDATA->m_hPen); M_PENDATA->m_hPen = 0; - return TRUE; + return true; } - else return FALSE; + else return false; } bool wxPen::IsFree() const