]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/hyperlink.cpp
Remove apparently erroneous -1 from DrawBitmap() in wxMSW wxGC code.
[wxWidgets.git] / src / gtk / hyperlink.cpp
index 84d6f0dd6d67013ad5931c91cdfae77a6fe99ec3..21610311c50dea1c813a723aba8973d8e45dc757 100644 (file)
@@ -123,6 +123,13 @@ wxSize wxHyperlinkCtrl::DoGetBestSize() const
     return wxGenericHyperlinkCtrl::DoGetBestSize();
 }
 
+wxSize wxHyperlinkCtrl::DoGetBestClientSize() const
+{
+    if ( UseNative() )
+        return wxControl::DoGetBestClientSize();
+    return wxGenericHyperlinkCtrl::DoGetBestClientSize();
+}
+
 void wxHyperlinkCtrl::SetLabel(const wxString &label)
 {
     if ( UseNative() )