]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/utilscmn.cpp
Correct the drawing of check tools with a drop down button in wxAuiToolBar.
[wxWidgets.git] / src / common / utilscmn.cpp
index 15908b65e78968a2d8ad40aa26bd9783006d98ad..6e9a224e9d5a0e74c3b25976a35a091449ea8e81 100644 (file)
@@ -1536,7 +1536,7 @@ wxColour wxGetColourFromUser(wxWindow *parent,
 wxFont wxGetFontFromUser(wxWindow *parent, const wxFont& fontInit, const wxString& caption)
 {
     wxFontData data;
 wxFont wxGetFontFromUser(wxWindow *parent, const wxFont& fontInit, const wxString& caption)
 {
     wxFontData data;
-    if ( fontInit.Ok() )
+    if ( fontInit.IsOk() )
     {
         data.SetInitialFont(fontInit);
     }
     {
         data.SetInitialFont(fontInit);
     }