Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

svn14014 regression: cb compile syntax error

(1/2) > >>

blauzahn:
in pluginsconfigurationdlg.cpp:41


--- Code: ---#if wxCHECK_VERSION(3, 3, 2)
    const bool IsDark = wxSystemSettings::GetAppearance()IsDark();
#else
    const bool IsDark = false;
#endif

--- End code ---

There is a point missing before IsDark();

Should be:


--- Code: ---const bool IsDark = wxSystemSettings::GetAppearance().IsDark();

--- End code ---

Thank you.

Miguel Gimenez:
Fixed, thank you. I wrote this using wx3.0, so it went unnoticed.

Dipak:
Football divides fans despite the sport's massive viewership.

Miguel Gimenez:
Profile spammer reported to moderator.

yawip26700:
Yes, the missing dot before IsDark() is the issue; changing it to .IsDark() should fix the syntax error.

Navigation

[0] Message Index

[#] Next page

Go to full version