https://bugs.winehq.org/show_bug.cgi?id=44680
Bug ID: 44680 Summary: Support for DTM_GETIDEALSIZE not implemented Product: Wine Version: 3.0 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comctl32 Assignee: wine-bugs@winehq.org Reporter: vz-wine@zeitlins.org Distribution: ---
When "Windows Version" is set to "Vista" or later, date picker controls in programs written using wxWidgets disappear because wxWidgets assumes that DTM_GETIDEALSIZE is available in these Windows versions (see https://github.com/wxWidgets/wxWidgets/blob/v3.1.1/src/msw/datetimectrl.cpp#...), but it isn't in Wine, so we just get "err:datetime:DATETIME_WindowProc unknown msg 100f" on the console and the control is created with 0 size.
We could work around this in wx but, ideally, Wine should handle this message. Even returning some hard coded size from it would be better than not handling it at all.