X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c105dda0810d927d8531e4949ada0b407a1cbebd..3d777efedc1e05bd6c2a7c34a00a65895b62bb13:/include/wx/gtk/hyperlink.h diff --git a/include/wx/gtk/hyperlink.h b/include/wx/gtk/hyperlink.h index 91308f9153..0b6ce6bf9a 100644 --- a/include/wx/gtk/hyperlink.h +++ b/include/wx/gtk/hyperlink.h @@ -4,13 +4,12 @@ // Author: Francesco Montorsi // Modified by: // Created: 14/2/2007 -// RCS-ID: $Id$ // Copyright: (c) 2007 Francesco Montorsi // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __GTKHYPERLINKCTRLH__ -#define __GTKHYPERLINKCTRLH__ +#ifndef _WX_GTKHYPERLINKCTRL_H_ +#define _WX_GTKHYPERLINKCTRL_H_ #include "wx/generic/hyperlink.h" @@ -62,16 +61,12 @@ public: virtual void SetLabel(const wxString &label); protected: - // overridden base class virtuals - - // Returns the best size for the window, which is the size needed - // to display the text label. virtual wxSize DoGetBestSize() const; + virtual wxSize DoGetBestClientSize() const; virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const; -private: DECLARE_DYNAMIC_CLASS(wxHyperlinkCtrl) }; -#endif // __GTKHYPERLINKCTRLH__ +#endif // _WX_GTKHYPERLINKCTRL_H_