]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/pen.h
add support for sorting to grid columns
[wxWidgets.git] / include / wx / pen.h
index ec705d9e40cbcb93036d424f3201e2d828354289..479a9668ea0bb7edd2ed4bba52d35859128da80d 100644 (file)
@@ -137,7 +137,7 @@ extern WXDLLIMPEXP_DATA_CORE(wxPenList*)   wxThePenList;
 
 inline bool operator==(wxPenStyle s, wxDeprecatedGUIConstants t)
 {
-    return wx_static_cast(int, s) == wx_static_cast(int, t);
+    return static_cast<int>(s) == static_cast<int>(t);
 }
 
 inline bool operator!=(wxPenStyle s, wxDeprecatedGUIConstants t)