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