]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/radiobut.cpp
Fix history in wxWebViewIE when using a custom file scheme.
[wxWidgets.git] / src / univ / radiobut.cpp
index 41958ea77957f440bcc332b6fb0e59d1b2caa737..d047af7f97dc8c714fd657d254ffcf006976a62b 100644 (file)
@@ -41,8 +41,6 @@
 // implementation
 // ============================================================================
 
-IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
-
 // ----------------------------------------------------------------------------
 // wxRadioButton
 // ----------------------------------------------------------------------------
@@ -150,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();
 }