]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/propgrid/tests.cpp
Fix wxHash{Set,Map} compilation with g++ 4.7 in C++11 mode.
[wxWidgets.git] / samples / propgrid / tests.cpp
index d6fe0d2fd1da2883c587539b1904dfaa9ea7c7a0..d432334cb5b832d7dbce2cc5f05d29f0a6ffc48d 100644 (file)
@@ -88,12 +88,14 @@ public:
         return wxColour();
     }
 
-    virtual wxString ColourToString( const wxColour& col, int index ) const
+    virtual wxString ColourToString( const wxColour& col,
+                                     int index,
+                                     int argFlags = 0 ) const
     {
         if ( index == (int)(m_choices.GetCount()-1) )
             return wxT("");
 
-        return wxColourProperty::ColourToString(col, index);
+        return wxColourProperty::ColourToString(col, index, argFlags);
     }
 
     virtual int GetCustomColourIndex() const