Hi Arjen
Doing a git blame on GitHub indicates that the relevant constructor
line was last edited 10 years ago, which seems strange. However that
is probably the header used when building the library rather than put
in the include directory for use by external programs. Maybe the two
are not the same :-s.

If you are building with Visual studio, then you can find an example
of wxSize being used and right click it, then go to
definition/declaration. This should take you to the actual header file
being parsed and you can check it is the one you expect (hover over
the filename tab to show the full path or right click the tab and hit
open containing folder) and you can check the constructor is inlined.

Phil

On 10 July 2017 at 11:10, Arjen Markus <arjen.mar...@deltares.nl> wrote:
> Hi Phil,
>
>
>
> I am using MSVC and nmake to compile this under bare Windows. I remember
> seeing some confusion over what installation CMake came up with exactly, but
> I do not recall the details. That may have been with the MinGW experiments.
>
>
>
> I will have to check this – tonight if possible.
>
>
>
> Regards,
>
>
>
> Arjen
>
>
>
>> -----Original Message-----
>> From: Phil Rosenberg [mailto:p.d.rosenb...@gmail.com]
>
>> Sent: Monday, July 10, 2017 12:04 PM
>> To: Arjen Markus
>> Subject: Re: The wxwidgets version you use for MSVC
>>
>> Ah, so you do have the inlined function definition. In that case I am
>> confused.
>>
>> Is there any possibility that you have more than one set of wxWidgets
>> headers
>> installed, the one you are looking at and a latest dev version?
>>
>> What are you using to compile are you using visual studio or minGW?
>>
>> Phil
>>
>> On 10 July 2017 at 10:52, Arjen Markus <arjen.mar...@deltares.nl> wrote:
>> > Hi Phil,
>> >
>> >
>> >
>> >> -----Original Message-----
>> >> From: Phil Rosenberg [mailto:p.d.rosenb...@gmail.com]
>> >> Sent: Monday, July 10, 2017 11:49 AM
>> >> To: Arjen Markus; plplot-devel@lists.sourceforge.net
>> >> Cc: Alan W. Irwin
>> >> Subject: Re: The wxwidgets version you use for MSVC
>> >>
>> >> Hi Arjen
>> >> That looks like the class you are looking for. Those comments
>> >> shouldn't be important. They just mean that you can access x and y
>> >> exactly like in a C struct, for example wxSize mySize; mySize.x=4;.
>> >> But the comment says please don't do this.
>> >>
>> >
>> > Right, I misread that as meaning the data AND the method members, but
>> > it only refers to the data members.
>> >
>> >> Further down in that class is there a constructor? it will look
>> >> something like wxSize( int w, int h). It looks like a function
>> >> declaration, but with no return type. The variable names may be
>> >> different too - probably some variation on width and height or x and
>> >> y.
>> >>
>> > There are two in fact:
>> >
>> >     // constructors
>> >
>> >     wxSize() : x(0), y(0) { }
>> >
>> >     wxSize(int xx, int yy) : x(xx), y(yy) { }
>> >
>> > Regards,
>> >
>> > Arjen
>> >
>> > DISCLAIMER: This message is intended exclusively for the addressee(s)
>> > and may contain confidential and privileged information. If you are
>> > not the intended recipient please notify the sender immediately and
>> > destroy this message. Unauthorized use, disclosure or copying of this
>> > message is strictly prohibited. The foundation 'Stichting Deltares',
>> > which has its seat at Delft, The Netherlands, Commercial Registration
>> > Number 41146461, is not liable in any way whatsoever for consequences
>> > and/or damages resulting from the improper, incomplete and untimely
>> > dispatch, receipt and/or content of this e-mail.
>
> DISCLAIMER: This message is intended exclusively for the addressee(s) and
> may contain confidential and privileged information. If you are not the
> intended recipient please notify the sender immediately and destroy this
> message. Unauthorized use, disclosure or copying of this message is strictly
> prohibited. The foundation 'Stichting Deltares', which has its seat at
> Delft, The Netherlands, Commercial Registration Number 41146461, is not
> liable in any way whatsoever for consequences and/or damages resulting from
> the improper, incomplete and untimely dispatch, receipt and/or content of
> this e-mail.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to