]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/colour.cpp
Save the last key event so EVT_CHAR events can filled in with extra
[wxWidgets.git] / src / x11 / colour.cpp
index 9ce03f2d5b94e88f5c6d649bcfb951a08597c61c..a9c177d209bba30e9ef2623ecec701b03c4f9f02 100644 (file)
@@ -232,7 +232,6 @@ void wxColour::Set( unsigned char red, unsigned char green, unsigned char blue )
 {
     AllocExclusive();
 
-    m_refData = new wxColourRefData();
 #if wxUSE_NANOX
     M_COLDATA->m_color.red = ((unsigned short)red) ;
     M_COLDATA->m_color.green = ((unsigned short)green) ;