]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/text/text.cpp
Use wxAnyButton's DoGetBestSize for toggle buttons
[wxWidgets.git] / samples / text / text.cpp
index 6de65763706c7ed9f5080c3d3dc705a14429e774..624770bc0ebf3b03636fa769e28979aac2230f6e 100644 (file)
@@ -1848,7 +1848,7 @@ void RichTextFrame::OnIdle(wxIdleEvent& WXUNUSED(event))
         {
             wxString msg;
             wxString facename(wxT("unknown"));
-            if (attr.GetFont().Ok())
+            if (attr.GetFont().IsOk())
             {
                 facename = attr.GetFont().GetFaceName();
             }