wxADJUST_MINSIZE in wx 3.1.3 (GIT master) error under Windows

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
User avatar
rocrail
I live to help wx-kind
I live to help wx-kind
Posts: 174
Joined: Fri Oct 02, 2009 2:02 pm
Contact:

wxADJUST_MINSIZE in wx 3.1.3 (GIT master) error under Windows

Post by rocrail » Mon May 13, 2019 2:42 pm

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?
Best regards,
Rob.

Kvaz1r
Earned some good credits
Earned some good credits
Posts: 120
Joined: Tue Jun 07, 2016 1:07 pm

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

Post by Kvaz1r » Mon May 13, 2019 2:53 pm

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.

Post Reply