pub fn SelectStockPen(&self, nPen: c_uint)->HPEN {
		self.assert_dc();
//#if (_WIN32_WINNT >= 0x0500)
		debug_assert!(nPen == WHITE_PEN || nPen == BLACK_PEN || nPen == NULL_PEN || nPen == DC_PEN);
//#else
//		debug_assert!(nPen == WHITE_PEN || nPen == BLACK_PEN || nPen == NULL_PEN);
//#endif // !(_WIN32_WINNT >= 0x0500)
		unsafe{
			self.SelectPen(um::wingdi::GetStockObject(nPen as c_int) as HPEN)
		}
	}
// Type-safe selection helpers for stock objects

Type-safe selection helpers for stock objects
Type - safe selection helpers for stock objects
pub fn SelectStockPen(&self, nPen: c_uint)->HPEN {
		self.assert_dc();
//#if (_WIN32_WINNT >= 0x0500)
		debug_assert!(nPen == WHITE_PEN || nPen == BLACK_PEN || nPen == NULL_PEN || nPen == DC_PEN);
//#else
//		debug_assert!(nPen == WHITE_PEN || nPen == BLACK_PEN || nPen == NULL_PEN);
//#endif // !(_WIN32_WINNT >= 0x0500)
		unsafe{
			self.SelectPen(um::wingdi::GetStockObject(nPen as c_int) as HPEN)
		}
	}
pub fn SelectStockPen ( & self , nPen : c_uint ) -> HPEN { self . assert_dc ( ) ; //#if (_WIN32_WINNT >= 0x0500)
 debug_assert ! ( nPen WHITE_PEN nPen BLACK_PEN nPen NULL_PEN nPen DC_PEN ) ; //#else
 //		debug_assert!(nPen == WHITE_PEN || nPen == BLACK_PEN || nPen == NULL_PEN);
 //#endif // !(_WIN32_WINNT >= 0x0500)
 unsafe { self . SelectPen ( um :: wingdi :: GetStockObject ( nPen as c_int ) as HPEN ) } }
Type-safe selection helpers for stock objects
Type - safe selection helpers for stock objects
&self
nPen
c_uint
&self
nPen
c_uint