X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cac7ac30cb21a3108a3c1de58e7de15ad01ed1cf..a733492856e139253ef8e912b6a5c23d1a12cf57:/src/gtk/gnome/gprint.cpp diff --git a/src/gtk/gnome/gprint.cpp b/src/gtk/gnome/gprint.cpp index f176b7b27a..4421ce7185 100644 --- a/src/gtk/gnome/gprint.cpp +++ b/src/gtk/gnome/gprint.cpp @@ -896,7 +896,7 @@ void wxGnomePrintDC::DoDrawRotatedText(const wxString& text, wxCoord x, wxCoord double bluePS = (double)(blue) / 255.0; double greenPS = (double)(green) / 255.0; - gnome_print_setrgbcolor( m_gpc, redPS, bluePS, greenPS ); + gnome_print_setrgbcolor( m_gpc, redPS, greenPS, bluePS ); m_currentRed = red; m_currentBlue = blue; @@ -1041,7 +1041,7 @@ void wxGnomePrintDC::SetPen( const wxPen& pen ) double bluePS = (double)(blue) / 255.0; double greenPS = (double)(green) / 255.0; - gnome_print_setrgbcolor( m_gpc, redPS, bluePS, greenPS ); + gnome_print_setrgbcolor( m_gpc, redPS, greenPS, bluePS ); m_currentRed = red; m_currentBlue = blue; @@ -1080,7 +1080,7 @@ void wxGnomePrintDC::SetBrush( const wxBrush& brush ) double bluePS = (double)(blue) / 255.0; double greenPS = (double)(green) / 255.0; - gnome_print_setrgbcolor( m_gpc, redPS, bluePS, greenPS ); + gnome_print_setrgbcolor( m_gpc, redPS, greenPS, bluePS ); m_currentRed = red; m_currentBlue = blue;