Page 1 of 1

wxADJUST_MINSIZE in wx 3.1.3 (GIT master) error under Windows

Posted: Mon May 13, 2019 2:42 pm
by rocrail
Hi,

I use the wxWidgets GIT master sources on both macOS and Windows 10.
Compiling the same application under macOS and Windows 10 will end up under Windows 10 with an error that wxADJUST_MINSIZE is undefined.
OK, but why only under Windows and not un der macOS.

Is wxADJUST_MINSIZE obsolete? Should I remove this option from many dialogs?

Re: wxADJUST_MINSIZE in wx 3.1.3 (GIT master) error under Windows

Posted: Mon May 13, 2019 2:53 pm
by Kvaz1r
I don't know why it build under macOS, but the macros is obsolete. From source code:

wxADJUST_MINSIZE doesn't do anything any more but we still define
it for compatibility. Notice that it may be also predefined (as 0,
hopefully) in the user code in order to use it even in
!WXWIN_COMPATIBILITY_2_8 builds so don't redefine it in such case.