Added more wxRegion tests to erase sample.
Implemented "clear now, paint later". Corrected colour-by-name lookup. Corrected DrawRectangle code which produced redraw garbage under wxX11. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -158,6 +158,7 @@ void wxColour::InitFromName( const wxString &colourName )
|
||||
else
|
||||
{
|
||||
m_refData = new wxColourRefData();
|
||||
|
||||
if (!gdk_color_parse( colourName.mb_str(), &M_COLDATA->m_color ))
|
||||
{
|
||||
// VZ: asserts are good in general but this one is triggered by
|
||||
|
Reference in New Issue
Block a user