]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/colour.cpp
Since wxREADONLY has disappeared, I had to change to wxTE_READONLY
[wxWidgets.git] / src / gtk1 / colour.cpp
index b0efc2dcc218dc362d095a9bafea47659c5a773c..90bd8e158a443b4182f2849ed137774233a2ca2d 100644 (file)
@@ -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;
     };