Added wxDC:DrawPolygone
Corrected wxBitmap::SetLabel Added wxASSERT here and there wxDropSource:DoDrop() now returns Cancel when supposed to git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -93,6 +93,7 @@ wxColour::wxColour( const wxString &colourName )
|
||||
m_refData = new wxColourRefData();
|
||||
if (!gdk_color_parse( colourName, &M_COLDATA->m_color ))
|
||||
{
|
||||
wxFAIL_MSG( "wxColour: couldn't find colour" );
|
||||
delete m_refData;
|
||||
m_refData = NULL;
|
||||
};
|
||||
@@ -134,6 +135,7 @@ wxColour& wxColour::operator = ( const wxString& colourName )
|
||||
m_refData = new wxColourRefData();
|
||||
if (!gdk_color_parse( colourName, &M_COLDATA->m_color ))
|
||||
{
|
||||
wxFAIL_MSG( "wxColour: couldn't find colour" );
|
||||
delete m_refData;
|
||||
m_refData = NULL;
|
||||
};
|
||||
|
Reference in New Issue
Block a user