X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b9faf4c54ca224459491845be8af3edddd7e00e..4979a56c780fceaa115d055d3c09f5980531c5d3:/src/gtk/colour.cpp diff --git a/src/gtk/colour.cpp b/src/gtk/colour.cpp index ebb55bb7b0..a39f2af429 100644 --- a/src/gtk/colour.cpp +++ b/src/gtk/colour.cpp @@ -15,8 +15,8 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#include "wx/gdicmn.h" #include "wx/colour.h" +#include "wx/gdicmn.h" #include "wx/gtk/private.h" #include @@ -110,7 +110,7 @@ void wxColourRefData::FreeColour() colMapAllocCounter[ idx ] = colMapAllocCounter[ idx ] - 1; if (colMapAllocCounter[ idx ] == 0) - gdk_colormap_free_colors( m_colormap, &m_color, 1 ); + gdk_colormap_free_colors( m_colormap, &m_color, 1 ); } } } @@ -124,7 +124,7 @@ void wxColourRefData::AllocColour( GdkColormap *cmap ) #ifdef __WXGTK20__ if ( (cmap->visual->type == GDK_VISUAL_GRAYSCALE) || - (cmap->visual->type == GDK_VISUAL_PSEUDO_COLOR) ) + (cmap->visual->type == GDK_VISUAL_PSEUDO_COLOR) ) #else GdkColormapPrivate *private_colormap = (GdkColormapPrivate*) cmap; if ((private_colormap->visual->type == GDK_VISUAL_GRAYSCALE) || @@ -284,5 +284,3 @@ GdkColor *wxColour::GetColor() const return &M_COLDATA->m_color; } - -