X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/07505825dbad2bb0a8ddefd2a1697daaa83a0dde..118322a3dfcc1803bd13df8193ea1be9ae39e653:/src/msw/pen.cpp diff --git a/src/msw/pen.cpp b/src/msw/pen.cpp index e79ddf7de7..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(); @@ -219,7 +219,7 @@ bool wxPen::RealizeResource() default: logb.lbStyle = BS_SOLID; #ifdef __WXDEBUG__ - // this should be unnecessary (it's unused) but suppresses the Purigy + // this should be unnecessary (it's unused) but suppresses the Purify // messages about uninitialized memory read logb.lbHatch = 0; #endif @@ -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