From c6d4b3ce9d62634e0db7957df951e5df28b575e1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 17 Aug 2010 15:13:14 +0000 Subject: [PATCH] Export wxMSWButton::GetFittingSize() private function. It is now used by wxCommandLinkButton from adv library and so needs to be exported from core. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/private/button.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/msw/private/button.h b/include/wx/msw/private/button.h index 03be993bc0..fbd0d55f36 100644 --- a/include/wx/msw/private/button.h +++ b/include/wx/msw/private/button.h @@ -57,7 +57,8 @@ wxSize ComputeBestSize(wxControl *btn, int flags = 0); // compute the button size (as if wxBU_EXACTFIT were specified, i.e. without // adjusting it to be of default size if it's smaller) for the given label size -wxSize GetFittingSize(wxWindow *win, const wxSize& sizeLabel, int flags = 0); +WXDLLIMPEXP_CORE wxSize +GetFittingSize(wxWindow *win, const wxSize& sizeLabel, int flags = 0); } // namespace wxMSWButton