]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/glcanvas.cpp
Added wxPGProperty::OnValidationFailure(); needed it and some other tweaks to allow...
[wxWidgets.git] / src / x11 / glcanvas.cpp
index acc31346dd9f7366e7bab730f861c357581f291d..2689a7af088c06b9cdc6329b197d50dba16747c6 100644 (file)
@@ -84,7 +84,7 @@ Window wxGLCanvas::GetXWindow() const
 
 int wxGLCanvas::GetColourIndex(const wxColour& col_)
 {
-    wxColour& col = wx_const_cast(wxColour&, col_);
+    wxColour& col = const_cast<wxColour&>(col_);
 
 #ifdef __WXMOTIF__
     col.AllocColour(GetXDisplay());