]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/controls/controls.cpp
adding missing header for non-precomp build
[wxWidgets.git] / samples / controls / controls.cpp
index 1902bdf531d1f24a4db19e8aa39b2fdfe6c4ae6b..ab41f78dc8583106335743b39360bdb5f584c186 100644 (file)
@@ -1315,7 +1315,7 @@ void MyPanel::OnListBoxButtons( wxCommandEvent &event )
 
 static wxString GetDataString(wxClientData *data)
 {
-    return data ? wx_static_cast(wxStringClientData *, data)->GetData()
+    return data ? static_cast<wxStringClientData *>(data)->GetData()
                 : wxString("none");
 }