]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/radiobut.cpp
first stab at supporting custom renderers
[wxWidgets.git] / src / univ / radiobut.cpp
index cf209a43979e6a199ea81c5836c4507ec0e1f0f9..d047af7f97dc8c714fd657d254ffcf006976a62b 100644 (file)
@@ -148,7 +148,7 @@ void wxRadioButton::SendEvent()
 wxSize wxRadioButton::GetBitmapSize() const
 {
     wxBitmap bmp = GetBitmap(State_Normal, Status_Checked);
-    return bmp.Ok() ? wxSize(bmp.GetWidth(), bmp.GetHeight())
+    return bmp.IsOk() ? wxSize(bmp.GetWidth(), bmp.GetHeight())
                     : GetRenderer()->GetRadioBitmapSize();
 }