if ( style != wxSOLID && style != wxTRANSPARENT )
{
wxFAIL_MSG( wxT("only wxSOLID and wxTRANSPARENT styles are supported") );
if ( style != wxSOLID && style != wxTRANSPARENT )
{
wxFAIL_MSG( wxT("only wxSOLID and wxTRANSPARENT styles are supported") );