]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/graphics.h
Fix emulator compilation with wxX11 after GetMainWindow() renaming.
[wxWidgets.git] / include / wx / graphics.h
index f2edd54ca30b25d0b6eb5c49c0ecc418431715db..87669dfc7a4036f0aa8beeb79064d508208bc2ff 100644 (file)
@@ -309,7 +309,8 @@ extern WXDLLIMPEXP_DATA_CORE(wxGraphicsPath) wxNullGraphicsPath;
 class wxGraphicsGradientStop
 {
 public:
-    wxGraphicsGradientStop(wxColour col, float pos)
+    wxGraphicsGradientStop(wxColour col = wxTransparentColour,
+                           float pos = 0.)
         : m_col(col),
           m_pos(pos)
     {