]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private/button.h
another wxUSE_DRAG_AND_DROP==0 compilation fix
[wxWidgets.git] / include / wx / msw / private / button.h
index c50aa5a311b4f98eb0867b3422606e4dc671e589..f279c3e08919b59e97ade22ca251fdabf339c5fb 100644 (file)
@@ -49,6 +49,10 @@ void UpdateMultilineStyle(HWND hwnd, const wxString& label);
 // (implemented in src/msw/button.cpp)
 wxSize ComputeBestSize(wxControl *btn);
 
+// 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);
+
 } // namespace wxMSWButton
 
 #endif // _WX_MSW_PRIVATE_BUTTON_H_